/* =========================================================================
   Адвокатско сдружение „Найденов и Велков“

   Coastal institutional: Cormorant + Golos.
   Още по-светъл teal + топло honey-gold. Hero = марка първа.
   ========================================================================= */

:root {
    /* Марка — по-светъл морски тон + топло злато */
    --navy:        #114a63;
    --navy-2:      #1a6b8c;
    --navy-3:      #2d94b5;
    --navy-deep:   #0d3850;
    --gold:        #b07d32;
    --gold-2:      #d4a85a;
    --gold-soft:   #f0d7a8;
    --steel:       #5aa0b4;
    --sea:         #45b8d0;

    /* Повърхности — още по-въздушни */
    --white:       #ffffff;
    --surface:     #f7fcfd;
    --surface-2:   #eaf6f8;
    --tint:        #f2fafb;

    /* Текст */
    --text:        #16303a;
    --muted:       #547480;
    --muted-2:     #7fa0ac;
    --on-navy:     #f2fafc;
    --on-navy-dim: #b5d8e2;

    --line:        #e0eef1;
    --line-2:      #cce4e9;
    --line-navy:   rgba(242, 250, 252, .2);

    /* Типографика — сериф като емблемата NV; UI остава sans */
    --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans:    "Golos Text", "Segoe UI", system-ui, sans-serif;
    --ui:      var(--sans);

    /* Форма */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(13, 61, 85, .05);
    --shadow-sm: 0 2px 8px rgba(13, 61, 85, .06), 0 1px 2px rgba(13, 61, 85, .04);
    --shadow:    0 8px 24px rgba(13, 61, 85, .08), 0 2px 6px rgba(13, 61, 85, .04);
    --shadow-lg: 0 20px 50px rgba(13, 61, 85, .12), 0 6px 16px rgba(13, 61, 85, .06);
    --shadow-navy: 0 18px 44px rgba(13, 61, 85, .2);

    --container: 1240px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --header-h: 82px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--navy); color: var(--white); }

/* ---------- Типографика ------------------------------------------------- */

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--navy);
    margin: 0 0 .5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.35rem); font-weight: 600; }
h2 { font-size: clamp(2.05rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
}

.lead { font-size: 1.14rem; line-height: 1.68; color: var(--muted); max-width: 54ch; }
.lead--light { color: var(--on-navy-dim); }

/* Етикет-хапче над заглавията */
.tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.1rem;
    padding: .42rem .95rem;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--navy-3);
    font-family: var(--ui);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.tag::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold-2);
}
.tag--on-navy { background: rgba(232, 240, 244, .1); color: var(--gold-soft); }
.tag--on-navy::before { background: var(--gold-soft); }

.eyebrow {
    display: inline-block;
    font-family: var(--ui);
    font-size: .72rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.section__title {
    position: relative;
    padding-bottom: .85rem;
}
.section__title::after {
    content: "";
    display: block;
    width: 56px; height: 2px;
    margin-top: .85rem;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-soft));
}
.section__head--center .section__title::after { margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
    left: 1rem; top: 1rem; z-index: 500;
    background: var(--navy); color: var(--white);
    padding: .7rem 1.1rem; border-radius: var(--r-sm);
}

:focus-visible { outline: 2px solid var(--navy-3); outline-offset: 3px; }

/* ---------- Начален екран ---------------------------------------------- */

.boot {
    min-height: 100vh;
    display: grid; place-items: center;
    background:
        radial-gradient(800px 480px at 50% 30%, rgba(58, 168, 193, .12), transparent 60%),
        radial-gradient(640px 360px at 80% 80%, rgba(232, 207, 160, .14), transparent 55%),
        linear-gradient(165deg, #f7fcfd, var(--surface));
}
.boot__inner {
    text-align: center;
    padding: 2.4rem 2.8rem;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .7);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: var(--shadow-lg);
}
.boot__mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 132px; height: 132px;
}
.boot__mark img {
    width: 88px; height: auto;
    position: relative; z-index: 1;
    animation: boot-pulse 1.8s var(--ease) infinite;
}
.boot__ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--gold-2);
    border-right-color: rgba(196, 154, 74, .3);
    animation: spin .9s linear infinite;
}
.boot__ring::after {
    content: "";
    position: absolute; inset: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: var(--navy-3);
    border-left-color: rgba(13, 61, 85, .2);
    animation: spin 1.35s linear infinite reverse;
}
.boot__label {
    font-family: var(--ui);
    font-size: .74rem; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted-2);
    margin: 1.4rem 0 1.1rem;
}
.boot__bar {
    width: 190px; height: 3px; border-radius: var(--r-pill);
    background: var(--surface-2); overflow: hidden; margin-inline: auto;
}
.boot__bar span {
    display: block; height: 100%; width: 38%;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--gold-2), var(--gold-soft));
    animation: boot 1.3s var(--ease) infinite;
}
@keyframes boot { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }
@keyframes boot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .85; transform: scale(.97); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.noscript { max-width: 46rem; padding: 2rem; text-align: left; }

/* ---------- Хедър ------------------------------------------------------- */

.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px) saturate(1.7);
    -webkit-backdrop-filter: blur(18px) saturate(1.7);
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
body.is-scrolled .header {
    background: rgba(255, 255, 255, .86);
    border-bottom-color: rgba(226, 233, 237, .85);
    box-shadow: 0 4px 20px rgba(13, 61, 85, .06);
}

