/* ==========================================================================
   Д-р Динко Господинов — кардиолог
   Дизайн система в духа на съвременните български медицински центрове:
   тъмносини секции, светлосиви междинни блокове, бели карти с мека сянка.
   Акцентният цвят е червеното от ЕКГ линията на практиката.
   ========================================================================== */

:root {
    /* тъмносиньо — от най-светлото към най-тъмното */
    --navy-600: #35547f;
    --navy-700: #2a4670;
    --navy-800: #1d3357;
    --navy-900: #12233d;
    --navy-950: #0a1626;

    --blue-600: #2563ae;
    --blue-500: #2e7fd4;
    --blue-200: #b9cfe9;
    --blue-100: #e6eef8;

    --red-600: #c81a20;
    --red-500: #e1252b;
    --red-100: #fdeaea;

    --ink:    #14243d;   /* заглавия */
    --body:   #4a5a72;   /* основен текст */
    --muted:  #6b7c94;
    --gray-50: #f1f3f6;  /* фон на светлите секции */
    --line:   #e2e7ee;
    --white:  #ffffff;

    /* Заглавията са серифни, интерфейсът и текстът — гротеск. */
    --font-display: 'PT Serif', Georgia, 'Times New Roman', serif;
    --font-ui: 'Wix Madefor Display', 'Wix Madefor Text', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Wix Madefor Text', 'Segoe UI', system-ui, sans-serif;

    /* светлият hero и лентата под него */
    --hero-light: linear-gradient(180deg, #ffffff 0%, #f7fbff 60%, #eef6fd 100%);
    --band-blue: #e4f1fc;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --shadow-card: 0 8px 26px rgba(39, 57, 90, .06);
    --shadow: 0 14px 40px rgba(39, 57, 90, .10);
    --shadow-lg: 0 28px 70px rgba(10, 22, 38, .22);

    --container: 1240px;
    --header-h: 78px;

    --hero-bg:
        radial-gradient(760px 500px at 10% 16%, rgba(133, 172, 227, .30), rgba(0, 0, 0, 0) 68%),
        radial-gradient(620px 480px at 74% 78%, rgba(96, 128, 178, .16), rgba(0, 0, 0, 0) 66%),
        linear-gradient(97deg, #35547f 0%, #2a4670 22%, #1d3357 50%, #12233d 76%, #0a1626 100%);
}

/* --------------------------------------------------------------- основи -- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.16;
    letter-spacing: -.012em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.022em;
}
h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); font-weight: 400; }
h2 strong, h1 strong { font-weight: 700; }
h3 { font-size: clamp(1.12rem, 1.55vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }

a { color: var(--navy-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--red-500); }

p { margin-bottom: 1rem; }

.container-x {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: clamp(3.5rem, 6vw, 5.4rem) 0; }
.section--soft {
    position: relative;
    background: var(--gray-50);
}

/* Сърцето с ЕКГ линията е воден знак вдясно в светлите секции.
   Маската го стопява наляво, за да не пречи на текста. */
.section--soft::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/heart-bg.jpg') right center / cover no-repeat;
    opacity: .72;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .25) 38%, #000 78%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .25) 38%, #000 78%);
}

/* Съдържанието стои над водния знак. */
.section--soft > * { position: relative; z-index: 1; }

