/* =========================================================================
   TLS Theme - main.css (дизайн 2.0, 2026-10-17)
   Структурата и цветовете са от стария сайт, изгледът - по одобрения макет.
   Точки на прекъсване: 1024px (таблет), 760px (телефон).
   Мобилно правило: основният текст е поне 17px, междуредие 1.7, подравнен вляво.
   ========================================================================= */

/* ---------- Шрифтове ---------- */
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/comfortaa-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/comfortaa-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/nunito-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токени ---------- */
:root {
	--c-primary: #8b44aa;
	--c-primary-dark: #6d2f8e;
	--c-deep: #5b2378;
	--c-night: #3a1054;
	--c-lilac: #c892bf;
	--c-accent: #cc3366;
	--c-accent-dark: #a3214d;
	--c-blush: #ffefed;
	--c-soft: #faf6fc;
	--c-tint: #f6ecfa;
	--c-line: #efe4f3;
	--c-ink: #2a1836;
	--c-text: #4f4658;
	--c-muted: #6d6475;
	--c-white: #fff;

	--f-display: "Comfortaa", system-ui, sans-serif;
	--f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1200px;
	--gutter: 32px;
	--section: 96px;
	--header-h: 84px;
	--r-sm: 14px;
	--r: 24px;
	--r-lg: 28px;
	--shadow: 0 1px 2px rgba(42, 24, 54, .06), 0 12px 32px -12px rgba(91, 35, 120, .2);
	--shadow-lg: 0 30px 60px -20px rgba(42, 12, 60, .35);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--grad: linear-gradient(120deg, var(--c-night) 0%, var(--c-primary-dark) 55%, var(--c-primary) 100%);
	/* Тъмният фон с меки петна - hero, вътрешни hero, призив за действие, карта за контакт, широката услуга. */
	--hero-bg:
		radial-gradient(42% 60% at 88% 18%, rgba(204, 51, 102, .45) 0%, transparent 70%),
		radial-gradient(50% 70% at 8% 100%, rgba(139, 68, 170, .7) 0%, transparent 70%),
		radial-gradient(40% 50% at 55% 0%, rgba(200, 146, 191, .25) 0%, transparent 70%),
		linear-gradient(160deg, #2a0b3d 0%, var(--c-night) 45%, #4a1866 100%);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.7; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-family: var(--f-display); font-weight: 700; line-height: 1.2; color: var(--c-ink); letter-spacing: -.01em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
strong, b { font-weight: 800; color: var(--c-ink); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-lilac); color: var(--c-white); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--c-white); color: var(--c-primary); border-radius: 12px; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.row { display: flex; flex-wrap: wrap; margin-inline: -24px; align-items: center; row-gap: 32px; }
.row--inner { align-items: stretch; margin-inline: -10px; row-gap: 20px; }
.col { flex: 0 0 auto; width: 100%; min-width: 0; padding-inline: 24px; }
.row--inner > .col { padding-inline: 10px; }
.col--20 { width: 20%; } .col--25 { width: 25%; } .col--33 { width: 33.333%; } .col--40 { width: 40%; }
.col--50 { width: 50%; } .col--60 { width: 60%; } .col--66 { width: 66.666%; } .col--100 { width: 100%; }
.col > * + * { margin-top: 20px; }
.col > .heading + .prose, .col > .eyebrow + .heading, .col > .heading + .heading__sub { margin-top: 0; }

/* ---------- Секции ---------- */
.section { position: relative; padding-block: var(--section); }
.section--pink { background: var(--c-blush); }
.section--soft { background: var(--c-soft); }
.section--center .section-head, .section--center > .container > .row > .col--100 > .heading, .section--center > .container > .row > .col--100 > .prose { text-align: center; margin-inline: auto; }
.section--center > .container > .row > .col--100 > .prose { max-width: 760px; }
/* Центрирана секция: надписът над заглавието - също в средата, с черти от двете страни. */
.section--center > .container > .row > .col--100 > .eyebrow { display: flex; justify-content: center; }
.section--center > .container > .row > .col--100 > .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section__wave { display: none; }

/* Тъмна лента (цитат) */
.section--parallax { color: var(--c-white); background: var(--grad); overflow: hidden; isolation: isolate; }
.section--parallax::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg) center / cover no-repeat; opacity: .14; mix-blend-mode: luminosity; }
.section--parallax .heading { color: var(--c-white); }
.section--parallax .prose { color: rgba(255, 255, 255, .88); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-body); font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section--parallax .eyebrow, .page-hero .eyebrow, .video-hero .eyebrow { color: #ffc2dc; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .heading { margin-bottom: 14px; }
.section-head .prose { color: var(--c-text); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-head--split > div { max-width: 640px; }

/* ---------- Hero на подстраница ---------- */
.page-hero { display: flex; align-items: center; min-height: 380px; padding: 40px 0 64px; }
.page-hero__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; width: 100%; }
.page-hero__text { max-width: 760px; }
.page-hero__title { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.02em; color: var(--c-white); }
.page-hero__lead { max-width: 680px; margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.page-hero .page-hero__actions { flex: none; margin: 0; }
.breadcrumbs { margin: 0 0 18px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-white); }
.breadcrumbs [aria-current] { color: var(--c-white); }

/* „За нас“ (начална): снимка с цветна сянка и плаващи карти, предимства в карти. */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 0 40px 24px; }
.about__media::before { content: ""; position: absolute; left: 0; top: 32px; right: 40px; bottom: 0; z-index: 0; border-radius: 32px; background: var(--hero-bg); transform: rotate(-3deg); }
.about__photo { position: relative; z-index: 1; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about__chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(42, 12, 60, .45); line-height: 1.25; color: var(--c-ink); animation: hero-float 6s ease-in-out infinite; }
.about__chip strong { display: block; font-family: var(--f-display); font-size: 16px; color: var(--c-deep); }
.about__chip span:not(.about__chip-icon) { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.about__chip--since { top: -18px; right: -14px; flex-direction: column; align-items: flex-start; gap: 0; }
.about__chip--since strong { font-size: 30px; line-height: 1.1; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__chip--award { left: -6px; bottom: 12px; animation-delay: -3s; }
.about__chip-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: var(--c-white); }
.about__chip-icon .icon { width: 20px; height: 20px; }
.about__logo { position: absolute; z-index: 2; right: 8px; top: 50%; padding: 14px 20px; border-radius: 18px; background: var(--c-white); box-shadow: 0 18px 40px -16px rgba(42, 12, 60, .45); }
.about__logo img { width: 150px; height: auto; }
.about__text .prose { margin: 20px 0 26px; }
.about__features { display: grid; gap: 12px; margin: 0 0 30px; list-style: none; }
.about__features li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-white); font-weight: 700; line-height: 1.4; color: var(--c-ink); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.about__features li:hover { border-color: var(--c-lilac); box-shadow: var(--shadow); transform: translateX(4px); }
.about__feature-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--c-tint); color: var(--c-primary); }
.about__feature-icon .icon { width: 21px; height: 21px; }
.about .btn-wrap { margin: 0; }

/* Мисия („За нас“): заглавие + цитат вляво, текст вдясно, ценности в карти. */
.mission__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.mission__quote { position: relative; margin: 32px 0 0; padding: 28px 30px 28px 34px; border-radius: 24px; background: var(--c-soft); font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--c-deep); }
.mission__quote::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--c-accent), var(--c-primary)); }
.mission__text { padding-top: 34px; font-size: 18px; }
.mission__values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; list-style: none; }
.mission__value { padding: 28px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.mission__value:hover { border-color: var(--c-lilac); box-shadow: var(--shadow); transform: translateY(-4px); }
.mission__value-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary) 100%); color: var(--c-white); box-shadow: 0 10px 22px -10px rgba(139, 68, 170, .8); }
.mission__value-icon .icon { width: 24px; height: 24px; }
.mission__value-title { margin: 0 0 8px; font-size: 20px; }
.mission__value-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-text); }
.stats--inline { margin: 0; padding: 0 0 96px; }

/* Екипът: името върху снимката, длъжността отдолу. */
.team { position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.team:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(42, 24, 54, .06), 0 28px 50px -18px rgba(91, 35, 120, .35); }
.team__img { transition: transform .6s var(--ease); }
.team:hover .team__img { transform: scale(1.04); }
.team__body { position: relative; z-index: 1; display: flex; flex-direction: column; background: var(--c-white); }
.team .team__bio { margin-top: auto; }
.team__position { margin-bottom: 14px !important; }

/* Базата: мозайка - първата снимка голяма. */
.section--gallery .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
.section--gallery .gallery > li:first-child { grid-column: span 2; grid-row: span 2; }
.section--gallery .gallery > li:nth-child(7) { grid-column: span 2; }
.section--gallery .gallery__link, .section--gallery .gallery > li { height: 100%; }
.section--gallery .gallery__img { height: 100%; aspect-ratio: auto; }
.section--gallery .gallery__link { border-radius: 22px; }
.cta-section.cta-section--last { padding-bottom: var(--section); }