.header__inner {
    min-height: var(--header-h);
    display: flex; align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand__logo { width: clamp(158px, 16vw, 200px); height: auto; }

.nav { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.4rem); }
.nav__link {
    position: relative;
    padding: .55rem .85rem;
    border-radius: var(--r-pill);
    font-family: var(--ui);
    font-size: .9rem; font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link:hover { color: var(--navy); background: var(--surface); }
.nav__link.active { color: var(--navy); background: var(--surface-2); }

.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__cta { padding: .68rem 1.2rem; font-size: .88rem; white-space: nowrap; }
.header__cta-icon { opacity: .85; }

@media (max-width: 1180px) { .header__cta { display: none; } }

.burger {
    display: none;
    width: 44px; height: 44px; padding: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    cursor: pointer; place-items: center; gap: 5px;
    transition: background .25s var(--ease);
}
.burger:hover { background: var(--surface-2); }
.burger span {
    display: block; width: 17px; height: 2px; border-radius: 2px;
    background: var(--navy);
    transition: transform .3s var(--ease), opacity .2s;
}
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Език -------------------------------------------------------- */

.lang { position: relative; }
.lang__backdrop { position: fixed; inset: 0; z-index: 90; }
.lang__toggle {
    display: flex; align-items: center; gap: .35rem;
    padding: .6rem .8rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--navy);
    font-family: var(--ui);
    font-size: .8rem; font-weight: 700; letter-spacing: .04em;
    cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.lang__toggle:hover { background: var(--surface-2); border-color: var(--line-2); }
.lang__caret { font-size: .6rem; opacity: .6; }

.lang__list {
    position: absolute; right: 0; top: calc(100% + .5rem); z-index: 95;
    min-width: 195px; margin: 0; padding: .4rem; list-style: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
    transition: opacity .22s var(--ease), transform .22s var(--ease-out), visibility .22s;
}
.lang--open .lang__list { opacity: 1; visibility: visible; transform: none; }

.lang__item {
    display: flex; align-items: center; gap: .75rem; width: 100%;
    padding: .6rem .7rem;
    background: none; border: 0; border-radius: var(--r-sm);
    font-family: var(--sans); font-size: .92rem; color: var(--text);
    text-align: left; cursor: pointer;
    transition: background .2s var(--ease);
}
.lang__item:hover { background: var(--surface); }
.lang__item--active { color: var(--navy); font-weight: 600; background: var(--surface-2); }
.lang__code {
    font-family: var(--display); font-size: .7rem; font-weight: 700;
    letter-spacing: .06em; color: var(--muted-2); width: 1.9rem;
}

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

.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .92rem 1.65rem;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    font-family: var(--ui);
    font-size: .93rem; font-weight: 700; letter-spacing: -.01em;
    cursor: pointer;
    overflow: hidden;
    transition: transform .22s var(--ease-out), box-shadow .28s var(--ease),
                background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease-out);
    pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--navy); color: var(--white);
    box-shadow: 0 6px 18px rgba(13, 61, 85, .22);
}
.btn--primary:hover { background: var(--navy-2); box-shadow: 0 12px 28px rgba(13, 61, 85, .28); }

.btn--outline {
    background: var(--white); color: var(--navy);
    border-color: var(--line-2);
    box-shadow: var(--shadow-xs);
}
.btn--outline:hover { border-color: var(--navy-3); box-shadow: var(--shadow-sm); }

.btn--ghost {
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    border-color: rgba(255, 255, 255, .3);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }

.btn--gold { background: var(--gold-soft); color: var(--navy-deep); }
.btn--gold:hover { background: #f7e6c0; }

.btn--lg { padding: 1.08rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Hero — immersive photo, brand-first ------------------------- */

.hero--immersive {
    position: relative;
    min-height: min(100svh, 920px);
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + clamp(2.2rem, 5vh, 4rem)) 0 clamp(3.2rem, 7vh, 5.5rem);
    background: var(--navy-deep);
    color: var(--on-navy);
    overflow: hidden;
}

/* Архитектурна „колона“ — вертикален bronze акцент вляво */
.hero--immersive::after {
    content: "";
    position: absolute;
    left: max(var(--gutter), calc((100% - var(--container)) / 2));
    top: calc(var(--header-h) + 2rem);
    bottom: 2.5rem;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold-soft) 18%, var(--gold-soft) 72%, transparent);
    opacity: .55;
    pointer-events: none;
    z-index: 2;
}

.hero__media {
    position: absolute; inset: 0;
    pointer-events: none; overflow: hidden;
}

.hero__photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 62% center;
    transform: scale(1.04);
    animation: hero-ken 18s var(--ease-out) both;
}
@keyframes hero-ken {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}

/* Navy veil — четимост без floating overlays върху снимката */
.hero__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 47, 66, .88) 0%, rgba(13, 61, 85, .72) 42%, rgba(22, 90, 120, .38) 68%, rgba(10, 47, 66, .5) 100%),
        linear-gradient(180deg, rgba(8, 47, 66, .28) 0%, transparent 30%, rgba(8, 47, 66, .48) 100%);
}

.hero__grain {
    position: absolute; inset: 0;
    opacity: .28;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: overlay;
}

.hero__watermark {
    position: absolute;
    right: clamp(-4%, 2vw, 6%);
    top: 14%;
    width: min(42vw, 380px);
    height: auto;
    opacity: .1;
    mix-blend-mode: screen;
    will-change: transform;
}

.hero__inner {
    position: relative; z-index: 2;
    max-width: 40rem;
    padding-left: clamp(1.1rem, 2.5vw, 1.75rem);
}

.hero__brand {
    display: inline-flex; align-items: center; gap: 1.1rem;
    margin-bottom: clamp(1.8rem, 4vh, 2.8rem);
    padding: .7rem 1.1rem .7rem .7rem;
    border-radius: var(--r);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
}