/* тъмна секция със същия градиент като hero-а */
.section--dark {
    position: relative;
    background: var(--hero-bg);
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark a { color: #fff; }

/* декоративен ЕКГ воден знак в тъмните секции */
.section__watermark {
    position: absolute;
    top: -30px;
    right: -60px;
    width: min(560px, 55%);
    opacity: .1;
    pointer-events: none;
}
.section__watermark path { fill: none; stroke: #fff; stroke-width: 2.2; }

/* ------------------------------------------------------ заглавия на блок -- */

.eyebrow {
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--navy-600);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.section--dark .eyebrow { color: var(--blue-200); }

/* В светлия hero тирето е червено, а текстът — тъмносин. */
.hero .eyebrow { color: var(--navy-800); }
.hero .eyebrow::before { background: var(--red-500); opacity: 1; height: 2px; width: 32px; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, .72); }

.head-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
.head-row .section-head { margin-bottom: 0; }

/* --------------------------------------------------------------- бутони -- */

.btn {
    --bs-btn-font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 999px;
    padding: .72rem 1.4rem;
    border: 1px solid transparent;
    letter-spacing: -.005em;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--red-500);
    border-color: var(--red-500);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--red-600); border-color: var(--red-600); color: #fff; }

.btn-navy { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.btn-outline-navy { border-color: rgba(20, 36, 61, .22); color: var(--ink); background: transparent; }
.btn-outline-navy:hover,
.btn-outline-navy:focus-visible { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }

.btn-ghost-light { border-color: rgba(255, 255, 255, .34); color: #fff; background: transparent; }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-soft { background: var(--gray-50); border-color: var(--gray-50); color: var(--ink); }
.btn-soft:hover, .btn-soft:focus-visible { background: var(--blue-100); border-color: var(--blue-100); color: var(--navy-800); }

.btn-lg { padding: .92rem 1.7rem; font-size: 1rem; }

/* ----------------------------------------------------------------- лого -- */

.brand { display: inline-flex; align-items: center; gap: .7rem; line-height: 1.1; }
.brand__mark { flex: 0 0 auto; width: 44px; height: 40px; }
.brand__name {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: .98rem;
    letter-spacing: .005em;
    color: var(--ink);
    text-transform: uppercase;
    white-space: nowrap;
}
.brand__role {
    display: block;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .32em;
    color: var(--navy-600);
    margin-top: .18rem;
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__role { color: var(--blue-200); }

/* ---------------------------------------------------------------- хедър -- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--navy-800);
    transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(10, 22, 38, .22); }

/* Логото и името върху тъмния фон. */
.site-header .brand__name { color: #fff; }
.site-header .brand__role { color: var(--blue-200); }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.nav-main {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin: 0 auto 0 1.5rem;
    padding: 0;
    list-style: none;
}
.nav-main a {
    font-family: var(--font-ui);
    position: relative;
    display: block;
    font-size: .92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
    padding: .5rem .7rem;
    white-space: nowrap;
}
.nav-main a::after {
    content: '';
    position: absolute;
    left: .7rem;
    right: .7rem;
    bottom: .15rem;
    height: 2px;
    background: var(--red-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.nav-main a:hover { color: #fff; }
.nav-main a:hover::after,
.nav-main .is-active a::after { transform: scaleX(1); }
.nav-main .is-active a { font-weight: 700; color: #fff; }

.header-cta { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }

/* --------------------------------------------------- превключвател на език */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    flex: 0 0 auto;
}
.lang-switch__item {
    font-family: var(--font-ui);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .72);
    padding: .32rem .6rem;
    border-radius: 999px;
    line-height: 1;
}
.lang-switch__item:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.lang-switch__item.is-active { background: #fff; color: var(--navy-900); }

/* В мобилното меню фонът е бял, затова цветовете са обърнати. */
.lang-switch--block {
    display: flex;
    width: 100%;
    background: var(--gray-50);
    border-color: var(--line);
}
.lang-switch--block .lang-switch__item {
    flex: 1;
    text-align: center;
    font-size: .9rem;
    padding: .6rem;
    color: var(--ink);
}
.lang-switch--block .lang-switch__item:hover { background: var(--blue-100); color: var(--navy-800); }
.lang-switch--block .lang-switch__item.is-active { background: var(--navy-800); color: #fff; }
/* Без това бутонът се свива и текстът му се пречупва на няколко реда. */
.header-cta .btn { flex: 0 0 auto; white-space: nowrap; }

/* телефонът е „хапче“ — полупрозрачно бяло върху тъмния хедър */
.phone-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    padding: .55rem 1.05rem;
    font-weight: 700;
    font-size: .92rem;
    color: #fff;
    white-space: nowrap;
}
.phone-pill svg { width: 16px; height: 16px; color: var(--blue-200); }
.phone-pill:hover { background: #fff; border-color: #fff; color: var(--navy-900); }
.phone-pill:hover svg { color: var(--red-500); }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    align-items: center;
    justify-content: center;
}
/* Същият бутон в мобилното меню стои на бял фон. */
.mobile-nav .nav-toggle {
    border-color: var(--line);
    background: #fff;
    color: var(--navy-800);
}
.nav-toggle svg { width: 21px; height: 21px; }

/* мобилна навигация */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    background: #fff;
    z-index: 1060;
    padding: 1.5rem 1.5rem 2.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility .28s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-nav__list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
}
.mobile-nav__list a::after { content: '→'; color: var(--navy-600); opacity: .45; }

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 38, .5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------------- hero -- */

.hero {
    position: relative;
    background: var(--hero-light);
    color: var(--body);
    overflow: hidden;
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    min-height: clamp(580px, 82vh, 820px);
    padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(5rem, 9vw, 8rem);
}
.hero__content { max-width: 50%; }

.hero__title {
    color: var(--navy-900);
    margin-bottom: 1rem;
    text-wrap: balance;
}

/* подзаглавието повтаря серифния тон на името */
.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.95rem);
    line-height: 1.32;
    color: var(--navy-800);
    margin-bottom: 1.35rem;
}

/* лентичка „Преглежда и по здравна каса“ */
.hero__ribbon {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: .95rem;
    color: var(--navy-900);
    margin-bottom: .9rem;
}
.hero__ribbon .hero__ribbon-icon {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--navy-800);
    color: #fff;
    display: grid;
    place-items: center;
}
.hero__ribbon svg { width: 17px; height: 17px; }

.hero__lead {
    font-size: 1.02rem;
    color: var(--body);
    max-width: 44ch;
    margin-bottom: 1.8rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.6rem; }

.hero__note {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .95rem;
    color: var(--body);
}
.hero__note svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--red-500); }

/* синята вълна, която отделя hero-а от лентата с бързите връзки */
.hero__wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    z-index: 3;
    width: 100%;
    height: clamp(70px, 9vw, 130px);
    display: block;
    pointer-events: none;
}
.hero__wave .wave-back { fill: #cfe4f6; opacity: .85; }
.hero__wave .wave-mid { fill: var(--navy-800); }
.hero__wave .wave-front { fill: var(--band-blue); }

/* ЕКГ линия под заглавието */
.ecg-line { display: block; width: min(400px, 100%); height: 30px; margin-bottom: 1.5rem; }
.ecg-line path {
    fill: none;
    stroke: var(--red-500);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
    animation: ecg-draw 2.6s ease-out forwards;
}
.hero .ecg-line path { stroke: #ff8a8e; }
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }

/* Снимката е фон на hero секцията — от горния ръб до вълната, закотвена вдясно.
   Портретният кадър се закотвя вдясно, за да не се получава силно приближение. */
.hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: clamp(420px, 49%, 820px);
    z-index: 1;
}

/* Маска вместо бял воал — така няма шев между снимката и фона на секцията. */
.hero__photo__inner {
    position: absolute;
    inset: 0;
    -webkit-mask-image:
        linear-gradient(95deg, transparent 0%, rgba(0, 0, 0, .30) 20%, rgba(0, 0, 0, .85) 42%, #000 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, #000 18%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(95deg, transparent 0%, rgba(0, 0, 0, .30) 20%, rgba(0, 0, 0, .85) 42%, #000 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, #000 18%);
    mask-composite: intersect;
}

.hero__photo__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
    display: block;
}

.hero__photo-badge {
    position: absolute;
    z-index: 2;
    left: 4%;
    bottom: 18%;
    display: flex;
    align-items: center;
    gap: .7rem;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: .6rem 1.15rem .6rem .7rem;
    box-shadow: var(--shadow);
    color: var(--navy-700);
}
.hero__photo-badge span { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.hero__photo-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: .92rem;
    color: var(--ink);
}

/* ------------------------------------------- бърз достъп под hero секцията */

.quick-band {
    background: var(--band-blue);
    padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.quick-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem 1.85rem;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.quick-card__icon {
    flex: 0 0 auto;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--navy-800);
    display: grid;
    place-items: center;
}
.quick-card__icon svg { width: 32px; height: 32px; stroke-width: 1.5; }

.quick-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; }
.quick-card__title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.16rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--navy-900);
    margin-bottom: .2rem;
}
.quick-card__sub { display: block; font-size: .94rem; color: var(--muted); line-height: 1.45; }

