/* =========================================================
   Одесос Дент – дизайн система 2026
   Самостоятелен CSS за публичните страници (без Bootstrap).
   ========================================================= */

/* ---------- Токени ---------- */
:root {
    --bg: #f6f4ef;
    --surface: #ffffff;
    --surface-2: #eef5f3;
    --surface-3: #e2efeb;
    --line: rgba(15, 42, 51, .10);
    --ink: #0f2a33;
    --ink-2: #33494f;
    --muted: #5d7076;
    --primary: #0e7c7b;
    --primary-strong: #0a5f5e;
    --primary-ink: #ffffff;
    --mint: #cfeee5;
    --coral: #ff8a5b;
    --sun: #ffd36e;
    --ocean: #0d2f3a;
    --ocean-2: #123f4c;
    --open: #12a150;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 1px 2px rgba(15, 42, 51, .06), 0 2px 8px rgba(15, 42, 51, .04);
    --shadow: 0 2px 4px rgba(15, 42, 51, .04), 0 12px 32px rgba(15, 42, 51, .08);
    --shadow-lg: 0 24px 60px rgba(15, 42, 51, .16);

    --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-accent: "Lora", Georgia, serif;
    --wrap: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1a1f;
        --surface: #10232a;
        --surface-2: #142d35;
        --surface-3: #1a3943;
        --line: rgba(232, 241, 239, .10);
        --ink: #e8f1ef;
        --ink-2: #c7d6d6;
        --muted: #9bb0b3;
        --primary: #36c2b4;
        --primary-strong: #5fd6ca;
        --primary-ink: #062126;
        --mint: #17403d;
        --ocean: #07161b;
        --ocean-2: #0d2630;
        --open: #3ddc84;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
        --shadow: 0 12px 32px rgba(0, 0, 0, .35);
        --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
    }
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Montserrat/Onest при lang="bg" – без българските форми, за еднаква четимост */
    font-feature-settings: "locl" 0;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.icon { display: inline-block; vertical-align: -.125em; flex-shrink: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 200; background: var(--surface); color: var(--ink); padding: .6rem 1rem; border-radius: 999px; box-shadow: var(--shadow); }
.skip-link:focus { left: 1rem; }
.muted { color: var(--muted); }
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--primary); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-soft { background: var(--surface-2); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: .35em; }
.section-lead { color: var(--muted); font-size: 1.125rem; margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 640px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--primary); text-decoration: none; white-space: nowrap; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }

/* ---------- Бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 20px -8px var(--primary); }
.btn-primary:hover { background: var(--primary-strong); color: var(--primary-ink); }
.btn-secondary { background: var(--ink); color: var(--bg); }
.btn-secondary:hover { background: var(--ink-2); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .92rem; }
.btn-lg { min-height: 58px; padding: .75rem 1.6rem; font-size: 1.12rem; }
.btn-call { text-align: left; }
.btn-lg.btn-call { padding-inline: 1.2rem 1.4rem; gap: .55rem; }
.btn-call > span { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; }
.btn-call small { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; padding-right: .55rem; border-right: 1px solid currentColor; line-height: 1.1; }
.call-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.call-buttons-stack { flex-direction: column; align-items: flex-start; margin-top: 1.5rem; }

/* ---------- Състояние „отворено сега“ ---------- */
.status-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); line-height: 1.2; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.status-chip.is-open .status-dot { background: var(--open); box-shadow: 0 0 0 0 var(--open); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, .55); } 70% { box-shadow: 0 0 0 8px rgba(18, 161, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: .75rem 0; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 60px; padding: .45rem .5rem .45rem 1rem; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); max-width: calc(var(--wrap) + 1rem); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .logo-mark { color: var(--primary); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.12rem; letter-spacing: -.02em; }
.brand-text small { font-size: .74rem; color: var(--muted); font-weight: 600; margin-top: .15rem; }
.main-nav { display: flex; align-items: center; gap: .75rem; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.main-nav ul a { display: block; padding: .55rem .85rem; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s, color .2s; }
.main-nav ul a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav ul a[aria-current="page"] { background: var(--mint); color: var(--ink); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.main-nav a, .nav-cta, .brand-text { white-space: nowrap; }
@media (max-width: 1240px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + .25rem); flex-direction: column; align-items: stretch; gap: .5rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: .85rem 1rem; font-size: 1.05rem; }
    .nav-cta { min-height: 52px; }
    html:not(.js) .main-nav { position: static; opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Hero (начало) ---------- */
.hero { position: relative; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5.5rem); overflow-x: clip; overflow-y: visible; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, var(--mint), transparent); opacity: .9; z-index: -1; -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 95%); mask-image: linear-gradient(to bottom, #000 45%, transparent 95%); }
.hero::after { content: ""; position: absolute; left: -12vw; bottom: -18vw; width: 42vw; height: 42vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--sun) 45%, transparent), transparent); opacity: .55; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-status { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.hero-media { position: relative; min-height: 520px; }
.hero-photo { position: absolute; inset: 0 0 60px 40px; margin: 0; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-sm { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.hero-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.float-badge { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem .75rem .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.25; max-width: 240px; animation: float 6s ease-in-out infinite; }
.float-badge .icon-wrap { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.float-badge strong { display: block; }
.float-badge span span { color: var(--muted); }
.badge-1 { top: 8%; right: -4%; }
.badge-2 { bottom: 26%; right: 4%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { min-height: 380px; max-width: 560px; width: 100%; }
    .badge-1 { right: 0; }
}
@media (max-width: 560px) {
    .hero-media { min-height: 300px; }
    .hero-photo { inset: 0 0 40px 24px; border-radius: var(--radius) var(--radius) var(--radius) 70px; }
    .float-badge { font-size: .8rem; padding: .55rem .75rem .55rem .55rem; max-width: 200px; }
    .float-badge .icon-wrap { width: 34px; height: 34px; }
    .badge-2 { display: none; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 1rem; }
.bento-item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.bento-item .bento-icon { position: absolute; top: 1.25rem; left: 1.25rem; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--primary); font-size: 1.35rem; }
.bento-item strong { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
.bento-item span { color: var(--muted); font-size: .98rem; }
.bento-item .link-arrow { margin-top: .4rem; font-size: .95rem; }
.bento-feature { grid-column: span 2; grid-row: span 2; justify-content: flex-end; color: #fff; padding: 2rem; min-height: 420px; }
.bento-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.bento-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 47, 58, 0) 30%, rgba(13, 47, 58, .88)); z-index: -1; }
.bento-feature:hover { color: #fff; }
.bento-feature:hover img { transform: scale(1.04); }
.bento-feature strong { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; }
.bento-feature span { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 460px; }
.bento-feature .link-arrow { color: var(--sun); }
.bento-feature .pill { position: absolute; top: 1.5rem; left: 1.5rem; padding: .35rem .8rem; border-radius: 999px; background: var(--sun); color: #3b2a00; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bento-coral { background: color-mix(in srgb, var(--coral) 16%, var(--surface)); }
.bento-coral .bento-icon { background: var(--coral); color: #fff; }
.bento-ocean { background: var(--ocean); border-color: var(--ocean); }
.bento-ocean strong { color: #fff; }
.bento-ocean span { color: rgba(255, 255, 255, .75); }
.bento-ocean .bento-icon { background: rgba(255, 255, 255, .1); color: var(--sun); }
.bento-ocean .link-arrow { color: var(--sun); }
.bento-ocean:hover strong { color: #fff; }
.bento-mint { background: var(--mint); }
.bento-mint .bento-icon { background: var(--surface); }
@media (max-width: 960px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento-feature { grid-column: span 2; grid-row: auto; min-height: 340px; }
}
@media (max-width: 560px) {
    .bento { grid-template-columns: 1fr; }
    .bento-item { min-height: 170px; }
    .bento-feature { grid-column: auto; min-height: 340px; padding: 1.5rem; }
}

/* ---------- Детски зъболекар (раздел) ---------- */
.feature { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: var(--shadow); }
.feature-media::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--sun); top: -28px; left: -28px; z-index: -1; }
.feature-media::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 28px; background: var(--coral); bottom: -22px; right: 12%; z-index: -1; transform: rotate(18deg); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .icon { color: var(--primary); font-size: 1.2rem; margin-top: .2rem; }
.feature-reverse { grid-template-columns: 1.05fr .95fr; }
.feature-reverse .feature-media { order: 2; }
@media (max-width: 860px) { .feature, .feature-reverse { grid-template-columns: 1fr; } .feature-reverse .feature-media { order: 0; } }

/* ---------- Карти на услуги ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.service-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.service-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.service-card-title { font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.service-card-text { color: var(--muted); font-size: .96rem; flex: 1; }
.service-card-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--primary); font-size: .95rem; margin-top: .35rem; }
.service-card-more .icon { transition: transform .25s var(--ease); }
.service-card:hover .service-card-more .icon { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { display: inline-flex; padding: .55rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s; }
.chip:hover { background: var(--mint); color: var(--ink); }
.chips-sticky { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; padding: .6rem 0; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips-sticky::-webkit-scrollbar { display: none; }
.chips-sticky .chip { white-space: nowrap; }
.category-block { padding: 1.5rem 0 2.5rem; scroll-margin-top: calc(var(--header-h) + 80px); }
.category-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ---------- Стъпки ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--primary); opacity: .25; margin-bottom: 1rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .4em; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Тъмна секция „Предимства“ ---------- */
.section-ocean { background: var(--ocean); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.section-ocean::before { content: ""; position: absolute; right: -10%; top: -30%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(54, 194, 180, .28), transparent 65%); }
.section-ocean h2, .section-ocean h3 { color: #fff; }
.section-ocean .eyebrow { color: var(--sun); }
.section-ocean .section-lead { color: rgba(255, 255, 255, .7); }
.features-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; column-gap: 1rem; padding: 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.feature-item .feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--sun); font-size: 1.3rem; }
.feature-item h3 { font-size: 1.15rem; line-height: 1.25; margin: 0; }
.feature-item p { grid-column: 1 / -1; margin: 1rem 0 0; font-size: .98rem; }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Текстов раздел (начало) ---------- */
.split-text { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-text .split-title { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .split-text { grid-template-columns: 1fr; } .split-text .split-title { position: static; } }

/* ---------- Лекари ---------- */
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: 1.5rem; }
.doctor-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.doctor-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.doctor-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.doctor-card-name { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.doctor-card-role { display: block; color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.doctor-profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.doctor-profile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.doctor-profile h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .2em; }
.doctor-profile .doctor-card-role { margin-bottom: 1rem; }
@media (max-width: 760px) { .doctor-profile { grid-template-columns: 1fr; } .doctor-profile img { max-width: 320px; } }

/* ---------- Кабинети ---------- */
.office-card { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.office-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.office-card-top .eyebrow { width: 100%; margin: 0; }
.office-card-top h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 auto 0 0; }
.office-tagline { margin: -.35rem 0 0; color: var(--primary); font-weight: 700; font-size: 1.02rem; }
.office-address { display: flex; gap: .75rem; margin: 0; }
.office-address .icon { color: var(--primary); font-size: 1.15rem; margin-top: .25rem; }
.office-address small { display: block; color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.hours-table { font-size: .96rem; }
.hours-table th, .hours-table td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today { background: var(--mint); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 800; border-radius: 0; }
.hours-table tr.is-today th { border-radius: 10px 0 0 10px; }
.hours-table tr.is-today td { border-radius: 0 10px 10px 0; }
.office-note { display: flex; gap: .5rem; align-items: center; margin: 0; padding: .75rem 1rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--sun) 28%, var(--surface)); font-weight: 600; font-size: .95rem; }
.office-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.map-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface-2) repeating-linear-gradient(45deg, transparent 0 14px, rgba(14, 124, 123, .05) 14px 28px); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--primary); cursor: pointer; font-size: 1.05rem; }
.map-load:hover { background: rgba(14, 124, 123, .06); }

/* ---------- Page hero (вътрешни страници) ---------- */
.page-hero { position: relative; padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow-x: clip; overflow-y: visible; }
.page-hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px; background: radial-gradient(closest-side, var(--mint), transparent); z-index: -1; -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 92%); mask-image: linear-gradient(to bottom, #000 35%, transparent 92%); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero-grid.no-media { grid-template-columns: 1fr; }
.page-hero-grid.no-media .page-hero-copy { max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.page-hero .lead { margin-bottom: 1.75rem; }
.page-hero-media { margin: 0; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 90px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 60px; } }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }

/* ---------- Статия ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } }
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.4em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 2.4rem; margin-bottom: .7rem; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--mint); color: var(--primary); font-weight: 800; font-size: .9rem; }
.prose a { font-weight: 600; }
.prose p:first-of-type { font-size: 1.2rem; color: var(--ink); }

.article-aside { position: relative; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 1rem; }
.toc { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toc-title, .aside-title { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .4rem .5rem; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .94rem; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--primary); font-weight: 700; font-size: .8rem; padding-top: .1rem; }
.toc a:hover, .toc a.is-active { background: var(--surface-2); color: var(--ink); }
.aside-card { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.aside-office { display: flex; flex-direction: column; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.aside-office small { display: block; color: var(--muted); margin-top: .35rem; font-size: .86rem; }
.aside-office .status-chip { border: 0; padding: 0; background: none; }
.aside-notes { list-style: none; padding: 0; margin: .85rem 0 0; display: grid; gap: .5rem; font-size: .95rem; }
.aside-notes .icon { color: var(--primary); margin-right: .25rem; }
.aside-promo { display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem; border-radius: var(--radius); background: var(--ocean); color: rgba(255, 255, 255, .8); text-decoration: none; transition: transform .3s var(--ease); }
.aside-promo:hover { transform: translateY(-3px); color: rgba(255, 255, 255, .9); }
.aside-promo .icon:first-child { font-size: 1.6rem; color: var(--sun); }
.aside-promo strong { color: #fff; font-size: 1.15rem; }
.aside-promo .link-arrow { color: var(--sun); margin-top: .35rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-intro { position: static; } }
.faq-list { display: grid; gap: .75rem; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); flex-shrink: 0; transition: transform .3s var(--ease), background-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--primary); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq-item[open] .faq-icon { background: var(--mint); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 1.35rem 1.25rem; color: var(--ink-2); }
.faq-answer p { margin: 0; }

/* ---------- CTA ---------- */
.cta-panel { display: grid; grid-template-columns: 1.2fr auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--primary) 0%, #0b5d6b 60%, var(--ocean) 100%); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 211, 110, .35), transparent 65%); }
.cta-panel h2 { color: #fff; margin-bottom: .35em; }
.cta-panel .eyebrow { color: var(--sun); }
.cta-panel p { margin: 0; max-width: 560px; }
.cta-panel .call-buttons { position: relative; z-index: 1; }
.cta-panel .btn-primary { background: #fff; color: var(--ocean); box-shadow: none; }
.cta-panel .btn-secondary { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
@media (max-width: 900px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ocean); color: rgba(255, 255, 255, .7); padding: clamp(3rem, 7vw, 5rem) 0 2rem; font-size: .96rem; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.brand-light { color: #fff; }
.brand-light .logo-mark { color: var(--primary); }
.brand-light .brand-text small { color: rgba(255, 255, 255, .6); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 3rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-claim { max-width: 520px; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 2rem; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer-phone { font-weight: 700; font-size: 1.1rem; }
.footer-phone .icon { color: var(--sun); }
.footer-hours { font-size: .9rem; color: rgba(255, 255, 255, .6); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links-2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-social { display: inline-flex; align-items: center; gap: .5rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid, .footer-links-2 { grid-template-columns: 1fr; } }

/* ---------- Мобилна лента за обаждане ---------- */
.mobile-call-bar { display: none; }
@media (max-width: 760px) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .mobile-call-bar { position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 90; display: flex; gap: .4rem; padding: .4rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
    .mobile-call-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 700; text-decoration: none; }
    .mobile-call-bar a + a { background: var(--ink); color: var(--bg); }
    .btn-call { flex: 1 1 100%; justify-content: flex-start; }
    .call-buttons-stack .btn-call { width: 100%; }
}

/* ---------- Появяване при скрол ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
.prose-justify p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.text-justify { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
/* Малки bento плочки: иконата и заглавието на един ред, текстът отдолу */
.bento-item:not(.bento-feature) { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; align-content: start; column-gap: .9rem; row-gap: 0; }
.bento-item:not(.bento-feature) .bento-icon { position: static; }
.bento-item:not(.bento-feature) strong { margin: 0; }
.bento-item:not(.bento-feature) > span:not(.bento-icon) { grid-column: 1 / -1; margin-top: .85rem; }
@media (max-width: 560px) { .bento { grid-auto-rows: auto; } .bento-item:not(.bento-feature) { min-height: 0; padding: 1.4rem; } }
/* Голям кликаем телефон в секциите на кабинетите */
.phone-big { display: inline-flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; padding: .9rem 1.6rem .9rem 1rem; border-radius: 999px; background: var(--surface); border: 2px solid var(--primary); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.phone-big:hover { transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow-lg); }
.phone-big .icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: var(--primary); color: #fff; box-sizing: border-box; }
.phone-big span { display: flex; flex-direction: column; line-height: 1.15; }
.phone-big small { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.phone-big strong { font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; color: var(--primary); white-space: nowrap; }
.phone-big + .btn { display: flex; width: fit-content; }
@media (max-width: 560px) { .phone-big { display: flex; width: 100%; box-sizing: border-box; } }