.hero__emblem {
    width: clamp(64px, 9vw, 84px); height: auto; flex: none;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.hero__brand-name {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.05;
    color: var(--white);
}

.hero__brand-sub {
    margin: .35rem 0 0;
    font-family: var(--ui);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.hero__title {
    margin-bottom: 1.15rem;
    color: var(--white);
    font-size: clamp(2.4rem, 5.4vw, 3.85rem);
    font-weight: 600;
}

.hero__title em {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: var(--gold-soft);
    position: relative;
}

.hero__title em::after {
    content: "";
    display: block;
    width: 96px; height: 2px;
    margin-top: .65rem;
    background: linear-gradient(90deg, var(--gold-soft), transparent);
    transform-origin: left;
    animation: rule-in 1s var(--ease-out) .35s both;
}
@keyframes rule-in {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

.hero__sub {
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(232, 240, 244, .82);
    max-width: 42ch;
    margin: 0;
    text-shadow: 0 1px 18px rgba(8, 40, 56, .45);
}

.hero__actions {
    display: flex; flex-wrap: wrap; gap: .8rem;
    margin-top: 2rem;
}

/* Прозрачен хедър върху immersive hero (до скрол) */
.page:has(.hero--immersive) .header {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}
.page:has(.hero--immersive) .nav__link { color: var(--on-navy-dim); }
.page:has(.hero--immersive) .nav__link:hover {
    color: var(--white);
    background: rgba(232, 240, 244, .08);
}
.page:has(.hero--immersive) .nav__link.active {
    color: var(--white);
    background: rgba(232, 240, 244, .12);
}
.page:has(.hero--immersive) .lang__toggle {
    background: rgba(232, 240, 244, .08);
    border-color: rgba(232, 240, 244, .18);
    color: var(--white);
}
.page:has(.hero--immersive) .lang__toggle:hover {
    background: rgba(232, 240, 244, .14);
}
.page:has(.hero--immersive) .burger {
    background: rgba(232, 240, 244, .08);
    border-color: rgba(232, 240, 244, .18);
}
.page:has(.hero--immersive) .burger span { background: var(--white); }
.page:has(.hero--immersive) .brand__logo {
    mix-blend-mode: screen;
    filter: brightness(1.05);
}
.page:has(.hero--immersive) .header__cta {
    background: var(--gold-soft);
    color: var(--navy-deep);
    box-shadow: none;
}
.page:has(.hero--immersive) .header__cta:hover {
    background: #f7e6c0;
}
.page:has(.hero--immersive) .progress { opacity: 0; }

body.is-scrolled .page:has(.hero--immersive) .header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px) saturate(1.6);
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(13, 61, 85, .06);
}
body.is-scrolled .page:has(.hero--immersive) .nav__link { color: var(--muted); }
body.is-scrolled .page:has(.hero--immersive) .nav__link:hover {
    color: var(--navy); background: var(--surface);
}
body.is-scrolled .page:has(.hero--immersive) .nav__link.active {
    color: var(--navy); background: var(--surface-2);
}
body.is-scrolled .page:has(.hero--immersive) .lang__toggle {
    background: var(--surface);
    border-color: var(--line);
    color: var(--navy);
}
body.is-scrolled .page:has(.hero--immersive) .burger {
    background: var(--surface);
    border-color: var(--line);
}
body.is-scrolled .page:has(.hero--immersive) .burger span { background: var(--navy); }
body.is-scrolled .page:has(.hero--immersive) .brand__logo {
    mix-blend-mode: normal;
    filter: none;
}
body.is-scrolled .page:has(.hero--immersive) .header__cta {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(13, 61, 85, .22);
}
body.is-scrolled .page:has(.hero--immersive) .header__cta:hover {
    background: var(--navy-2);
}
body.is-scrolled .page:has(.hero--immersive) .progress { opacity: 1; }

/* ---------- Intro band (под fold-а) ------------------------------------- */

.intro-band {
    position: relative;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid rgba(226, 233, 237, .85);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .65) inset;
}

.intro-band__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.6rem, 3.5vh, 2.4rem) 0;
}

.trust {
    display: flex; flex-wrap: wrap; gap: .55rem 1.4rem;
    list-style: none; padding: 0; margin: 0;
}
.trust li {
    display: flex; align-items: center; gap: .5rem;
    font-size: .9rem; color: var(--muted);
}
.trust li::before {
    content: "";
    width: 17px; height: 17px; flex: none;
    border-radius: 50%;
    background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114a63' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.intro-band__contact {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 1rem 1.4rem;
    justify-content: flex-end;
}

.intro-band__phone,
.intro-band__place {
    display: flex; flex-direction: column; gap: .1rem;
    min-width: 0;
}

.intro-band__label {
    font-family: var(--display);
    font-size: .66rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted-2);
}

.intro-band__value {
    font-size: .95rem; font-weight: 600; color: var(--navy);
    line-height: 1.35;
}

.intro-band__phone:hover .intro-band__value { color: var(--navy-3); }

/* ---------- Лента със статистики ---------------------------------------- */

.stats-band {
    background: var(--navy-deep);
    border-block: 0;
    color: var(--on-navy);
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none; margin: 0; padding: clamp(2.4rem, 5vh, 3.6rem) 0;
    gap: 0;
}
.stats__item {
    text-align: center;
    padding: .5rem 1.2rem;
    position: relative;
}
.stats__item + .stats__item::before {
    content: "";
    position: absolute; left: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold-soft), transparent);
    opacity: .45;
}
.stats__item strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 600; line-height: 1;
    letter-spacing: -.02em;
    color: var(--gold-soft);
}
.stats__item span {
    display: block; margin-top: .65rem;
    font-size: .84rem; line-height: 1.45; color: var(--on-navy-dim);
}

/* ---------- Заглавна лента на вътрешните страници ----------------------- */

.page-head {
    position: relative;
    padding: calc(var(--header-h) + clamp(2.6rem, 6vh, 4.2rem)) 0 clamp(2.6rem, 5.5vh, 4rem);
    background:
        radial-gradient(900px 520px at 85% -10%, rgba(232, 207, 160, .14), transparent 55%),
        linear-gradient(168deg, #1a6b8c 0%, var(--navy) 48%, var(--navy-deep) 100%);
    color: var(--on-navy);
    border-bottom: 0;
    overflow: hidden;
}
.page-head::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(232, 240, 244, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 240, 244, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 80% at 70% 20%, #000 10%, transparent 70%);
    opacity: .7;
    pointer-events: none;
}
.page-head > .container { position: relative; z-index: 1; max-width: 52rem; }
.page-head h1 {
    max-width: 18ch;
    color: var(--white);
    margin-bottom: .65rem;
}
.page-head h1::after {
    content: "";
    display: block;
    width: 72px; height: 2px;
    margin-top: .75rem;
    background: linear-gradient(90deg, var(--gold-soft), transparent);
}
.page-head .lead,
.page-head .lead--light {
    color: rgba(232, 240, 244, .78);
    max-width: 48ch;
}
.page-head .eyebrow,
.page-head .eyebrow--light,
.page-head .tag,
.page-head .tag--on-navy {
    background: transparent;
    padding: 0;
    color: var(--gold-soft);
    margin-bottom: 1rem;
}
.page-head .tag::before,
.page-head .tag--on-navy::before { display: none; }

.page-head__icon {
    display: inline-grid; place-items: center;
    width: 62px; height: 62px; margin-bottom: 1.3rem;
    border-radius: var(--r);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gold-soft);
}
.page-head__icon .practice-icon,
.page-head__icon .practice-icon svg {
    width: 28px; height: 28px;
    display: block;
}