/* Страница „Курсове“: карти със снимка, значка на езика и нивата. */
.course-cards__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; list-style: none; }
.course-cards__grid > li { grid-column: span 2; }
.course-cards__grid > li:nth-child(4) { grid-column: 2 / span 2; }
.course-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--c-line); border-radius: 26px; background: var(--c-white); color: var(--c-ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.course-card:hover { color: var(--c-ink); border-color: transparent; transform: translateY(-6px); box-shadow: 0 1px 2px rgba(42, 24, 54, .06), 0 28px 50px -18px rgba(91, 35, 120, .35); }
.course-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-card__media img { transform: scale(1.06); }
.course-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42, 11, 61, .45) 100%); }
.course-card__badge { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 15px; font-family: var(--f-display); font-size: 16px; font-weight: 700; color: var(--c-white); background: var(--c-primary); box-shadow: 0 10px 22px -8px rgba(20, 4, 32, .6); }
.course-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.course-card__levels { align-self: flex-start; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--c-tint); color: var(--c-deep); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.course-card__title { margin-bottom: 8px; font-family: var(--f-display); font-size: 23px; font-weight: 700; line-height: 1.25; }
.course-card__text { margin-bottom: 20px; font-size: 16px; line-height: 1.6; color: var(--c-text); }
.course-card__more { margin-top: auto; font-weight: 800; color: var(--c-primary); }
.course-card__more span { display: inline-block; transition: transform .25s var(--ease); }
.course-card:hover .course-card__more span { transform: translateX(5px); }
.section--soft .icon-grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Страници на курсовете */
/* Снимката под hero-то и снимки с class framed: върху наклонена карта с тъмния фон. */
.hero-intro__media, .media--framed { position: relative; padding: 0 0 22px 22px; }
.hero-intro__media::before, .media--framed::before { content: ""; position: absolute; left: 0; top: 22px; right: 22px; bottom: 0; border-radius: 30px; background: var(--hero-bg); transform: rotate(-2.5deg); }
.hero-intro__media img, .media--framed .media__img { position: relative; border-radius: 26px; }
/* Нивата: лента с прогрес над всяка карта. */
.level { position: relative; overflow: hidden; padding: 26px 22px 22px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.level::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: calc(var(--i, 1) * 16.66%); border-radius: 0 4px 4px 0; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }
.level:nth-child(1) { --i: 1; } .level:nth-child(2) { --i: 2; } .level:nth-child(3) { --i: 3; } .level:nth-child(4) { --i: 4; } .level:nth-child(5) { --i: 5; } .level:nth-child(6) { --i: 6; }
.level:hover { border-color: var(--c-lilac); box-shadow: var(--shadow); transform: translateY(-3px); }
/* Сертификат след курса. */
.media--cert-badge { display: inline-block; padding: 14px; border-radius: 22px; background: var(--c-white); box-shadow: var(--shadow); }
.media--cert-badge .media__img { border-radius: 14px; }
.cert-photo .media__img { border-radius: 8px; box-shadow: 0 30px 60px -24px rgba(42, 12, 60, .45); transform: rotate(2deg); }

/* Други езици: карти с кода на езика; последната - тъмна, за друг език. */
.lang-grid__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.lang-grid__item { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.lang-grid__item:hover { border-color: var(--c-lilac); box-shadow: var(--shadow); transform: translateY(-4px); }
.lang-grid__code { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--c-white); box-shadow: 0 10px 22px -10px rgba(139, 68, 170, .8); }
.lang-grid__title { margin: 0 0 8px; font-size: 20px; }
.lang-grid__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-text); }
.lang-grid__item--more { color: var(--c-white); background: var(--hero-bg); border-color: transparent; }
.lang-grid__item--more .lang-grid__title { color: var(--c-white); }
.lang-grid__item--more .lang-grid__text { margin-bottom: 20px; color: rgba(255, 255, 255, .8); }
.lang-grid__item--more .lang-grid__code { background: rgba(255, 255, 255, .14); box-shadow: none; font-size: 26px; }
.lang-grid__item--more .btn { margin-top: auto; }
.lang-grid__outro { max-width: 760px; margin: 40px auto 0; text-align: center; }

/* Преводи: стъпки, срокове. */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: none; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--c-lilac) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; }
.step__num { position: absolute; top: -6px; left: calc(50% + 18px); z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--c-white); border-radius: 50%; background: var(--c-accent); font-size: 13px; font-weight: 800; color: var(--c-white); }
.step__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: var(--c-white); box-shadow: 0 14px 28px -12px rgba(139, 68, 170, .8); }
.step__icon .icon { width: 30px; height: 30px; }
.step__title { margin: 0 0 8px; font-size: 20px; }
.step__text { margin: 0 auto; max-width: 240px; font-size: 16px; line-height: 1.6; color: var(--c-text); }
.speed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
.speed__item { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 24px; background: var(--c-white); }
.speed__value { font-family: var(--f-display); font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--c-deep); }
.speed__item:first-child .speed__value { font-size: 24px; padding: 5px 0; }
.speed__title { font-size: 17px; font-weight: 800; color: var(--c-ink); }
.speed__text { font-size: 15px; color: var(--c-muted); }
.speed__item--featured { color: var(--c-white); background: var(--hero-bg); box-shadow: var(--shadow-lg); }
.speed__item--featured .speed__value { background: linear-gradient(90deg, #ffb3d1, #e9a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.speed__item--featured .speed__title { color: var(--c-white); }
.speed__item--featured .speed__text { color: rgba(255, 255, 255, .75); }
/* Кратки факти до текст: числото в градиент. */
.figure { border: 1px solid var(--c-line); }
.figure__value { background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Иконките в картите на вид документ - градиентни. */
.section--pink .icon-grid .lang-card--info .lang-card__code:not([style]) { background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: var(--c-white); box-shadow: 0 10px 22px -10px rgba(139, 68, 170, .8); }

/* Оферта (Cambridge): изпити + цена вляво, тъмна карта „Какво включва“ вдясно. */
.offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.offer__main { display: grid; gap: 16px; align-content: start; }
.offer__cards { display: grid; gap: 16px; list-style: none; }
.offer__card { display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-white); }
.offer__card strong { display: block; margin-bottom: 4px; font-family: var(--f-display); font-size: 21px; color: var(--c-ink); }
.offer__card span:last-child { font-size: 16px; color: var(--c-text); }
.offer__card-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: var(--c-white); box-shadow: 0 10px 22px -10px rgba(139, 68, 170, .8); }
.offer__card-icon .icon { width: 26px; height: 26px; }
.offer__price { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 24px; background: var(--c-white); border: 2px dashed var(--c-lilac); }
.offer__price-value { font-family: var(--f-display); font-size: 48px; font-weight: 700; line-height: 1; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offer__price-label { font-size: 17px; font-weight: 800; color: var(--c-ink); }
.offer__price-label small { display: block; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.offer__side { padding: 36px; border-radius: 28px; color: var(--c-white); background: var(--hero-bg); box-shadow: var(--shadow-lg); }
.offer__side-title { margin: 0 0 20px; font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.offer__checks { display: grid; gap: 14px; margin: 0 0 22px; list-style: none; }
.offer__checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; line-height: 1.45; }
.offer__checks .icon { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.offer__text { margin: 0 0 24px; color: rgba(255, 255, 255, .8); }
.offer .btn-wrap { margin: 0; }

/* Програми (Занималня): две карти една до друга. */
.programs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.program { overflow: hidden; border-radius: 28px; background: var(--c-white); box-shadow: var(--shadow); }
.program__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.program__media img { width: 100%; height: 100%; object-fit: cover; }
.program__age { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; font-weight: 800; color: var(--c-deep); }
.program__body { padding: 30px 32px 32px; font-size: 16px; line-height: 1.65; }
.program__body p { margin: 0 0 14px; }
.program__title { margin: 0 0 14px; font-size: 26px; }
.program__list { display: grid; gap: 10px; margin: 20px 0 24px; list-style: none; }
.program__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-ink); }
.program__list .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); }
.program__prices { display: grid; gap: 10px; margin: 0 0 18px; list-style: none; }
.program__prices li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 16px 18px; border-radius: 16px; background: var(--c-soft); }
.program__prices span { font-weight: 700; color: var(--c-muted); }
.program__prices strong { font-family: var(--f-display); font-size: 19px; color: var(--c-deep); }
.program__extra-title { margin: 0 0 8px !important; font-weight: 800; color: var(--c-ink); }
.program__extra { margin: 0 0 18px; padding-left: 20px; color: var(--c-text); font-size: 15px; }
.program__note { display: flex; gap: 10px; margin: 0 !important; padding: 14px 16px; border-radius: 16px; background: var(--c-blush); font-size: 15px; color: var(--c-ink); }
.program__note .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--c-accent); }