.quick-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.1rem;
}
.quick-card__cta { font-family: var(--font-ui); font-size: .95rem; font-weight: 500; color: var(--navy-700); }

.quick-card__arrow { flex: 0 0 auto; color: var(--navy-800); transition: transform .2s ease; }
.quick-card__arrow svg { width: 28px; height: 28px; stroke-width: 1.8; }
.quick-card:hover .quick-card__arrow { transform: translateX(5px); }

/* ------------------------------------------------------- плочки/области -- */

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 1rem;
}

.tile {
    font-family: var(--font-ui);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .85rem;
    text-align: center;
    background: #fff;
    border-radius: var(--radius);
    padding: 1.6rem .9rem 1.4rem;
    box-shadow: var(--shadow-card);
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.4;
    transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--navy-800); }
.tile svg { width: 34px; height: 34px; stroke: var(--navy-700); stroke-width: 1.4; }

/* --------------------------------------------------------- групи услуги -- */

.service-group + .service-group { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

.service-group__title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1.25rem, 1.9vw, 1.55rem);
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.service-group__title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* ---------------------------------------------------------------- карти -- */

.card-x {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    padding: 1.9rem 1.7rem;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card-x:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-x__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--blue-100);
    color: var(--navy-700);
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
}
.card-x__icon svg { width: 28px; height: 28px; stroke: currentColor; }
.card-x:hover .card-x__icon { background: var(--navy-800); color: #fff; }

.card-x h3 { margin-bottom: .55rem; }
.card-x p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

.card-x__link {
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: .9rem;
    color: var(--navy-700);
}
.card-x__link::after { content: '→'; transition: transform .2s ease; }
.card-x:hover .card-x__link::after { transform: translateX(4px); }

/* Bootstrap ползва ::after, за да разпъне връзката върху цялата карта —
   затова там стрелката се подава като отделен елемент, не през ::after. */
.card-x__link.stretched-link::after { content: ''; transform: none; }
.card-x__link .link-arrow { transition: transform .2s ease; }
.card-x:hover .card-x__link .link-arrow { transform: translateX(4px); }

/* тъмни карти с изброяване — в тъмните секции */
.list-card {
    height: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
    backdrop-filter: blur(2px);
}
.list-card__icon {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    margin-bottom: 1rem;
}
.list-card__icon svg { width: 24px; height: 24px; }

.list-card h3 { font-size: 1.05rem; margin-bottom: .9rem; color: #fff; }
.list-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.list-card li {
    font-family: var(--font-ui);
    position: relative;
    padding-left: 1.1rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, .76);
    line-height: 1.55;
}
.list-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--red-500);
}