.crumbs {
    display: flex; flex-wrap: wrap; gap: .5rem;
    font-size: .84rem; color: var(--on-navy-dim);
    margin-bottom: 1.3rem;
}
.crumbs a { color: var(--gold-soft); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-head .crumbs { color: var(--on-navy-dim); }
.page-head .crumbs a { color: var(--gold-soft); }
.crumbs--dark { color: var(--muted-2); }
.crumbs--dark a { color: var(--navy-3); }

/* Прозрачен хедър и върху вътрешни page-head страници */
.page:has(.page-head) .header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}
.page:has(.page-head) .nav__link { color: var(--on-navy-dim); }
.page:has(.page-head) .nav__link:hover {
    color: var(--white);
    background: rgba(232, 240, 244, .08);
}
.page:has(.page-head) .nav__link.active {
    color: var(--white);
    background: rgba(232, 240, 244, .12);
}
.page:has(.page-head) .lang__toggle {
    background: rgba(232, 240, 244, .08);
    border-color: rgba(232, 240, 244, .18);
    color: var(--white);
}
.page:has(.page-head) .burger {
    background: rgba(232, 240, 244, .08);
    border-color: rgba(232, 240, 244, .18);
}
.page:has(.page-head) .burger span { background: var(--white); }
.page:has(.page-head) .brand__logo {
    mix-blend-mode: screen;
    filter: brightness(1.05);
}
.page:has(.page-head) .header__cta {
    background: var(--gold-soft);
    color: var(--navy-deep);
    box-shadow: none;
}
.page:has(.page-head) .progress { opacity: 0; }

body.is-scrolled .page:has(.page-head) .header {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px) saturate(1.7);
    -webkit-backdrop-filter: blur(18px) saturate(1.7);
    border-bottom-color: rgba(226, 233, 237, .85);
    box-shadow: 0 4px 20px rgba(13, 61, 85, .06);
}
body.is-scrolled .page:has(.page-head) .nav__link { color: var(--muted); }
body.is-scrolled .page:has(.page-head) .nav__link:hover {
    color: var(--navy); background: var(--surface);
}
body.is-scrolled .page:has(.page-head) .nav__link.active {
    color: var(--navy); background: var(--surface-2);
}
body.is-scrolled .page:has(.page-head) .lang__toggle {
    background: var(--surface);
    border-color: var(--line);
    color: var(--navy);
}
body.is-scrolled .page:has(.page-head) .burger {
    background: var(--surface);
    border-color: var(--line);
}
body.is-scrolled .page:has(.page-head) .burger span { background: var(--navy); }
body.is-scrolled .page:has(.page-head) .brand__logo {
    mix-blend-mode: normal;
    filter: none;
}
body.is-scrolled .page:has(.page-head) .header__cta {
    background: var(--navy);
    color: var(--white);
}
body.is-scrolled .page:has(.page-head) .progress { opacity: 1; }

/* ---------- Секции ------------------------------------------------------ */

.section { padding: clamp(3.5rem, 8vh, 6.5rem) 0; }
.section--alt { background: var(--surface); }
.section--narrow { padding-top: calc(var(--header-h) + 3.5rem); }
.section--narrow .container { max-width: 72ch; }

.section__head { max-width: 56ch; margin-bottom: clamp(2.2rem, 4vh, 3.2rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { margin-bottom: .5rem; } /* ::after gold rule — по-горе */
.section__sub { color: var(--muted); margin: 0; }
.section__foot { margin-top: 2.6rem; }

.split {
    display: grid;
    grid-template-columns: 1.35fr .9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.split--wide { grid-template-columns: 1.5fr .9fr; }

/* ---------- Карти ------------------------------------------------------- */

.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 1.6rem; }

.card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

/* ---------- Editorial index (сфери) ------------------------------------ */

.index-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.index-row {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: grid;
    grid-template-columns: 3.2rem 3rem minmax(0, 1fr) auto;
    gap: clamp(1rem, 2.5vw, 1.6rem);
    align-items: center;
    padding: clamp(1.25rem, 2.4vh, 1.7rem) .2rem;
    border-bottom: 1px solid var(--line);
    transition: background .3s var(--ease);
    overflow: hidden;
}
.index-row::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 207, 160, .12), transparent 55%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
}
.index-row:hover::before { opacity: 1; }
.index-row:hover { background: rgba(240, 246, 249, .55); }

.index-row__num {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold-2);
    letter-spacing: .02em;
    line-height: 1;
}

.index-row__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--navy);
    transition: background .3s var(--ease), color .3s var(--ease);
}
.index-row:hover .index-row__icon {
    background: var(--navy);
    color: var(--gold-soft);
}
.index-row__icon .practice-icon,
.index-row__icon .practice-icon svg {
    width: 22px; height: 22px;
    display: block;
}

.index-row__title {
    margin: 0 0 .25rem;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
    transition: color .25s var(--ease);
}
.index-row:hover .index-row__title { color: var(--navy-3); }

.index-row__text {
    margin: 0;
    font-size: .95rem;
    color: var(--muted);
    max-width: 62ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.index-row__go {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--ui);
    font-size: .82rem; font-weight: 700;
    color: var(--navy-3);
    white-space: nowrap;
    transform: translateX(0);
    transition: transform .3s var(--ease-out);
}
.index-row__more { color: var(--muted-2); }
.index-row:hover .index-row__go { transform: translateX(4px); }

/* Статии — editorial rows */
.index-row--article {
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
}
.index-row__date {
    font-family: var(--display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--muted-2);
    white-space: nowrap;
}
.index-row__tags {
    display: flex; flex-wrap: wrap; gap: .35rem .7rem;
    list-style: none; padding: 0; margin: .7rem 0 0;
}
.index-row__tags li {
    font-family: var(--display);
    font-size: .68rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--gold-2);
}

.card--practice { display: flex; flex-direction: column; overflow: hidden; }
.card--practice::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-soft));
    transform: scaleX(0); transform-origin: left;
    transition: transform .45s var(--ease-out);
}
.card--practice:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line-2);
}
.card--practice:hover::before { transform: scaleX(1); }

.card__icon {
    display: grid; place-items: center;
    width: 54px; height: 54px; margin-bottom: 1.3rem;
    border-radius: var(--r);
    background: var(--surface-2);
    color: var(--navy);
    transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-out);
}
.card__icon .practice-icon,
.card__icon .practice-icon svg {
    width: 26px; height: 26px;
    display: block;
}
.card--practice:hover .card__icon {
    background: var(--navy);
    color: var(--gold-soft);
    transform: scale(1.05);
}