/* Призив за действие (начална): тъмна заоблена карта, вдясно - плаващи „Здравей!“ на различни езици. */
.cta-section { padding-bottom: 0; }
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 40px; min-height: 380px; padding: 64px; border-radius: 32px; box-shadow: var(--shadow-lg); }
.cta__title { margin: 0 0 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -.02em; color: var(--c-white); }
.cta__hl { background: linear-gradient(90deg, #ffb3d1 0%, #e9a8ff 55%, #c9b8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta__lead { max-width: 560px; margin: 0 0 30px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.cta .btn-wrap { margin: 0; }
.cta__phone .icon { width: 18px; height: 18px; }
.cta__bubbles { position: relative; align-self: stretch; min-height: 260px; list-style: none; }
.cta__bubbles li { position: absolute; padding: 10px 18px; border-radius: 18px 18px 18px 4px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--f-display); font-size: 18px; font-weight: 700; color: var(--c-white); white-space: nowrap; animation: hero-float 7s ease-in-out infinite; }
.cta__bubbles li:nth-child(1) { top: 4%; left: 18%; font-size: 24px; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); border-color: transparent; }
.cta__bubbles li:nth-child(2) { top: 26%; right: 0; animation-delay: -1s; }
.cta__bubbles li:nth-child(3) { top: 40%; left: 0; animation-delay: -2.5s; }
.cta__bubbles li:nth-child(4) { top: 58%; right: 10%; animation-delay: -3.5s; font-size: 20px; }
.cta__bubbles li:nth-child(5) { bottom: 6%; left: 14%; animation-delay: -4.5s; }
.cta__bubbles li:nth-child(6) { bottom: 0; right: 0; animation-delay: -5.5s; font-size: 15px; opacity: .8; }
.cta__bubbles li:nth-child(7) { top: 0; right: 4%; animation-delay: -6s; font-size: 15px; opacity: .8; }

/* Курс: въведение, етикети и снимка - в първата секция под hero-то. */
.hero-intro { padding-top: 56px; padding-bottom: 0; }
.hero-intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero-intro__lead { margin: 0; font-size: 20px; line-height: 1.7; color: var(--c-ink); }
.hero-intro .btn-wrap { margin-top: 28px; }
.hero-intro__media { margin: 0; }
.hero-intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; list-style: none; }
.chips li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); font-size: 15px; font-weight: 700; line-height: 1.3; }
.chips--light li { background: var(--c-tint); border-color: var(--c-line); color: var(--c-deep); }
.page-hero .btn-wrap { margin-top: 30px; }

/* ---------- Hero на началната страница ---------- */
/* Фон на hero-тата (началната и вътрешните): тъмно лилаво с меки петна + решетка от точки. */
.video-hero, .page-hero, .cta, .contact-card__info, .service--wide {
	position: relative; overflow: hidden; isolation: isolate; color: var(--c-white);
	background: var(--hero-bg);
}
.video-hero::before, .page-hero::before, .cta::before, .contact-card__info::before, .service--wide::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.video-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-block: 72px 150px; }
.video-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffd6e7; }
.video-hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff7aa8; box-shadow: 0 0 0 4px rgba(255, 122, 168, .25); }
.video-hero__title { margin: 0 0 22px; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.04; color: var(--c-white); letter-spacing: -.025em; }
.video-hero__hl { background: linear-gradient(90deg, #ffb3d1 0%, #e9a8ff 55%, #c9b8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.video-hero__lead { max-width: 560px; margin: 0 0 34px; font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.video-hero__media { position: relative; padding: 28px 0 28px 28px; }
.video-hero__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 32px; background: var(--c-deep); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 80px -30px rgba(10, 0, 20, .7), 0 0 0 8px rgba(255, 255, 255, .04); transform: rotate(1.5deg); }
.video-hero__poster, .video-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.video-hero__video { opacity: 0; transition: opacity .8s; }
.video-hero__video.is-playing { opacity: 1; }
.video-hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(42, 11, 61, .45) 100%); pointer-events: none; }
/* Значките плават около картата - стъкло. */
.video-hero__badges { list-style: none; }
.video-hero__badges li { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 12px; max-width: 280px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(42, 11, 61, .58); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 18px 40px -18px rgba(10, 0, 20, .6); font-size: 15px; font-weight: 700; line-height: 1.3; animation: hero-float 6s ease-in-out infinite; }
.video-hero__badges li:nth-child(1) { top: 0; left: -8px; }
.video-hero__badges li:nth-child(2) { top: 44%; right: -28px; animation-delay: -2s; }
.video-hero__badges li:nth-child(3) { bottom: 0; left: 36px; animation-delay: -4s; }
.video-hero__badge-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary) 100%); }
.video-hero__badge-icon .icon { width: 19px; height: 19px; }
@keyframes hero-float { 50% { transform: translateY(-8px); } }

/* ---------- Заглавия и текст ---------- */
.heading--section { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; }
.heading--card { font-size: 22px; line-height: 1.3; }
.heading--small { font-size: 19px; line-height: 1.35; }
.heading--quote { max-width: 900px; margin-inline: auto; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; text-align: center; color: var(--c-white); }
.heading--quote::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--c-lilac); }
.heading__sub { color: var(--c-muted); }

.prose { color: var(--c-text); }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--c-primary); }
.prose img { border-radius: var(--r); margin-block: 20px; }
.prose a { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose th { background: var(--c-soft); color: var(--c-deep); font-weight: 800; }
.prose--lead { font-size: 19px; }
.prose--white { color: rgba(255, 255, 255, .9); }

/* ---------- Бутони ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 28px; border: 2px solid var(--c-primary); border-radius: 999px;
	font-family: var(--f-body); font-size: 16px; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none;
	color: var(--c-white); background: linear-gradient(100deg, var(--c-primary-dark) 0%, var(--c-primary) 55%, var(--c-accent) 130%) border-box; border-color: transparent;
	box-shadow: 0 12px 26px -14px rgba(109, 47, 142, .75);
	transition: background .25s var(--ease), color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn:hover { color: var(--c-white); background: linear-gradient(100deg, var(--c-primary-dark) 0%, var(--c-primary) 35%, var(--c-accent) 100%) border-box; border-color: transparent; box-shadow: 0 16px 30px -14px rgba(204, 51, 102, .65); transform: translateY(-1px); }
.btn--outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary); box-shadow: none; }
.btn--outline:hover { background: linear-gradient(100deg, var(--c-primary-dark) 0%, var(--c-primary) 55%, var(--c-accent) 130%) border-box; border-color: transparent; color: var(--c-white); }
.btn--light { background: var(--c-white); border-color: var(--c-white); color: var(--c-deep); box-shadow: 0 12px 26px -14px rgba(10, 0, 20, .5); }
.btn--light:hover { background: var(--c-blush); border-color: var(--c-blush); color: var(--c-deep); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .55); color: var(--c-white); box-shadow: none; }
.btn--ghost:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-primary); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.btn-wrap { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.btn-wrap--center { justify-content: center; }
.col > .btn-wrap { margin-top: 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; color: var(--c-white); }
/* Фонът е в ::before (backdrop-filter на самия header би затворил менюто на телефона, което е position: fixed). */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--c-night) 0%, var(--c-primary-dark) 100%); box-shadow: 0 6px 24px -10px rgba(40, 10, 60, .5); transition: opacity .35s, background .35s; }
/* Над hero е прозрачен, при превъртане - матово стъкло. */
.site-header.is-scrolled::before { background: rgba(42, 11, 61, .72); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 12px 32px -14px rgba(20, 4, 32, .55); }
body:has(.site-main > :is(.video-hero, .page-hero):first-child) .site-header:not(.is-scrolled):not(:has([aria-expanded="true"]))::before { opacity: 0; }
.site-main > .video-hero:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.site-main > .page-hero:first-child { margin-top: calc(-1 * var(--header-h)); min-height: calc(380px + var(--header-h)); padding-top: calc(40px + var(--header-h)); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .25s var(--ease); }
.site-logo { flex: none; }
.site-logo img { width: 150px; height: auto; transition: width .25s var(--ease); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu { display: flex; gap: 6px; list-style: none; }
.menu > li { position: relative; }
.menu a { position: relative; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--c-white); font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.menu a:hover { color: var(--c-white); background: rgba(255, 255, 255, .12); }
/* Отворената страница: бяла линия отдолу. */
.menu > .current-menu-item > a::before, .menu > .current-menu-ancestor > a::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--c-white); }
.menu .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s var(--ease); }
.menu .menu-item-has-children:hover > a::after, .menu .menu-item-has-children.is-open > a::after { margin-top: 4px; transform: rotate(-135deg); }
/* Подменю „Курсове“: 2 колони (езиците отляво), отдолу „Всички курсове“. */
.sub-menu {
	position: absolute; top: calc(100% + 8px); left: 50%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto) auto; grid-auto-flow: column; gap: 2px 8px;
	width: 540px; padding: 12px; list-style: none; background: var(--c-white); border-radius: 18px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .25s var(--ease);
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu, .menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a { gap: 12px; padding: 8px 10px; color: var(--c-ink); font-size: 15px; border-radius: 12px; }
.sub-menu a:hover, .sub-menu .current-menu-item > a { color: var(--c-primary); background: var(--c-tint); }
.nav-badge { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-family: var(--f-display); font-size: 12px; font-weight: 700; color: var(--c-white); background: var(--c-primary); }
.nav-badge .icon { width: 17px; height: 17px; }
.sub-menu .menu-item-all { grid-column: 1 / -1; grid-row: 6; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--c-line); }
.sub-menu .menu-item-all > a { justify-content: center; color: var(--c-primary); }
.sub-menu .menu-item-all > a::after { content: "→"; transition: transform .25s var(--ease); }
.sub-menu .menu-item-all > a:hover::after { transform: translateX(4px); }
/* При превъртане лентата става по-тънка (само на компютър). */
@media (min-width: 1025px) {
	.site-header.is-scrolled .site-header__inner { min-height: 64px; }
	.site-header.is-scrolled .site-logo img { width: 116px; }
}
.site-header__cta { min-height: 44px; padding: 8px 22px; font-size: 15px; }
.site-header__call, .nav-toggle { display: none; width: 46px; height: 46px; place-items: center; padding: 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .14); color: var(--c-white); }
.site-header__call:hover { color: var(--c-white); background: rgba(255, 255, 255, .24); }
.site-header__call .icon { width: 20px; height: 20px; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, background .25s; }
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; } .nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Снимки ---------- */
.media { --r: var(--r-lg); }
.media__img { width: 100%; height: auto; border-radius: var(--r); }
.media--fixed .media__img { height: var(--h); object-fit: cover; }
.media--natural .media__img { width: auto; height: var(--h); margin-inline: auto; --r: var(--r-sm); }
.media--narrow .media__img { width: var(--w); max-width: 100%; margin-inline: auto; }
.media--plain .media__img { --r: 0; }