/* --------------------------------------------------- номериран акордеон -- */

.steps { border-top: 1px solid var(--line); }

.steps__item { border-bottom: 1px solid var(--line); }

.steps__head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 1.35rem .25rem;
    color: var(--ink);
    cursor: pointer;
}
.steps__num {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 700;
    color: var(--red-500);
    letter-spacing: .06em;
    flex: 0 0 auto;
    width: 26px;
}
.steps__title {
    flex: 1;
    font-family: var(--font-ui);
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -.015em;
}
.steps__chevron {
    flex: 0 0 auto;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    transition: transform .22s ease, background-color .22s ease, color .22s ease;
    color: var(--navy-700);
}
.steps__chevron svg { width: 16px; height: 16px; }
.steps__head[aria-expanded="true"] .steps__chevron {
    transform: rotate(180deg);
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}
.steps__head:hover .steps__title { color: var(--navy-700); }

.steps__body { display: none; padding: 0 .25rem 1.5rem 3.5rem; color: var(--muted); max-width: 70ch; }
.steps__body.is-open { display: block; }
.steps__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- за мен -- */

.about__media { position: relative; }
.about__media img {
    width: 100%;
    /* height:auto неутрализира height атрибута на <img>, иначе aspect-ratio се игнорира. */
    height: auto;
    /* Портретът се подрязва, за да не доминира над текста до него. */
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    object-position: 50% 14%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
}