.practice-icon {
    display: inline-grid; place-items: center;
    line-height: 0;
}
.practice-icon svg {
    width: 1em; height: 1em;
}

.card__title { margin-bottom: .5rem; }
.card__text { color: var(--muted); font-size: .95rem; flex: 1; }
.card__more {
    display: inline-flex; align-items: center; gap: .45rem;
    margin-top: 1.4rem;
    font-family: var(--display); font-size: .87rem; font-weight: 700;
    color: var(--navy-3);
}
.card__more span { transition: transform .3s var(--ease-out); }
.card--practice:hover .card__more span,
.card--article:hover .card__more span { transform: translateX(4px); }

/* Статии */
.card--article { display: flex; flex-direction: column; }
.card--article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card__date {
    display: inline-block; margin-bottom: .8rem;
    font-family: var(--display); font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; color: var(--muted-2);
}
.card--article .card__title { font-size: 1.2rem; line-height: 1.3; }
.card--article .card__title a:hover { color: var(--navy-3); }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tags .tag {
    margin: 0; padding: .2rem .65rem;
    background: var(--surface);
    color: var(--muted);
    font-size: .68rem; letter-spacing: .04em;
}
.tags .tag::before { display: none; }

/* ---------- Как работим ------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.2rem, 3vw, 2.4rem);
    list-style: none; padding: 0; margin: 0;
    counter-reset: step;
}
.steps li {
    position: relative;
    counter-increment: step;
    padding-top: 3.9rem;
}
.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-family: var(--display); font-size: .95rem; font-weight: 800;
    color: var(--navy);
}
/* Свързваща линия между стъпките */
.steps li::after {
    content: "";
    position: absolute; top: 26px; left: 62px; right: -1.2rem;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Екип -------------------------------------------------------- */

.card--person {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 1.6rem;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(226, 233, 237, .9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .65) inset;
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.card--person:hover {
    border-color: rgba(232, 207, 160, .45);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, .65) inset;
}
.person__photo { position: relative; }
.person__photo img {
    width: 148px; height: 186px;
    object-fit: cover;
    border-radius: var(--r);
    box-shadow: 0 0 0 1px rgba(13, 61, 85, .08);
}
.person__initials {
    display: grid; place-items: center;
    width: 148px; height: 186px;
    border-radius: var(--r);
    background: linear-gradient(160deg, var(--navy-2), var(--navy-deep));
    color: var(--gold-soft);
    font-family: var(--display); font-size: 2.4rem; font-weight: 600;
    letter-spacing: .02em;
}
.person__name { font-size: 1.45rem; font-weight: 600; margin-bottom: .35rem; }
.person__role {
    display: inline-block; margin-bottom: .95rem;
    padding: 0;
    background: transparent;
    color: var(--gold-2);
    font-family: var(--display); font-size: .78rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
}
.person__bio { font-size: .94rem; color: var(--muted); margin-bottom: 1rem; }
.person__meta { font-size: .88rem; color: var(--muted); margin-bottom: .5rem; }
.person__meta strong {
    display: block;
    font-family: var(--display); font-size: .67rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2);
    margin-bottom: .1rem;
}
.person__links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .9rem; font-size: .9rem; }
.person__links a { color: var(--navy-3); font-weight: 600; }

/* ---------- Текст ------------------------------------------------------- */

.prose { max-width: 68ch; }
.prose p { font-size: 1.04rem; line-height: 1.78; color: var(--text); }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }

.checklist { list-style: none; padding: 0; margin: 0 0 2rem; }
.checklist li {
    position: relative;
    padding: .6rem 0 .6rem 2.3rem;
    font-size: .99rem;
}
.checklist li::before {
    content: "";
    position: absolute; left: 0; top: .95rem;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114a63' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.faq { display: flex; flex-direction: column; gap: .7rem; }
.faq__item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq__q {
    position: relative;
    display: block; list-style: none; cursor: pointer;
    padding: 1.1rem 3.2rem 1.1rem 1.3rem;
    font-family: var(--display); font-size: 1rem; font-weight: 700;
    line-height: 1.4; color: var(--navy);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after, .faq__q::before {
    content: "";
    position: absolute; right: 1.3rem; top: 50%;
    width: 12px; height: 2px; border-radius: 2px;
    background: var(--navy-3);
}
.faq__q::before { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq__item[open] .faq__q::before { transform: rotate(0); }
.faq__a {
    color: var(--muted); font-size: .96rem; line-height: 1.72;
    padding: 0 3.2rem 1.2rem 1.3rem; margin: 0;
}

.disclaimer {
    margin-top: 2.5rem; padding: 1.1rem 1.3rem;
    background: var(--surface); border-radius: var(--r);
    font-size: .87rem; line-height: 1.65; color: var(--muted);
}

.article__meta {
    display: flex; flex-wrap: wrap; gap: .7rem;
    font-size: .86rem; color: var(--muted-2);
    margin-bottom: 2.2rem; padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}
.article__meta a { color: var(--navy-3); font-weight: 600; }
.page-head .article__meta {
    color: var(--on-navy-dim);
    border-bottom-color: rgba(232, 240, 244, .16);
    margin-bottom: 0;
}
.page-head .article__meta a { color: var(--gold-soft); }
.article__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.6rem; }
.section--article { padding-top: clamp(2.4rem, 5vh, 3.5rem); }
.empty { color: var(--muted-2); }

.side-box {
    margin-top: 1.5rem; padding: 1.6rem;
    background: var(--surface); border-radius: var(--r-lg);
}
.side-box__title {
    font-family: var(--display); font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
    margin: 0 0 .9rem;
}
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li + li { border-top: 1px solid var(--line-2); }
.side-list a {
    display: block; padding: .7rem 0; font-size: .93rem;
    transition: color .25s var(--ease), padding-left .3s var(--ease-out);
}
.side-list a:hover { color: var(--navy-3); padding-left: .35rem; }

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

.contact-list { margin: 0 0 2.2rem; display: grid; gap: .7rem; }
.contact-list__row {
    display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem;
    padding: 1.15rem 1.35rem;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(226, 233, 237, .9);
    border-radius: var(--r);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
}
.contact-list dt {
    font-family: var(--display); font-size: .7rem; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; color: var(--gold-2);
    padding-top: .2rem;
}
.contact-list dd { margin: 0; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.contact-list address { font-style: normal; }
.link { color: var(--navy-3); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.map { margin-top: 2rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Екран преди зареждане на картата — фонът имитира карта, за да се разбира
   какво стои зад бутона, без да се тегли нищо от Google. */
.map__gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-height: 340px;
    padding: 2rem 1.5rem;
    text-align: center;
    background:
        linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 34px,
        linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 34px 100%,
        radial-gradient(420px 260px at 50% 45%, var(--surface-2), transparent 70%),
        var(--surface);
}
.map__pin {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-sm);
    color: var(--navy-3);
    font-size: 1.35rem;
}
.map__address {
    margin: .3rem 0 0;
    font-family: var(--display);
    font-weight: 700;
    color: var(--navy);
}
.map__note {
    margin: 0;
    max-width: 46ch;
    font-size: .85rem;
    line-height: 1.6;
    color: var(--muted);
}
.map__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-top: .5rem;
}
.map__actions .btn { padding: .72rem 1.3rem; font-size: .88rem; }

@media (max-width: 620px) {
    .map__gate { min-height: 280px; padding: 1.6rem 1.1rem; }
    .map iframe { height: 280px; }
}

.social { display: flex; gap: .55rem; flex-wrap: wrap; }
.social__link {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(245, 248, 250, .7);
    border: 1px solid rgba(255, 255, 255, .65);
    color: var(--navy);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset;
    transition: background .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease), transform .25s var(--ease-out);
}
.social__link:hover { transform: translateY(-2px); color: var(--white); border-color: transparent; }
.social__link--facebook:hover { background: #1877f2; }
.social__link--instagram:hover { background: #e4405f; }
.social__link--twitter:hover { background: #111111; }
.social__link--telegram:hover { background: #229ed9; }
.social__link--linkedin:hover { background: #0a66c2; }
.social__link--youtube:hover { background: #ff0000; }
.social__link--viber:hover { background: #7360f2; }
.social__link--whatsapp:hover { background: #25d366; }
.social__link--pending {
    opacity: .45;
    cursor: default;
    pointer-events: none;
}

.brand-icon {
    display: inline-grid; place-items: center;
    width: 1.15rem; height: 1.15rem;
    line-height: 0;
}
.brand-icon svg { width: 100%; height: 100%; display: block; }
.dock__item .brand-icon { width: 1.25rem; height: 1.25rem; }

/* ---------- Форма ------------------------------------------------------- */

.form-card {
    position: sticky; top: calc(var(--header-h) + 1.5rem);
    padding: 2rem;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg), 0 1px 0 rgba(255, 255, 255, .7) inset;
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
}
.form-card__title { font-size: 1.35rem; margin-bottom: .4rem; }
.form-card__note {
    font-size: .86rem; line-height: 1.6; color: var(--muted);
    margin-bottom: 1.5rem; padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.form { display: flex; flex-direction: column; gap: 1.05rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label {
    font-family: var(--display); font-size: .74rem; font-weight: 700;
    letter-spacing: .03em; color: var(--muted);
}
.field__input {
    width: 100%;
    padding: .82rem 1rem;
    font-family: var(--sans); font-size: .95rem; color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field__input::placeholder { color: var(--muted-2); }
.field__input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--navy-3);
    box-shadow: 0 0 0 4px rgba(29, 84, 116, .1);
}
.field__input--area { resize: vertical; min-height: 118px; line-height: 1.6; }
select.field__input { cursor: pointer; }

.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .85rem; line-height: 1.55; color: var(--muted); }
.check input { margin-top: .25rem; flex: none; accent-color: var(--navy); width: 17px; height: 17px; }

.form__error {
    padding: .7rem .9rem; border-radius: var(--r-sm);
    background: #fdf1f0; color: #9a3029;
    font-size: .87rem; margin: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 2rem 0; }
.form-success__icon {
    display: grid; place-items: center;
    width: 66px; height: 66px; margin: 0 auto 1.3rem;
    border-radius: 50%;
    background: var(--surface-2); color: var(--navy);
    font-size: 1.6rem;
    animation: pop .5s var(--ease-out) backwards;
}
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); font-size: .95rem; }

/* ---------- Зареждане --------------------------------------------------- */

.loading {
    display: flex; align-items: center; gap: 1rem;
    padding: 3rem 0;
    color: var(--muted);
    font-size: .95rem;
}
.loading__spinner {
    position: relative;
    width: 36px; height: 36px; flex: none;
}
.loading__ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: var(--navy);
    border-right-color: rgba(13, 61, 85, .18);
    animation: spin .75s linear infinite;
}
.loading__ring--inner {
    inset: 7px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: var(--gold-2);
    border-left-color: rgba(196, 154, 74, .4);
    animation: spin 1.1s linear infinite reverse;
}
.loading__label {
    font-family: var(--ui);
    letter-spacing: .02em;
}

/* ---------- CTA лента --------------------------------------------------- */

.cta { padding: clamp(1rem, 3vh, 2.5rem) 0 clamp(3rem, 7vh, 5rem); }
.cta__inner {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2.5rem; flex-wrap: wrap;
    padding: clamp(2.2rem, 5vw, 3.6rem);
    border-radius: var(--r-lg);
    background:
        radial-gradient(700px 400px at 88% -30%, rgba(58, 168, 193, .22), transparent 62%),
        radial-gradient(500px 280px at 10% 110%, rgba(232, 207, 160, .18), transparent 55%),
        linear-gradient(140deg, #1a6b8c 0%, var(--navy-deep) 100%);
    border: 1px solid rgba(242, 250, 252, .2);
    color: var(--on-navy);
    box-shadow: var(--shadow-navy), 0 1px 0 rgba(255, 255, 255, .08) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}
.cta__inner::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, .08), transparent 40%, transparent 60%, rgba(232, 207, 160, .08));
    pointer-events: none;
}
.cta__title { color: var(--white); margin-bottom: .4rem; max-width: 18ch; }
.cta__sub { color: var(--on-navy-dim); margin: 0; max-width: 48ch; }

/* ---------- Футър ------------------------------------------------------- */

.footer {
    background: var(--navy-deep);
    color: var(--on-navy-dim);
    padding: clamp(3rem, 7vh, 4.5rem) 0 1.8rem;
    font-size: .93rem;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer a { color: var(--on-navy-dim); transition: color .25s var(--ease); }
.footer a:hover { color: var(--gold-soft); }

.brand--footer {
    display: inline-block; padding: .8rem 1rem;
    background: var(--white); border-radius: var(--r);
}
.brand--footer .brand__logo { width: 176px; }

.footer__col { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.footer__title {
    font-family: var(--display); font-size: .7rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft);
    margin: 0 0 .9rem;
}
.footer__tagline { margin-top: 1.2rem; max-width: 32ch; color: var(--on-navy-dim); font-size: .93rem; }
.footer__address { font-style: normal; }
.footer__bottom {
    margin-top: clamp(2.4rem, 5vh, 3.5rem); padding-top: 1.5rem;
    border-top: 1px solid var(--line-navy);
    display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    font-size: .82rem; line-height: 1.65; color: #7d94a3;
}
.footer__disclaimer { max-width: 62ch; margin: 0; }
.footer__legal { margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.footer .social__link { background: rgba(232, 240, 244, .08); border-color: var(--line-navy); color: var(--on-navy-dim); }
.footer .social__link:hover { color: var(--white); border-color: transparent; }
.footer .social__link--facebook:hover { background: #1877f2; }
.footer .social__link--instagram:hover { background: #e4405f; }
.footer .social__link--twitter:hover { background: #111111; }
.footer .social__link--telegram:hover { background: #229ed9; }
.footer .social__link--linkedin:hover { background: #0a66c2; }
.footer .social__link--youtube:hover { background: #ff0000; }
.footer .social__link--viber:hover { background: #7360f2; }
.footer .social__link--whatsapp:hover { background: #25d366; }
.footer .social__link--pending { opacity: .4; }

/* ---------- Грешка от Blazor -------------------------------------------- */

#blazor-error-ui {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: var(--navy); color: var(--white);
    padding: .9rem 1.3rem; font-size: .88rem;
}
#blazor-error-ui .reload { text-decoration: underline; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

/* =========================================================================
   Ефекти
   ========================================================================= */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal][style*="--d"] { transition-delay: var(--d); }

.progress {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: 3px; z-index: 99; pointer-events: none;
}
.progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--navy-3), var(--gold-soft));
    transform: scaleX(0); transform-origin: left;
    will-change: transform;
}

/* Плаващ контактен док */
.dock {
    position: fixed;
    right: max(clamp(1rem, 2.5vw, 2rem), env(safe-area-inset-right, 0px));
    bottom: max(clamp(1rem, 2.5vw, 2rem), env(safe-area-inset-bottom, 0px));
    z-index: 80;
    display: flex; flex-direction: column; gap: .6rem; align-items: flex-end;
}
.dock__item {
    position: relative;
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .7);
    color: var(--navy);
    font-size: 1.05rem;
    box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, .8) inset;
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    opacity: 0; transform: translateY(14px) scale(.9);
    animation: dock-in .5s var(--ease-out) forwards;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease-out), border-color .25s var(--ease);
}
.dock__item:hover { transform: translateY(-3px); }
.dock__item--primary {
    background: var(--navy); border-color: var(--navy); color: var(--white);
    box-shadow: 0 10px 26px rgba(13, 61, 85, .3);
}
.dock__item--viber:hover { background: #7360f2; border-color: #7360f2; color: var(--white); }
.dock__item--whatsapp:hover { background: #25d366; border-color: #25d366; color: var(--white); }
.dock__item--telegram:hover { background: #229ed9; border-color: #229ed9; color: var(--white); }
.dock__item--facebook:hover { background: #1877f2; border-color: #1877f2; color: var(--white); }
.dock__item--instagram:hover { background: #e4405f; border-color: #e4405f; color: var(--white); }
.dock__item--email:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dock__item:nth-child(1) { animation-delay: .7s; }
.dock__item:nth-child(2) { animation-delay: .78s; }
.dock__item:nth-child(3) { animation-delay: .86s; }
.dock__item:nth-child(4) { animation-delay: .94s; }
.dock__item:nth-child(5) { animation-delay: 1.02s; }
.dock__item:nth-child(6) { animation-delay: 1.1s; }
@keyframes dock-in { to { opacity: 1; transform: none; } }

.dock__label {
    position: absolute; right: calc(100% + .6rem);
    white-space: nowrap;
    padding: .42rem .75rem; border-radius: var(--r-pill);
    background: var(--navy); color: var(--white);
    font-family: var(--display); font-size: .78rem; font-weight: 600;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateX(6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease-out);
    pointer-events: none;
}
.dock__item:hover .dock__label { opacity: 1; transform: none; }

.vcard-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    margin-top: 1.4rem; padding: .75rem 1.2rem;
    border: 1px solid var(--line-2);
    border-radius: var(--r-pill);
    background: var(--white);
    font-family: var(--display); font-size: .87rem; font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease-out);
}
.vcard-btn:hover { border-color: var(--navy-3); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

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

@media (max-width: 1080px) {
    .intro-band__inner { grid-template-columns: 1fr; }
    .intro-band__contact { justify-content: flex-start; }
    .split, .split--wide { grid-template-columns: 1fr; }
    .form-card { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
    .stats__item + .stats__item::before { display: none; }
    .stats__item:nth-child(even) { border-left: 1px solid rgba(232, 207, 160, .25); }
    .steps li::after { display: none; }
    .index-row {
        grid-template-columns: 2.4rem minmax(0, 1fr) auto;
        gap: .9rem 1rem;
    }
    .index-row--article {
        grid-template-columns: 5.8rem minmax(0, 1fr) auto;
    }
    .index-row__icon { display: none; }
    .index-row__more { display: none; }
    .hero--immersive::after { display: none; }
    .hero__inner { padding-left: 0; }
    .hero__photo { object-position: 70% center; }
    .hero__veil {
        background:
            linear-gradient(180deg, rgba(8, 47, 66, .5) 0%, rgba(13, 61, 85, .68) 45%, rgba(10, 47, 66, .86) 100%),
            linear-gradient(105deg, rgba(8, 47, 66, .82) 0%, rgba(22, 90, 120, .45) 100%);
    }
}

@media (max-width: 860px) {
    :root { --header-h: 68px; }

    .burger { display: inline-grid; }
    .header__actions > .lang { display: none; }

    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: .2rem;
        padding: 1rem var(--gutter) 1.8rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        transform: translateY(-104%);
        transition: transform .42s var(--ease-out);
    }
    .nav--open { transform: translateY(0); }
    .nav__link { font-size: 1.05rem; padding: .85rem 1rem; border-radius: var(--r-sm); }
    .nav__mobile-extra { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.2rem; }
    .nav__mobile-extra .lang { align-self: flex-start; }

    /* Мобилното меню е бяло — линковете трябва да са тъмни и върху immersive. */
    .page:has(.hero--immersive) .nav__link,
    .page:has(.page-head) .nav__link { color: var(--muted); }
    .page:has(.hero--immersive) .nav__link:hover,
    .page:has(.page-head) .nav__link:hover {
        color: var(--navy); background: var(--surface);
    }
    .page:has(.hero--immersive) .nav__link.active,
    .page:has(.page-head) .nav__link.active {
        color: var(--navy); background: var(--surface-2);
    }
    .page:has(.hero--immersive) .nav__mobile-extra .lang__toggle,
    .page:has(.page-head) .nav__mobile-extra .lang__toggle {
        background: var(--surface);
        border-color: var(--line);
        color: var(--navy);
    }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding: 2.8rem 0; }
    .form__row { grid-template-columns: 1fr; }
    .card--person { grid-template-columns: 1fr; }
    .person__photo img, .person__initials { width: 100%; height: 230px; }
    .contact-list__row { grid-template-columns: 1fr; gap: .35rem; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero--immersive { min-height: auto; padding-bottom: 3rem; }
    .hero__inner { padding-top: calc(var(--header-h) + 1.6rem); }
    .hero__brand-name { font-size: clamp(1.35rem, 6vw, 1.7rem); }
    .hero__title { font-size: clamp(1.85rem, 8vw, 2.4rem); max-width: none; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; min-height: 48px; }
    .hero__watermark { display: none; }
    .page-head { padding-bottom: 2.2rem; }
    .page-head h1 { max-width: none; font-size: clamp(1.85rem, 8vw, 2.5rem); }
    .intro-band__contact .btn { width: 100%; min-height: 48px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats__item:nth-child(odd) { border-left: 0; }
    .index-row { min-height: 64px; padding-block: 1.1rem; }
    .dock { gap: .45rem; }
    .dock__item { width: 48px; height: 48px; }
    .dock__label { display: none; }
    .cta__inner { padding: 1.8rem; flex-direction: column; align-items: stretch; }
    .cta__inner .btn { width: 100%; min-height: 48px; }
}

/* ---------- Онлайн резервации ------------------------------------------ */

.booking { max-width: 1100px; }
.booking__steps {
    display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
    list-style: none; padding: 0; margin: 0 0 1.8rem;
    font-family: var(--display); font-size: .82rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2);
}
.booking__steps li { display: inline-flex; align-items: center; gap: .45rem; }
.booking__steps span {
    display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--white);
    font-size: .75rem;
}
.booking__steps .is-active { color: var(--navy); }
.booking__steps .is-active span {
    background: var(--navy); color: var(--white); border-color: var(--navy);
}
.booking__steps .is-done { color: var(--gold-2); }
.booking__steps .is-done span {
    background: rgba(232, 207, 160, .35); border-color: var(--gold-soft); color: var(--navy);
}

.booking__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: start;
}
.booking__aside { display: flex; flex-direction: column; gap: 1.2rem; }
.booking__success { max-width: 40rem; margin-inline: auto; text-align: center; }

.bcal__nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; margin-bottom: 1rem;
}
.bcal__month {
    margin: 0; font-family: var(--display); font-size: 1.2rem; font-weight: 600;
    text-transform: capitalize;
}
.bcal__nav-btn {
    width: 44px; height: 44px; border-radius: var(--r-sm);
    border: 1px solid var(--line); background: var(--white);
    font-size: 1.3rem; color: var(--navy); cursor: pointer;
}
.bcal__nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.bcal__weekdays {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem;
    margin-bottom: .45rem;
    font-family: var(--display); font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2);
    text-align: center;
}
.bcal__grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem;
}
.bcal__cell {
    min-height: 44px; border-radius: var(--r-sm);
    border: 1px solid transparent; background: transparent;
    font-family: var(--ui); font-size: .95rem; font-weight: 600;
    color: var(--muted-2); cursor: default;
}
.bcal__cell--empty { visibility: hidden; }
.bcal__cell--free {
    background: var(--surface); border-color: var(--line);
    color: var(--navy); cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease-out);
}
.bcal__cell--free:hover {
    border-color: var(--navy-3); background: var(--surface-2); transform: translateY(-1px);
}
.bcal__cell.is-selected {
    background: var(--navy); border-color: var(--navy); color: var(--white);
}
.bcal__cell:disabled { opacity: .45; }

.bslots { display: flex; flex-wrap: wrap; gap: .55rem; }
.bslots__chip {
    min-height: 44px; min-width: 4.5rem; padding: .55rem .9rem;
    border-radius: var(--r-pill); border: 1px solid var(--line);
    background: var(--white); color: var(--navy);
    font-family: var(--ui); font-size: .9rem; font-weight: 600; cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.bslots__chip:hover { border-color: var(--navy-3); background: var(--surface); }
.bslots__chip.is-selected {
    background: var(--gold-soft); border-color: var(--gold-2); color: var(--navy-deep);
}

.field__hint { display: block; margin-top: .35rem; font-size: .8rem; color: var(--muted-2); }
.bfiles { list-style: none; padding: 0; margin: .7rem 0 0; font-size: .88rem; color: var(--muted); }
.bfiles li span { color: var(--muted-2); }

@media (max-width: 860px) {
    .booking__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    /* Спинърите и boot лентата остават — иначе изглеждат „счупени“. */
    .loading__ring,
    .boot__ring,
    .boot__ring::after,
    .boot__bar span {
        animation-duration: .9s !important;
        animation-iteration-count: infinite !important;
    }
    .boot__bar span { animation-duration: 1.3s !important; }
    .boot__ring::after { animation-duration: 1.35s !important; }
    .loading__ring--inner { animation-duration: 1.1s !important; }
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .dock__item { opacity: 1; transform: none; }
    .hero__title em::after { animation: none; }
    .hero__photo { animation: none; transform: scale(1.02); }
    .boot__mark img { animation: none; }
    .btn::after { display: none; }
}