/* ---------- Списъци ---------- */
.list { display: grid; gap: 12px; list-style: none; text-align: left; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-ink); line-height: 1.6; }
.list__icon { flex: none; width: 22px; height: 22px; margin-top: .15em; color: var(--c-primary); }
.list--check li::before, .list--dash li::before, .list--chevron li::before {
	content: ""; flex: none; width: 24px; height: 24px; margin-top: .12em; border-radius: 50%;
	background: var(--c-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b44aa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.list--chevron .list__icon, .list--check .list__icon { display: none; }
.list--emoji li { font-weight: 600; }
.list--links { gap: 10px; }
.list--links li { color: rgba(255, 255, 255, .78); }
.list--links a { color: inherit; text-decoration: none; }
.list--links a:hover { color: var(--c-white); }
.list--links .list__icon { width: 18px; height: 18px; color: var(--c-lilac); }

/* ---------- Карти ---------- */
.card-box, .team, .lang-card, .service, .post-card, .contact-card, .note, .price-wrap { background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow); }
.card-box { height: 100%; padding: 36px; }
.section--pink .card-box { box-shadow: none; }

/* Броячи */
.stats { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 32px; }
/* Броячите: един общ панел, три части с тънки разделители, числата в градиент. */
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 10px; border-radius: 28px; background: var(--c-white); box-shadow: 0 30px 60px -24px rgba(42, 12, 60, .35); }
.stat { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-radius: 20px; transition: background .25s; }
.stat:hover { background: var(--c-soft); }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, var(--c-line) 20%, var(--c-line) 80%, transparent); }
.stat__icon { flex: none; width: 56px; height: 56px; padding: 15px; border-radius: 50%; color: var(--c-white); background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary) 100%); box-shadow: 0 10px 22px -10px rgba(139, 68, 170, .8); }
.stat__num { margin: 0; font-family: var(--f-display); font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; background: linear-gradient(90deg, var(--c-deep) 0%, var(--c-primary) 60%, var(--c-accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__title { margin: 6px 0 0; font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }

/* Услуги (мозайка) */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 20px; list-style: none; }
.services__photo { grid-row: span 2; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; }
.services__photo img { width: 100%; height: 100%; object-fit: cover; }
.service { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.service__icon { width: 54px; height: 54px; padding: 14px; border-radius: 16px; color: var(--c-white); background: var(--c-primary); }
.service:nth-child(3) .service__icon { background: var(--c-accent); }
.service:nth-child(4) .service__icon { background: #b56fa9; }
.service:nth-child(5) .service__icon { background: var(--c-deep); }
.service__title { margin: 8px 0 0; font-size: 20px; }
.service__text { margin: 0; line-height: 1.6; }
.service--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 20px; color: var(--c-white); background: var(--hero-bg); }
.service--wide .service__icon { flex: none; background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .2); }
.service--wide .service__title { margin: 0 0 4px; color: var(--c-white); }
.service--wide .service__text { color: rgba(255, 255, 255, .9); }
.service--wide .btn { flex: none; }
.service__body { flex: 1; }

/* Езици и инфо карти */
.icon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
.lang-card { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 22px; border: 1px solid var(--c-line); box-shadow: none; color: var(--c-ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
a.lang-card:hover { color: var(--c-ink); border-color: var(--c-lilac); box-shadow: var(--shadow); transform: translateY(-3px); }
.lang-card__code { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--c-white); background: var(--c-primary); }
.lang-card__code .icon { width: 26px; height: 26px; }
.lang-card__body { flex: 1; min-width: 0; }
.lang-card__title { display: block; font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1.3; }
.lang-card__meta { display: block; margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--c-muted); }
.lang-card__arrow { flex: none; font-weight: 800; color: var(--c-primary); transition: transform .25s var(--ease); }
a.lang-card:hover .lang-card__arrow { transform: translateX(4px); }
.lang-card--info { align-items: flex-start; }
.lang-card--info .lang-card__code:not([style]) { background: var(--c-tint); color: var(--c-primary); }
.lang-card--info .lang-card__meta { color: var(--c-text); }

/* Бележка */
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; box-shadow: none; border: 1px solid var(--c-line); text-align: left; }
.note__icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--c-primary); }
.note__title { margin: 0 0 2px; font-weight: 800; color: var(--c-ink); }
.note__text { font-size: 16px; line-height: 1.6; }
.note__text > :last-child { margin-bottom: 0; }
.section--pink .note { border-color: transparent; }

/* Цени */
.price-wrap { overflow: hidden; }
.price-wrap__title { margin: 0; padding: 26px 28px 0; font-size: 22px; }
.price-wrap__sub { margin: 4px 0 0; padding: 0 28px; color: var(--c-muted); }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; text-align: left; }
.price-wrap__title + .table-wrap, .price-wrap__sub + .table-wrap { margin-top: 18px; }
.price-table th, .price-table td { padding: 18px 22px; border-bottom: 1px solid #f1e6f4; vertical-align: middle; }
.price-table thead th { background: var(--c-soft); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-deep); }
.price-table thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--c-muted); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
.price-table td { color: var(--c-ink); }
.price-table .is-featured { background: #fbf6fd; }
.price-table thead .is-featured { background: var(--c-primary); color: var(--c-white); }
.price-table thead .is-featured small { color: rgba(255, 255, 255, .85); }
.price { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--c-ink); }
.price__alt { display: block; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.price-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; list-style: none; }
.price-extra { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow); }
.price-extra__title { margin: 0 0 4px; font-size: 19px; }
.price-extra__meta { margin: 0; font-size: 16px; color: var(--c-muted); }
.price-extra__price { flex: none; text-align: right; }
.stack { display: grid; gap: 18px; }

/* Нива */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.level { padding: 20px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-white); }
.level__code { margin: 0 0 8px; font-family: var(--f-display); font-size: 26px; font-weight: 700; line-height: 1; color: var(--c-primary); }
.level:nth-child(n+3) .level__code { color: #a3497f; }
.level:nth-child(n+5) .level__code { color: var(--c-accent); }
.level__text { margin: 0; font-size: 16px; line-height: 1.6; }

/* Екип */
.team { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.team__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team__body { flex: 1; padding: 24px 26px 26px; }
.team__name { margin: 0 0 4px; font-size: 22px; }
.team__position { margin: 0; color: var(--c-muted); line-height: 1.55; }
.team__bio { margin-top: 14px; border-top: 1px solid var(--c-line); padding-top: 4px; }
.team__bio summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 800; color: var(--c-primary); cursor: pointer; list-style: none; }
.team__bio summary::-webkit-details-marker { display: none; }
.team__bio summary::after { content: "+"; font-size: 24px; line-height: 1; }
.team__bio[open] summary::after { content: "−"; }
.team__bio-text { font-size: 16px; line-height: 1.65; }

/* Галерия */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; }
.gallery__link { display: block; overflow: hidden; border-radius: 18px; }
.gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__link:hover .gallery__img { transform: scale(1.05); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 6, 30, .88); }
.lightbox img { max-height: 86vh; width: auto; border-radius: 14px; }
.lightbox__btn { position: fixed; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-primary); font-size: 28px; line-height: 1; transform: translateY(-50%); }
.lightbox__btn--prev { left: 16px; } .lightbox__btn--next { right: 16px; }
.lightbox__btn--close { top: 16px; right: 16px; transform: none; }