.about__badge {
    position: absolute;
    right: -18px;
    bottom: 28px;
    background: var(--navy-800);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 148px;
}
.about__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.about__badge span { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }

.check-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .8rem; }
.check-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.5rem; }
.check-list li {
    font-family: var(--font-ui); display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check-list li::before {
    content: '';
    flex: 0 0 auto;
    width: 20px; height: 20px;
    margin-top: .2rem;
    border-radius: 50%;
    background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232a4670' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.icon-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .9rem; }
.icon-list li { display: flex; gap: .9rem; align-items: center; color: var(--ink); font-weight: 500; }
.icon-list__icon {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--navy-800);
    color: #fff;
    display: grid;
    place-items: center;
}

/* ------------------------------------------------------ професионален път */

.timeline { position: relative; padding-left: 1.85rem; display: grid; gap: 1.5rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 6px; bottom: 6px;
    width: 2px;
    background: linear-gradient(var(--blue-200), var(--blue-100));
}
.timeline__item { position: relative; }
.timeline__item::before {
    content: '';
    position: absolute;
    left: -1.85rem; top: 5px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--navy-700);
}
.timeline__period {
    font-family: var(--font-ui);
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red-500);
    margin-bottom: .2rem;
}
.timeline__place { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; margin-bottom: .15rem; }
.timeline p { color: var(--muted); font-size: .94rem; }

/* ------------------------------------------------------ видеа от медиите -- */

.video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Обложката е бутон — при клик се заменя с плеъра. */
.video-card__player {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    background: linear-gradient(140deg, #eaf3fc 0%, #d6e8f8 100%);
    cursor: pointer;
    overflow: hidden;
}
.video-card__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease, filter .25s ease;
}
.video-card__player:hover .video-card__cover { transform: scale(1.04); filter: brightness(.94); }

.video-card__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--red-500);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(225, 37, 43, .4);
    transition: transform .2s ease, background-color .2s ease;
}
.video-card__play svg { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 3px; }
.video-card__player:hover .video-card__play { transform: scale(1.08); background: var(--red-600); }
.video-card__player:focus-visible { outline: 3px solid var(--navy-600); outline-offset: -3px; }

/* Вграденият плеър заема мястото на обложката. */
.video-card__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Видео, което каналът не позволява да се вгражда — води навън. */
.video-card__player--external { text-decoration: none; }
.video-card__external {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    font-family: var(--font-ui);
    font-size: .74rem;
    font-weight: 600;
    color: #fff;
    background: rgba(10, 22, 38, .72);
    border-radius: 999px;
    padding: .25rem .7rem;
    white-space: nowrap;
}

.video-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.video-card__body .tag { align-self: flex-start; }
.video-card__body h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.video-card__body p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 0; }
.video-card__body .meta a { display: inline-flex; align-items: center; gap: .35rem; color: var(--navy-700); }
.video-card__body .meta a:hover { color: var(--red-500); }