/* Въртележка */
.carousel { position: relative; }
/* position: relative - иначе абсолютните деца (.screen-reader-text) не се изрязват и разширяват страницата. */
.carousel__track { position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; list-style: none; scrollbar-width: none; padding: 4px 4px 28px; margin: -4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }
.carousel--posts .carousel__item { flex-basis: calc((100% - 40px) / 3); }
.carousel__nav { position: absolute; top: calc(50% - 30px); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--c-white); color: var(--c-primary); box-shadow: var(--shadow); font-size: 22px; transform: translateY(-50%); }
.carousel__nav--prev { left: -18px; } .carousel__nav--next { right: -18px; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #e4cfee; transition: width .25s; }
.carousel__dots button[aria-current="true"] { width: 26px; background: var(--c-primary); }
/* Корпоративни клиенти: безкрайна лента с логата, избледняваща в краищата. */
.logos { --logo-w: 170px; --logo-h: 72px; --logo-gap: 56px; position: relative; overflow: hidden; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; width: max-content; animation: logos calc(var(--logos-n) * 3.2s) linear infinite; }
.logos:hover .logos__track, .logos:focus-within .logos__track { animation-play-state: paused; }
.logos__list { display: flex; align-items: center; gap: var(--logo-gap); padding-right: var(--logo-gap); list-style: none; }
.logos__item { flex: none; display: flex; align-items: center; justify-content: center; width: var(--logo-w); height: var(--logo-h); }
.logos__img { width: auto; height: auto; max-width: var(--logo-w); max-height: var(--logo-h); object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.logos__item:hover .logos__img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.logos { -webkit-mask-image: none; mask-image: none; }
	.logos__track { width: auto; animation: none; }
	.logos__list { flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding: 0; }
	.logos__list[aria-hidden] { display: none; }
}

/* Публикации */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(42, 24, 54, .06), 0 28px 50px -18px rgba(91, 35, 120, .35); color: inherit; }
.post-card__media { position: relative; display: block; overflow: hidden; }
.post-card__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--c-tint); transition: transform .6s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__tag { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--c-accent-dark); font-size: 13px; font-weight: 800; line-height: 1.4; box-shadow: 0 6px 16px -8px rgba(20, 4, 32, .5); }
.post-card__tag--news { color: var(--c-deep); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--c-muted); }
.post-card__meta .icon { width: 15px; height: 15px; }
.post-card__title { margin: 10px 0 8px; font-family: var(--f-display); font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--c-ink); }
.post-card__excerpt { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--c-text); }
.post-card__more { margin-top: auto; font-weight: 800; color: var(--c-primary); }
.post-card__more span { display: inline-block; transition: transform .25s var(--ease); }
.post-card:hover .post-card__more span { transform: translateX(5px); }
/* 4 карти под голямата - 2 по 2, без самотна карта на последния ред. */
.cards:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards:has(> li:nth-child(4):last-child) .post-card__img { aspect-ratio: 16 / 8; }
/* Голямата първа карта. */
.post-card--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); margin-bottom: 28px; height: auto; }
.post-card--featured .post-card__img { height: 100%; min-height: 360px; aspect-ratio: auto; }
.post-card--featured .post-card__body { justify-content: center; padding: 40px 44px; }
.post-card--featured .post-card__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; }
.post-card--featured .post-card__excerpt { font-size: 17px; }
.post-card--featured .post-card__more { margin-top: 8px; }
.post-card--featured .post-card__tag { left: 20px; top: 20px; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin: 0 0 36px; padding: 6px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white); box-shadow: var(--shadow); }
.cat-filter a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--c-text); text-decoration: none; transition: background .2s, color .2s; }
.cat-filter a:hover { background: var(--c-soft); color: var(--c-primary); }
.cat-filter a[aria-current] { background: linear-gradient(100deg, var(--c-primary-dark), var(--c-primary) 60%, var(--c-accent) 130%); color: var(--c-white); box-shadow: 0 8px 18px -10px rgba(109, 47, 142, .8); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--c-line); font-weight: 800; text-decoration: none; color: var(--c-ink); }
.pagination .current { background: linear-gradient(100deg, var(--c-primary-dark), var(--c-primary) 60%, var(--c-accent) 130%); border-color: transparent; color: var(--c-white); }

/* Статия */
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 18px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.article__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.article__meta .article__cat { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: var(--c-white); font-size: 13px; text-decoration: none; transition: background .2s; }
.article__meta .article__cat:hover { background: rgba(255, 255, 255, .24); }
/* Статия: по-малко и по-широко заглавие (дългите заглавия бяха на 4 реда). */
.single-post .page-hero__text { max-width: 980px; }
.single-post .breadcrumbs li:last-child { display: none; } /* заглавието е точно отдолу */
.single-post .page-hero__title { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.2; letter-spacing: -.01em; }
.article__thumb { position: relative; z-index: 2; margin: -48px 0 40px; }
.article__thumb img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.article .section { padding-top: 0; }
.article .prose { font-size: 18px; }
.article .prose .btn { color: var(--c-white); }
.article__back { margin-top: 40px; }

/* Социални */
.social { display: flex; gap: 10px; list-style: none; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--c-tint); color: var(--c-primary); }
.social a:hover { background: var(--c-primary); color: var(--c-white); }
.social .icon { width: 20px; height: 20px; }

/* Карта */
.map { position: relative; display: grid; place-items: center; gap: 14px; align-content: center; min-height: 400px; padding: 32px; overflow: hidden; border-radius: 28px; text-align: center; background: radial-gradient(circle at 50% 42%, rgba(204, 51, 102, .16) 0, transparent 34%), linear-gradient(0deg, rgba(139, 68, 170, .07) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, rgba(139, 68, 170, .07) 1px, transparent 1px) 0 0 / 34px 34px, var(--c-white); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.map__pin { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 6px; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: var(--c-white); box-shadow: 0 16px 30px -12px rgba(204, 51, 102, .7); transform: rotate(-45deg); animation: pin-bounce 2.4s ease-in-out infinite; }
.map__pin .icon { width: 28px; height: 28px; transform: rotate(45deg); }
@keyframes pin-bounce { 50% { translate: 0 -8px; } }
.map__address { margin: 0 0 6px; font-size: 16px; color: var(--c-text); }
.map__address strong { display: block; font-family: var(--f-display); font-size: 20px; color: var(--c-ink); }
.map__link { font-weight: 700; }
/* Контакти: бързи начини за връзка. */
.contact-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; }
.contact-action { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 26px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-white); color: var(--c-ink); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
a.contact-action:hover { color: var(--c-ink); border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-action__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: var(--c-white); box-shadow: 0 10px 22px -10px rgba(139, 68, 170, .8); }
.contact-action__icon .icon { width: 24px; height: 24px; }
.contact-action__label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.contact-action__value { font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.contact-action__arrow { position: absolute; top: 26px; right: 24px; font-weight: 800; color: var(--c-primary); transition: transform .25s var(--ease); }
a.contact-action:hover .contact-action__arrow { transform: translateX(4px); }
.contact-action--static { background: var(--c-soft); border-color: transparent; }

/* ---------- Контакти и формуляри ---------- */
.contact-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; border-radius: 32px; box-shadow: var(--shadow-lg); }
.contact-card__info { padding: 52px 48px; }
.contact-card__info .eyebrow { color: #ffc2dc; }
.contact-card__title { margin: 0 0 14px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; color: var(--c-white); }
.contact-card__lead { margin: 0 0 30px; color: rgba(255, 255, 255, .92); }
.contact-card__form { padding: 52px 48px; }
.list--contact { gap: 16px; }
.list--contact li { align-items: center; gap: 14px; color: inherit; font-weight: 700; line-height: 1.45; }
.list--contact .list__icon { width: 44px; height: 44px; padding: 11px; margin: 0; border-radius: 12px; color: inherit; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.list--contact a { color: inherit; text-decoration: none; }
.list--contact a:hover { text-decoration: underline; }
.list--contact small { display: block; font-size: 15px; font-weight: 600; opacity: .85; }
.contact-card__info .social { margin-top: 28px; }
.contact-card__info .social a { background: rgba(255, 255, 255, .16); color: var(--c-white); }
.contact-card__info .social a:hover { background: var(--c-white); color: var(--c-primary); }
.form-card { max-width: 900px; margin-inline: auto; padding: 44px; background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow); }
.form-card > .heading { margin-bottom: 10px; }
.form-card > .prose { margin-bottom: 26px; }
.section--pink .form-card { box-shadow: none; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--c-ink); }
.form__label span { color: var(--c-accent); }
.form input, .form select, .form textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; line-height: 1.4; color: var(--c-ink);
	background-color: var(--c-soft); border: 1.5px solid transparent; border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: #e6d6ee; }