/* --------------------------------------------------------------- статии -- */

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.article-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(140deg, #eaf3fc 0%, #d6e8f8 100%);
    overflow: hidden;
}
.article-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.article-card:hover .article-card__media img { transform: scale(1.04); }
/* Без качена снимка се показва марковият мотив, не плосък цвят. */
.article-card__media--empty {
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(232, 243, 252, .55), rgba(214, 232, 248, .75)),
        url('../img/heart-bg.jpg') right center / cover no-repeat;
}
.article-card__media--empty svg { width: 54px; height: 54px; stroke: var(--navy-700); opacity: .45; }

.article-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.article-card__body h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.article-card__body h3 a { color: inherit; }
.article-card__body h3 a:hover { color: var(--navy-700); }
.article-card__body p { color: var(--muted); font-size: .92rem; flex: 1; }

.tag {
    font-family: var(--font-ui);
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-700);
    background: var(--blue-100);
    padding: .28rem .7rem;
    border-radius: 999px;
    margin-bottom: .8rem;
}
.tag:hover { background: var(--navy-800); color: #fff; }

.meta {
    font-family: var(--font-ui); display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .82rem; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: .35rem; }
.meta svg { width: 14px; height: 14px; opacity: .7; }

/* съдържание на статия */
.prose { font-size: 1.05rem; color: var(--body); max-width: 72ch; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin: 2.3rem 0 .85rem; }
.prose h3 { font-size: 1.25rem; margin: 1.9rem 0 .7rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.6rem 0; }
.prose blockquote {
    margin: 1.7rem 0;
    padding: 1.15rem 1.5rem;
    border-left: 3px solid var(--red-500);
    background: var(--gray-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Таблици в статиите — на тесен екран се скролват хоризонтално. */
.prose table {
    width: 100%;
    margin: 1.8rem 0;
    border-collapse: collapse;
    font-size: .95rem;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
.prose table thead th {
    background: var(--navy-800);
    color: #fff;
    font-family: var(--font-ui);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-align: left;
    padding: .7rem .9rem;
}
.prose table td { padding: .65rem .9rem; border-top: 1px solid var(--line); }
.prose table tbody tr:nth-child(odd) { background: var(--gray-50); }
.prose table tbody tr:hover { background: var(--blue-100); }

@media (min-width: 640px) {
    .prose table { display: table; white-space: normal; }
}

/* Бележка, че текстът е превод, а не оригиналът. */
.translation-note {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.75rem;
    padding: .7rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    border-left: 3px solid var(--blue-200);
    font-size: .88rem;
    color: var(--muted);
}
.translation-note svg { flex: 0 0 auto; color: var(--navy-600); }

/* --------------------------------------------------- предупредителна кутия */

.alert-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--navy-800);
    color: rgba(255, 255, 255, .88);
    border-radius: var(--radius);
    padding: 1.35rem 1.6rem;
    font-size: .95rem;
}
.alert-box__icon {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: var(--red-500);
}
.alert-box__icon svg { width: 24px; height: 24px; stroke: #fff; }
.alert-box p { margin: 0; }
.alert-box strong { color: #fff; }

/* -------------------------------------------------------------- контакти -- */

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-card);
}
.contact-card__icon {
    flex: 0 0 auto;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy-800);
    color: #fff;
    display: grid; place-items: center;
}
.contact-card__icon svg { width: 22px; height: 22px; stroke: #fff; }
.contact-card h4 {
    font-family: var(--font-ui);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .25rem;
}
.contact-card p, .contact-card a { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; }
.contact-card a:hover { color: var(--navy-700); }

.map-frame {
    width: 100%;
    aspect-ratio: 16 / 11;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: block;
}

/* --------------------------------------------------------------- форми -- */

.form-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-card);
}

.form-control, .form-select {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .74rem 1rem;
    font-size: .98rem;
    color: var(--ink);
    background-color: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--navy-600);
    box-shadow: 0 0 0 4px rgba(42, 70, 112, .1);
}
.form-label {
    font-family: var(--font-ui); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--navy-800); border-color: var(--navy-800); }