.form select { appearance: none; padding-right: 44px; background: var(--c-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b44aa' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.form textarea { min-height: 130px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #8f8498; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; background-color: var(--c-white); border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(139, 68, 170, .14); }
.form [aria-invalid="true"] { border-color: #c4314b; }
.form__error { font-size: 14px; font-weight: 700; color: #b0283f; }
.form__consent { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.55; color: var(--c-muted); }
.form__submit { grid-column: 1 / -1; width: 100%; min-height: 56px; }
.form__arrow { transition: transform .25s var(--ease); }
.form__submit:hover .form__arrow { transform: translateX(4px); }
.form__submit[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: var(--r-sm); font-weight: 700; }
.form__status:empty { display: none; }
.form__status--ok { background: #e7f6ec; color: #1e6b35; }
.form__status--error { background: #fdecec; color: #8a1f1f; }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 28px; color: rgba(255, 255, 255, .72); background: var(--hero-bg); font-size: 16px; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-bottom: 56px; padding: 32px 36px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* Не се повтаря, ако страницата вече има призив за действие или е „Контакти“. */
body:has(.cta-section, .contact-actions) .site-footer__cta { display: none; }
.site-footer__cta-title { margin: 0 0 4px; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--c-white); }
.site-footer__cta-text { margin: 0; }
.site-footer__cta .btn-wrap { margin: 0; }
.site-footer__cta .btn .icon { width: 18px; height: 18px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer__logo { width: 150px; height: auto; margin-bottom: 18px; }
.site-footer__about p { margin: 0 0 22px; line-height: 1.65; }
.site-footer__title { position: relative; margin: 0 0 20px; padding-bottom: 12px; font-size: 17px; color: var(--c-white); }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-accent), var(--c-lilac)); }
.site-footer .list--links a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s, padding .25s var(--ease); }
.site-footer nav .list--links a:hover { padding-left: 6px; color: var(--c-white); }
.site-footer__contacts li { align-items: center; gap: 12px; }
.site-footer__contacts .list__icon { width: 36px; height: 36px; margin: 0; padding: 9px; border-radius: 11px; color: var(--c-white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.site-footer__contacts a:hover { color: var(--c-white); }
.site-footer .social a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--c-white); }
.site-footer .social a:hover { background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); border-color: transparent; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .6); }
.site-footer__bottom a, .site-footer__bottom button { padding: 0; border: 0; background: none; color: inherit; font-size: 14px; text-decoration: none; cursor: pointer; transition: color .2s; }
.site-footer__bottom a:hover, .site-footer__bottom button:hover { color: var(--c-white); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Плаващ бутон ---------- */
/* Плаващ бутон „Връзка с нас“: само иконка в градиентен кръг (надписът - за екранни четци); менюто - карта. */
.fab { position: fixed; left: 24px; bottom: 24px; z-index: 90; }
.fab__toggle { position: relative; display: block; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--c-white); cursor: pointer; transition: transform .25s var(--ease); }
.fab__toggle:hover { transform: translateY(-2px); }
.fab__toggle > .icon { position: relative; display: block; width: 58px; height: 58px; padding: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary) 100%); color: var(--c-white); box-shadow: 0 14px 30px -10px rgba(139, 68, 170, .75); transition: transform .3s var(--ease); }
.fab__toggle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: tab-pulse 2.6s ease-out infinite; }
.fab__toggle[aria-expanded="true"] > .icon { transform: rotate(-12deg) scale(1.05); }
.fab__toggle[aria-expanded="true"]::before { animation: none; }
.fab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.fab__menu[hidden] { display: none; }
.fab__menu { position: absolute; bottom: calc(100% + 12px); left: 0; display: grid; gap: 4px; min-width: 220px; padding: 8px; list-style: none; border-radius: 22px; background: var(--c-white); box-shadow: 0 24px 50px -16px rgba(42, 12, 60, .5); animation: popup-in .3s var(--ease); }
.fab__item { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; color: var(--c-ink); font-size: 15px; font-weight: 800; text-decoration: none; transition: background .2s; }
.fab__item:hover { background: var(--c-soft); color: var(--c-ink); }
.fab__item .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; color: var(--c-white); }
.fab__item--phone .icon { background: linear-gradient(135deg, #1fbf7d, #12895a); }
.fab__item--messenger .icon { background: linear-gradient(135deg, #a259ff, #0a7cff); }

/* ---------- Банер ---------- */
/* Банер „Безплатно обучение“: снимка вляво + текст; на телефон - отдолу като лист. */
.popup { width: min(880px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--c-white); color: var(--c-ink); box-shadow: 0 40px 100px -30px rgba(20, 4, 35, .6); overflow: hidden; }
.popup[open] { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); animation: popup-in .45s var(--ease); }
.popup.is-closing { animation: popup-out .25s ease-in forwards; }
.popup::backdrop { background: rgba(20, 8, 35, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .45s; }
.popup.is-closing::backdrop { animation: fade-out .25s forwards; }
.popup__media { position: relative; min-height: 100%; background: var(--c-tint); }
.popup__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.popup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, .35) 100%); }
.popup__body { padding: 44px 40px 36px; }
.popup__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--c-blush); color: var(--c-accent-dark); font-size: 13px; font-weight: 800; line-height: 1.3; }
.popup__eyebrow .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--c-accent); color: var(--c-white); }
.popup__title { margin: 0 0 18px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; color: var(--c-ink); }
.popup__title span { display: block; font-style: italic; color: var(--c-primary); }
.popup__benefits { display: grid; gap: 10px; margin: 0 0 18px; list-style: none; }
.popup__benefits li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--c-ink); }
.popup__benefit-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--c-tint); color: var(--c-primary); }
.popup__benefit-icon .icon { width: 20px; height: 20px; }
.popup__tagline { margin: 0 0 24px; font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--c-accent); }
.popup__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0; }
.popup__later { padding: 8px 4px; border: 0; background: none; color: var(--c-muted); font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.popup__later:hover { color: var(--c-ink); }
.popup__close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--c-soft); color: var(--c-ink); font-size: 26px; line-height: 1; transition: background .2s, transform .2s; }
.popup__close:hover { background: var(--c-tint); transform: rotate(90deg); }
/* Езичето на банера - вляво по средата, подава се снимката; при посочване излиза целият надпис. */
.promo-tab { position: fixed; left: 0; top: 50%; z-index: 90; display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border: 0; border-radius: 0 18px 18px 0; background: var(--c-white); color: var(--c-ink); box-shadow: 0 12px 34px -10px rgba(42, 12, 60, .45); font: inherit; text-align: left; cursor: pointer; transform: translate(calc(-100% + 72px), -50%); transition: transform .4s var(--ease), box-shadow .3s; }
.promo-tab:hover, .promo-tab:focus-visible { transform: translate(0, -50%); box-shadow: 0 16px 40px -10px rgba(42, 12, 60, .55); }
.promo-tab__thumb { position: relative; flex: none; width: 56px; height: 56px; }
.promo-tab__thumb img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.promo-tab__dot { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border: 2px solid var(--c-white); border-radius: 50%; background: var(--c-accent); animation: tab-pulse 2.2s ease-out infinite; }
.promo-tab__text { display: grid; gap: 2px; white-space: nowrap; }
.promo-tab__text strong { font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--c-deep); }
.promo-tab__text small { font-size: 13px; font-weight: 700; color: var(--c-accent); }
@keyframes tab-pulse { 0% { box-shadow: 0 0 0 0 rgba(204, 51, 102, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(204, 51, 102, 0); } }
@keyframes popup-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes popup-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }

/* ---------- Бисквитки ---------- */
.consent { position: fixed; right: 20px; bottom: 20px; z-index: 95; max-width: 440px; padding: 22px; background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow-lg); font-size: 15px; line-height: 1.6; }
.consent[hidden] { display: none; }
.consent__text { margin: 0 0 16px; color: var(--c-ink); }
.consent__actions { display: flex; gap: 10px; }
.consent__actions .btn { flex: 1; }

/* ---------- Поява при скрол ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Таблет
   ========================================================================= */