.invalid-feedback { font-size: .84rem; }

/* honeypot — скрит за хора, видим за ботове */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------- CTA -- */

.cta-band {
    position: relative;
    background: var(--hero-bg);
    color: rgba(255, 255, 255, .8);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3.2rem);
    overflow: hidden;
}
.cta-band h2, .cta-band h3 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: rgba(255, 255, 255, .78); margin-bottom: 0; }
.cta-band__ecg {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%; height: 88px;
    opacity: .16;
    pointer-events: none;
}
.cta-band__ecg path { fill: none; stroke: #fff; stroke-width: 2; }

/* ---------------------------------------------------------------- футър -- */

.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .64);
    padding-top: clamp(3rem, 5vw, 4.25rem);
    font-size: .94rem;
}
.site-footer h4 {
    font-family: var(--font-ui);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}
.site-footer a { color: rgba(255, 255, 255, .64); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }

.footer-hours { display: grid; gap: .5rem; }
.footer-hours div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, .13);
    padding-bottom: .45rem;
}
.footer-hours strong { color: #fff; font-weight: 600; text-align: right; }

.footer-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.footer-bottom {
    margin-top: clamp(2.5rem, 4vw, 3.25rem);
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 1.3rem;
    font-size: .85rem;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    justify-content: space-between;
    align-items: center;
}

/* ------------------------------------------------------- дребни елементи -- */

.breadcrumb-x {
    font-family: var(--font-ui); font-size: .85rem; color: var(--muted); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb-x a { color: var(--muted); }
.breadcrumb-x a:hover { color: var(--navy-700); }
.breadcrumb-x span::before { content: '/'; margin-right: .4rem; opacity: .45; }

.page-hero {
    position: relative;
    background: var(--hero-light);
    border-bottom: 1px solid var(--line);
    padding: clamp(2.5rem, 4.5vw, 4rem) 0;
    overflow: hidden;
}
/* Сърцето с ЕКГ линията запълва празното място вдясно в горния блок. */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/heart-bg.jpg') right center / cover no-repeat;
    opacity: .9;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .2) 40%, #000 80%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .2) 40%, #000 80%);
}
.page-hero > * { position: relative; z-index: 1; }

.page-hero h1 { margin-bottom: .75rem; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.page-hero p { color: var(--muted); max-width: 64ch; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--navy-800); }
.page-hero .eyebrow::before { background: var(--red-500); opacity: 1; height: 2px; }

.pagination { --bs-pagination-color: var(--navy-700); --bs-pagination-active-bg: var(--navy-800); --bs-pagination-active-border-color: var(--navy-800); }
.pagination .page-link { border-radius: 10px; margin: 0 .2rem; border-color: var(--line); }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state svg { width: 60px; height: 60px; stroke: var(--blue-200); margin-bottom: 1rem; }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }

.call-fab {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--red-500);
    color: #fff;
    place-items: center;
    box-shadow: 0 10px 26px rgba(225, 37, 43, .4);
}
.call-fab svg { width: 24px; height: 24px; stroke: #fff; }
.call-fab:hover { background: var(--red-600); color: #fff; }

/* --------------------------------------------------------------- reveal -- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .ecg-line path { animation: none; stroke-dashoffset: 0; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ адаптивно -- */

@media (max-width: 1320px) {
    .nav-main { margin-left: .5rem; gap: 0; }
    .nav-main a { padding: .5rem .45rem; font-size: .87rem; }
}

@media (max-width: 1140px) {
    .phone-pill { display: none; }
}

@media (max-width: 991px) {
    :root { --header-h: 70px; }

    .nav-main, .header-cta .btn, .header-cta .lang-switch { display: none; }
    .nav-toggle { display: inline-flex; }
    .site-header__inner { justify-content: space-between; }

    /* На тесен екран снимката остава фон, но воалът е по-плътен заради текста. */
    .hero__grid {
        min-height: 0;
        padding-top: 2.25rem;
        padding-bottom: clamp(3.5rem, 12vw, 5rem);
    }
    .hero__content { max-width: none; }
    /* Текстът ляга върху снимката, затова тук маската е плътен воал отгоре надолу. */
    .hero__photo { width: 100%; }
    .hero__photo__inner {
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .25) 62%, transparent 88%);
        -webkit-mask-composite: source-over;
        mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .25) 62%, transparent 88%);
        mask-composite: add;
    }
    .hero__photo__inner img { object-position: 64% 26%; }
    .hero__photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, .80) 0%,
            rgba(255, 255, 255, .93) 38%,
            rgba(255, 255, 255, .97) 68%,
            #ffffff 100%);
        pointer-events: none;
    }
    .hero__photo-badge { left: 20px; bottom: 18px; }

    .check-list--two { grid-template-columns: 1fr; }
    .about__badge { right: 12px; bottom: -18px; }
    .call-fab { display: grid; }
    .sticky-aside { position: static; }
}

@media (max-width: 767px) {
    .tile-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
    .tile { padding: 1.2rem .7rem 1.1rem; font-size: .86rem; }
    .footer-bottom { justify-content: center; text-align: center; }
    .steps__body { padding-left: 1rem; }
    body { padding-bottom: 80px; }
}

@media (max-width: 575px) {
    .hero__actions .btn { width: 100%; }
}

@media print {
    .site-header, .site-footer, .call-fab, .cta-band, .mobile-nav, .nav-backdrop { display: none !important; }
    body { color: #000; }
}

/* ------------------------------------------------- запазване на час ---- */

/* Отворено ли е в момента — смята се от работното време. */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem 1rem .45rem .8rem;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: .92rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}
.status-pill strong { color: var(--ink); }
.status-pill__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: var(--muted);
}
.status-pill.is-open .status-pill__dot {
    background: #1b9e54;
    box-shadow: 0 0 0 4px rgba(27, 158, 84, .18);
}
.status-pill.is-closed .status-pill__dot { background: #c9772a; }

/* Трите начина за записване. */
.book-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.book-card--primary { border-color: var(--navy-700); }
.book-card--primary::before {
    content: '';
    position: absolute;
    inset: -1px -1px auto;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--red-500), var(--navy-700));
}
.book-card__step {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--blue-100);
}
.book-card__icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--navy-800);
    color: #fff;
    margin-bottom: 1.1rem;
}
.book-card__icon svg { width: 24px; height: 24px; stroke: #fff; }
.book-card h2 { font-size: 1.18rem; margin-bottom: .6rem; }
.book-card p { font-size: .95rem; margin-bottom: 1.25rem; }
.book-card__phone {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 1.25rem;
    letter-spacing: -.01em;
}
.book-card__phone:hover { color: var(--red-500); }
.book-card__note {
    font-size: .8rem !important;
    color: var(--muted);
    margin: .75rem 0 0 !important;
    text-align: center;
}
.book-card .btn svg { width: 18px; height: 18px; }

/* Седмичната таблица. */
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem .25rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-ui);
}
.schedule__row:last-child { border-bottom: 0; }
.schedule__day { color: var(--ink); font-weight: 500; }
.schedule__hours { color: var(--ink); font-weight: 600; text-align: right; }
.schedule__row.is-off .schedule__hours { color: var(--muted); font-weight: 500; }

.schedule__row.is-today {
    background: var(--blue-50);
    border-radius: 10px;
    padding-inline: .75rem;
    border-bottom-color: transparent;
}
.schedule__badge {
    display: inline-block;
    margin-left: .5rem;
    padding: .05rem .5rem;
    border-radius: 999px;
    background: var(--navy-700);
    color: #fff;
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: middle;
}

@media (max-width: 575.98px) {
    .book-card__step { font-size: 1.9rem; }
    .schedule__row { font-size: .94rem; }
}