@media (max-width: 1024px) {
	.video-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 48px 130px; }
	.video-hero__media { padding: 0; }
	.video-hero__frame { aspect-ratio: 16 / 10; transform: none; border-radius: 24px; }
	.video-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
	.video-hero__badges li { position: static; max-width: none; padding: 8px 14px 8px 8px; border-radius: 14px; font-size: 14px; animation: none; }
	.video-hero__badge-icon { width: 30px; height: 30px; border-radius: 10px; }
	.video-hero__badge-icon .icon { width: 16px; height: 16px; }
	:root { --header-h: 72px; --section: 80px; --gutter: 28px; }
	.site-logo img { width: 128px; }
	.site-header__call, .nav-toggle { display: grid; }
	.site-header__call { margin-left: auto; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
		padding: 16px var(--gutter) 40px; overflow-y: auto; background: var(--c-white);
		transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav.is-open { transform: none; visibility: visible; }
	.menu { flex-direction: column; gap: 0; }
	.menu a { justify-content: space-between; min-height: 56px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 19px; }
	.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--c-primary); background: none; }
	.menu > .current-menu-item > a::before, .menu > .current-menu-ancestor > a::before { left: 0; right: auto; top: 16px; bottom: 16px; width: 3px; height: auto; background: var(--c-primary); }
	.menu > .current-menu-item > a, .menu > .current-menu-ancestor > a { padding-left: 12px; }
	.menu .menu-item-has-children:hover > a::after { margin-top: -4px; transform: rotate(45deg); }
	.menu .menu-item-has-children.is-open > a::after { margin-top: 4px; transform: rotate(-135deg); }
	.sub-menu { position: static; display: none; width: auto; min-width: 0; padding: 4px 0 8px 12px; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.menu li.is-open > .sub-menu, .menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { transform: none; }
	.menu li.is-open > .sub-menu { display: block; }
	.sub-menu a { justify-content: flex-start; font-size: 17px; min-height: 54px; padding: 10px 4px; border-radius: 0; }
	.sub-menu .current-menu-item > a { background: none; }
	.sub-menu .menu-item-all { margin-top: 0; padding-top: 0; border-top: 0; }
	.sub-menu .menu-item-all > a { justify-content: flex-start; }
	.site-header__cta { margin-top: 28px; min-height: 54px; font-size: 17px; }
	.site-nav .site-header__cta { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }

	.col--25, .col--20 { width: 50%; }
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.services__photo { grid-row: auto; grid-column: span 2; min-height: 320px; }
	.levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.carousel__item { flex-basis: calc((100% - 40px) / 3); }
	.carousel--posts .carousel__item { flex-basis: calc((100% - 20px) / 2); }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-card { grid-template-columns: minmax(0, 1fr); }
	.hero-intro__grid { gap: 36px; }
	.offer__grid, .programs__grid { grid-template-columns: minmax(0, 1fr); }
	.contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.steps::before { display: none; }
	.lang-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.course-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.course-cards__grid > li, .course-cards__grid > li:nth-child(4) { grid-column: auto; }
	.course-cards__grid > li:last-child { grid-column: 1 / -1; }
	.course-cards__grid > li:last-child .course-card { display: grid; grid-template-columns: 1fr 1fr; }
	.course-cards__grid > li:last-child .course-card__media { aspect-ratio: auto; height: 100%; }
	.section--soft .icon-grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mission__grid { gap: 40px; }
	.mission__values { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 40px; }
	.mission__value { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
	.mission__value-icon { grid-row: span 2; margin: 0; }
	.section--gallery .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 170px; }
	.section--gallery .gallery > li:nth-child(7) { grid-column: auto; }
	.about__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.about__media { max-width: 620px; }
	.cta { grid-template-columns: minmax(0, 1fr); padding: 48px 40px; }
	.cta__bubbles { order: -1; display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
	.cta__bubbles li { position: static; padding: 6px 12px; font-size: 14px !important; animation: none; opacity: 1 !important; }
	.stat { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
	.stat__num { font-size: 32px; }
}

/* =========================================================================
   Телефон - четимост преди всичко
   ========================================================================= */
@media (max-width: 760px) {
	:root { --section: 60px; --gutter: 20px; --r-lg: 22px; --r: 20px; }
	.col, .col--20, .col--25, .col--33, .col--40, .col--50, .col--60, .col--66 { width: 100%; }
	/* Отрицателното поле на реда трябва да е по-малко от отстъпа на контейнера (20px), иначе страницата се разширява. */
	.row { row-gap: 28px; margin-inline: -12px; }
	.col { padding-inline: 12px; }
	.section--reverse > .container > .row { flex-direction: column-reverse; }

	/* Текстът е вляво - центрирани дълги абзаци се четат трудно. */
	.section--center .section-head, .section--center > .container > .row > .col--100 > .heading, .section--center > .container > .row > .col--100 > .prose { text-align: left; }
	.section--center > .container > .row > .col--100 > .eyebrow { justify-content: flex-start; }
	.section--center > .container > .row > .col--100 > .eyebrow::after { display: none; }
	.heading--section { font-size: 30px; line-height: 1.2; }
	.heading--card { font-size: 21px; }
	.heading--quote { font-size: 28px; }
	.prose, .prose--lead { font-size: 17px; line-height: 1.75; }
	.prose h2 { font-size: 24px; }
	.prose h3 { font-size: 20px; }
	.section-head { margin-bottom: 28px; }

	.btn { width: 100%; min-height: 54px; font-size: 17px; }
	.section-head--split .btn { width: auto; }

	.page-hero { min-height: 300px; padding: 32px 0 48px; }
	.site-main > .page-hero:first-child { min-height: calc(300px + var(--header-h)); padding-top: calc(32px + var(--header-h)); }
	.page-hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
	.video-hero__frame { aspect-ratio: 16 / 9; }
	.page-hero__title { font-size: 34px; line-height: 1.15; }
	.single-post .page-hero__title { font-size: 27px; line-height: 1.25; }
	.page-hero__lead { font-size: 17px; }
	.hero-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.hero-intro__media, .media--framed { padding: 0 0 14px 14px; }
	.offer__side { padding: 26px 22px; }
	.post-card--featured { display: flex; }
	.post-card--featured .post-card__img { min-height: 0; aspect-ratio: 16 / 10; }
	.post-card--featured .post-card__body { padding: 22px 24px 24px; }
	.cat-filter { flex-wrap: nowrap; overflow-x: auto; border-radius: 22px; scrollbar-width: none; }
	.cat-filter a { flex: none; }
	.contact-actions { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.contact-action { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 20px; }
	.contact-action__icon { grid-row: span 2; margin: 0; }
	.contact-action__arrow { top: 50%; translate: 0 -50%; }
	.map { min-height: 340px; }
	.steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
	.step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; text-align: left; }
	.step__icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; border-radius: 18px; }
	.step__num { left: 40px; }
	.step__text { margin: 0; max-width: none; }
	.speed { grid-template-columns: minmax(0, 1fr); }
	.lang-grid__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.lang-grid__item { padding: 22px; }
	.lang-grid__outro { text-align: left; }
	.offer__card, .offer__price { padding: 20px; }
	.offer__price-value { font-size: 40px; }
	.program__body { padding: 22px 20px 24px; }
	.program__title { font-size: 22px; }
	.course-cards__grid { grid-template-columns: minmax(0, 1fr); }
	.course-cards__grid > li:last-child .course-card { display: flex; }
	.course-cards__grid > li:last-child .course-card__media { aspect-ratio: 16 / 10; height: auto; }
	.course-card__body { padding: 20px; }
	.section--soft .icon-grid:has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
	.mission__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.mission__quote { margin-top: 24px; padding: 22px 22px 22px 26px; font-size: 19px; }
	.mission__text { padding-top: 16px; font-size: 17px; }
	.mission__value { padding: 20px; }
	.stats--inline { padding-bottom: 64px; }
	.section--gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 10px; }
	.section--gallery .gallery > li:last-child { grid-column: span 2; grid-row: span 2; }
	.about__media { padding: 0 0 28px 12px; }
	.about__chip { padding: 10px 14px; }
	.about__chip--since { right: -4px; }
	.about__chip--since strong { font-size: 24px; }
	.about__chip--award { bottom: 4px; left: 0; }
	.about__chip-icon { width: 32px; height: 32px; }
	.about__chip--award strong { font-size: 14px; }
	.about__logo { padding: 10px 14px; }
	.about__logo img { width: 110px; }
	.about__features li { padding: 12px 14px; font-size: 16px; }
	.cta { gap: 24px; padding: 32px 22px; border-radius: 24px; }
	.cta__title { font-size: 30px; }
	.cta__lead { font-size: 17px; }
	.cta__bubbles li:nth-child(n+5), .cta .video-hero__eyebrow { display: none; }
	.hero-intro__lead { font-size: 18px; }

	.video-hero__inner { padding-block: 40px 104px; gap: 36px; }
	.video-hero__title { font-size: 40px; line-height: 1.1; }
	.video-hero__lead { font-size: 17px; margin-bottom: 26px; }
	.video-hero__eyebrow { font-size: 12px; letter-spacing: .08em; }

	.stats { margin-top: -56px; }
	.stats__grid { grid-template-columns: minmax(0, 1fr); padding: 6px; border-radius: 24px; }
	.stat { flex-direction: row; align-items: center; padding: 16px 18px; }
	.stat + .stat::before { left: 18px; right: 18px; top: 0; bottom: auto; width: auto; height: 1px; background: var(--c-line); }
	.stat__icon { width: 48px; height: 48px; padding: 13px; }
	.stat__num { font-size: 30px; }

	.services { grid-template-columns: minmax(0, 1fr); }
	.services__photo { grid-column: auto; min-height: 240px; }
	.service--wide { grid-column: auto; flex-direction: column; align-items: flex-start; }

	.icon-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.levels { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.level { display: flex; gap: 16px; align-items: baseline; padding: 16px 18px; }
	.level__code { flex: none; width: 44px; font-size: 22px; }
	.level__text { font-size: 16px; }

	/* Таблиците стават карти - без хоризонтален скрол. */
	.price-table, .price-table thead, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
	.price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.price-table tbody tr { padding: 6px 0; border-bottom: 8px solid var(--c-soft); }
	.price-table tbody tr:last-child { border-bottom: 0; }
	.price-table tbody th { padding: 14px 20px 6px; border: 0; font-size: 19px; }
	.price-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 20px; border-bottom: 1px solid #f1e6f4; }
	.price-table tbody tr > td:last-child { border-bottom: 0; }
	.price-table td::before { content: attr(data-label); flex: 1; font-size: 15px; font-weight: 700; color: var(--c-muted); }
	.price-table td > span { text-align: right; }
	.price-table .is-featured { background: none; }
	.price-wrap__title { padding: 20px 20px 0; font-size: 20px; }
	.price-wrap__sub { padding: 0 20px; }
	.price-extra { flex-direction: column; align-items: flex-start; padding: 20px; }
	.price-extra__price { text-align: left; }
	.card-box { padding: 22px; }
	.note { padding: 16px; }

	.carousel__item { flex-basis: 70%; }
	.carousel--posts .carousel__item { flex-basis: 86%; }
	.logos { --logo-w: 120px; --logo-h: 56px; --logo-gap: 36px; }
	.carousel__nav { display: none; }
	.client { height: 96px; }
	.cards, .cards:has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.team__img { aspect-ratio: 4 / 3; object-position: 50% 30%; }

	.contact-card__info, .contact-card__form { padding: 28px 22px; }
	.form-card { padding: 28px 20px; }
	.form { grid-template-columns: minmax(0, 1fr); gap: 16px; }

	.article .prose { font-size: 17px; }
	.article__thumb { margin-top: -32px; }

	.site-footer { padding-top: 52px; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.site-footer__bottom { flex-direction: column; margin-top: 36px; }
	.site-footer__cta { margin-bottom: 40px; padding: 24px 20px; }
	.site-footer__cta .btn { flex: 1 1 100%; }

	.fab { left: 16px; bottom: 16px; }
	.fab__toggle > .icon { width: 54px; height: 54px; padding: 15px; }
	.consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.consent__actions .btn { width: auto; }
	.popup { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; overflow-y: auto; }
	.popup[open] { grid-template-columns: minmax(0, 1fr); animation-name: sheet-in; }
	.popup.is-closing { animation-name: sheet-out; }
	.popup__media { min-height: 0; aspect-ratio: 4 / 3; max-height: 34dvh; width: 100%; }
	.popup__media::after { background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, .4) 100%); }
	.popup__body { padding: 24px 20px 28px; }
	.popup__actions .btn { flex: 1 1 100%; }
	.popup__later { margin: 0 auto; }
	.popup__close { background: rgba(255, 255, 255, .9); }
	.promo-tab { padding: 6px; transform: translate(calc(-100% + 58px), -50%); }
	.promo-tab__thumb, .promo-tab__thumb img { width: 46px; height: 46px; border-radius: 12px; }
}

@media print {
	.site-header, .site-footer, .fab, .popup, .promo-tab, .form, .consent { display: none !important; }
	.page-hero, .video-hero, .section--parallax { color: #000; background: none; }
}

/* Кратки факти */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; }
.figure { padding: 16px 18px; border-radius: 18px; background: var(--c-white); }
.section--plain .figure { background: var(--c-soft); }
.figure__value { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--c-primary); }
.figure__label { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--c-ink); }
@media (max-width: 760px) { .figures { grid-template-columns: minmax(0, 1fr); } .figure { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .figure__label { margin: 0; text-align: right; } }
.section--tight { padding-top: 0; }

/* Таблици в статиите (напр. курсовете по ваучер) - на широк екран с хоризонтален скрол при нужда,
   на телефон редовете с data-label стават карти. */
.prose .az-training-table-wrap, .prose .table-scroll { overflow-x: auto; margin: 32px 0; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-white); box-shadow: var(--shadow); }
.prose .az-training-table-wrap table { margin: 0; min-width: 900px; font-size: 15px; }
.prose .az-training-table th { padding: 16px 12px; background: var(--c-soft); border-bottom: 1px solid var(--c-line); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); vertical-align: bottom; }
.prose .az-training-table td { padding: 16px 12px; vertical-align: middle; line-height: 1.45; color: var(--c-ink); }
.prose .az-training-table tbody tr { transition: background .2s; }
.prose .az-training-table tbody tr:hover { background: #fcf9fd; }
.prose .az-training-table tbody tr:last-child td { border-bottom: 0; }
.prose .az-training-table td:first-child, .prose .az-training-table th:first-child { padding-left: 22px; }
.prose .az-training-table td.language { font-weight: 800; white-space: nowrap; }
.prose .az-training-table td.start, .prose .az-training-table td.time, .prose .az-training-table td:nth-child(2) { white-space: nowrap; }
.prose .az-training-table td.empty { color: #cbbfd2; }
.prose .az-training-table td.days { min-width: 140px; }
.prose .lang-code { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 10px; vertical-align: middle; font-family: var(--f-display); font-size: 12px; font-weight: 700; color: var(--c-white); background: var(--c-primary); }
.lang-code--en { background: #8b44aa !important; } .lang-code--de { background: #cc3366 !important; } .lang-code--es { background: #b5487f !important; }
.lang-code--it { background: #6d2f8e !important; } .lang-code--el { background: #9d5cba !important; } .lang-code--ru { background: #5b2378 !important; }
.lang-code--fr { background: #7a4fc4 !important; } .lang-code--tr { background: #a3214d !important; }
.prose .status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--c-tint); color: var(--c-deep); font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.prose .status br, .prose .az-training-table td > br:first-child { display: none; } /* wpautop слага <br> от новите редове в HTML-а */
.prose .status-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.prose .status-green { background: #e6f6ec; color: #1e7a3d; }
.prose .status-green .status-dot { box-shadow: 0 0 0 3px rgba(30, 122, 61, .18); }
.prose .status-yellow { background: #fff4dc; color: #8a5a00; }
.prose .status-red { background: #f4eef7; color: var(--c-muted); }
/* На широк екран таблицата излиза извън тясната колона на статията. */
@media (min-width: 1100px) {
	.prose .az-training-table-wrap { width: min(1160px, calc(100vw - 2 * var(--gutter) - 20px)); margin-left: calc(50% - min(580px, 50vw - var(--gutter) - 10px)); }
	.prose .az-training-table-wrap table { min-width: 0; }
}
@media (max-width: 1099px) {
	.prose .az-training-table-wrap { overflow: visible; box-shadow: none; }
	.prose .az-training-table-wrap table { min-width: 0; }
	.prose table:has(td[data-label]) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.prose table:has(td[data-label]), .prose table:has(td[data-label]) tbody, .prose table:has(td[data-label]) tr { display: block; }
	.prose table:has(td[data-label]) tr { margin-bottom: 14px; padding: 6px 0; border-radius: var(--r-sm); background: var(--c-white); box-shadow: var(--shadow); }
	.prose td[data-label] { display: flex; justify-content: space-between; gap: 14px; padding: 9px 16px; font-size: 16px; border-bottom: 1px solid var(--c-line); text-align: right; }
	.prose td[data-label]:last-child { border-bottom: 0; }
	.prose td[data-label]::before { content: attr(data-label); flex: none; max-width: 45%; font-weight: 800; color: var(--c-muted); text-align: left; }
	.prose .az-training-table td.language { justify-content: flex-start; padding: 14px 16px; font-size: 18px; background: var(--c-soft); border-radius: var(--r-sm) var(--r-sm) 0 0; }
	.prose .az-training-table td.language::before { display: none; }
	.prose .az-training-table-wrap { border: 0; background: none; }
	.prose table:has(td[data-label]) tr { padding: 0; overflow: hidden; }
	.prose .az-training-table td.days { min-width: 0; }
	.prose .az-training-table td.empty { display: none; }
}
@media (min-width: 761px) and (max-width: 1099px) {
	.prose table:has(td[data-label]) tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
	.prose table:has(td[data-label]) tr { margin: 0; }
}
