/* Твориума, демо 1:1 по outschool.com. Числата са измерени от образеца (dokumenti/referencia). */
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(fonts/unbounded-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(fonts/unbounded-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #E4640F;      /* на мястото на лилавото 97,97,242 */
  --deep: #A63A00;       /* на мястото на 75,1,212 (бутони, акцентен текст) */
  --yellow: #FFD54F;
  --pill: #FFC41A;
  --tint: #FFF1E6;       /* на мястото на 240,242,255 */
  --page: #FAF9F7;
  --ink: #262626;
  --ink2: #1A1A1A;
  --mute: #5C5C5C;
  --line: #E0E0E0;
  --nord: "Unbounded", "Arial Black", sans-serif;
  --sans: "Onest", Arial, sans-serif;
}
* { box-sizing: border-box; }
/* В unbounded-cyrillic.woff2 българските форми (д като g, т като m) са махнати от самия файл, защото Safari не приема "locl" 0. */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/24px var(--sans); color: var(--ink); background: #fff; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 12px 28px; border: 0; border-radius: 999px;
  background: var(--deep); color: #fff; font: 500 16px/16px var(--sans); text-decoration: none; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.btn:hover { background: #8A3000; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.btn-tall { height: 50px; padding: 15px 28px; }
.btn-sm { height: 36px; padding: 8px 20px; font-size: 14px; }

/* ---------- 1. лента + 3. хедър (залепени горе) ---------- */
.bar { position: relative; height: 50px; padding: 11px 48px; background: var(--brand); color: #fff; text-align: center; font: 500 15px/21px var(--sans); }
.bar a { color: #fff; }
.bar b { font-weight: 700; }
.bar-x { position: absolute; right: 16px; top: 13px; padding: 0; border: 0; background: none; color: #fff; }
.bar.is-off { display: none; }
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px; height: 64px; padding: 0 24px; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.hdr-l { display: flex; align-items: center; gap: 16px; width: 365px; flex: none; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--deep); text-decoration: none; }
.logo span { font: 700 25px/1 var(--nord); letter-spacing: -.3px; }
.browse { position: relative; }
.browse-btn { display: flex; align-items: center; gap: 6px; height: 48px; padding: 12px 18px; border: 0; border-radius: 999px; background: none; color: var(--deep); font: 500 16px/16px var(--sans); }
.browse-btn:hover { background: var(--tint); }
.browse-btn svg { width: 22px; height: 22px; transition: transform .2s; }
.browse-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.browse-menu { position: absolute; top: 54px; left: 0; min-width: 260px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.browse-menu a { display: block; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.browse-menu a:hover { background: var(--tint); }
.search { position: relative; flex: 1; max-width: 600px; margin: 0 auto; }
.search input { width: 100%; height: 48px; padding: 0 52px 0 20px; border: 2px solid #C9C9C9; border-radius: 999px; font: 400 16px/24px var(--sans); color: var(--ink); background: #fff; }
.search input::placeholder { color: #767676; }
.search input:focus { outline: none; border-color: var(--deep); }
.search button { position: absolute; right: 7px; top: 7px; width: 34px; height: 34px; padding: 5px; border: 0; border-radius: 50%; background: none; color: #5c5c5c; }
.hdr-r { display: flex; align-items: center; gap: 32px; flex: none; }
.call { display: flex; align-items: center; gap: 8px; color: var(--ink2); font: 700 16px/16px var(--sans); text-decoration: none; }
.m-search, .m-menu { display: none; }
.m-nav { display: none; }

/* ---------- 2. начало ---------- */
.hero { padding: 64px 16px; }
.hero-in { display: flex; align-items: center; justify-content: space-between; max-width: 1088px; margin: 0 auto; }
.hero-txt { width: 570px; }
.hero h1 { font: 700 76px/79.8px var(--nord); color: var(--ink); letter-spacing: -1.5px; }
.hero-txt p { margin-top: 17px; font: 400 20px/30px var(--sans); }
.hero-txt .btn { margin-top: 16px; }
.hero-art { position: relative; width: 510px; height: 590px; flex: none; }
.hero-dash { position: absolute; inset: 0; width: 100%; height: 100%; }
.ha { position: absolute; height: 183px; object-fit: cover; border-radius: 46% / 50%; }
.ha1 { left: 40px; top: 5px; width: 373px; }
.ha2 { left: 95px; top: 199px; width: 392px; }
.ha3 { left: 22px; top: 392px; width: 391px; height: 184px; }
.pill { position: absolute; display: flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--pill); color: #111; font: 700 15px/1 var(--nord); white-space: nowrap; }
.pill i { width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: var(--deep); }
.pill b { color: var(--deep); margin: 0 .25em; }
.p1 { left: 8px; top: 165px; }
.p2 { left: 311px; top: 361px; }
.p3 { left: 8px; top: 386px; }
.p4 { right: 50px; top: 539px; }

/* ---------- 5. услуги ---------- */
.svcs { position: relative; padding: 80px 24px; background: var(--page); overflow: hidden; }
.svcs-card { display: grid; grid-template-columns: 397px 555px; gap: 40px; max-width: 1072px; margin: 0 auto; padding: 40px; border-radius: 32px; background: var(--brand); }
.svcs-l h2 { font: 700 36px/44px var(--nord); color: #fff; letter-spacing: -.6px; }
.svcs-l h2 em { font-style: normal; color: var(--yellow); }
.svcs-l p { width: 280px; margin-top: 24px; color: #fff; }
.svc-list { align-self: start; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.svc + .svc { border-top: 1px solid var(--line); }
.svc-row { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 76px; padding: 16px 24px; border: 0; background: #fff; text-align: left; }
.svc-row:hover { background: #FCFBF9; }
.svc-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; }
.svc-t { flex: 1; }
.svc-t h3 { font: 700 18px/18.9px var(--sans); letter-spacing: -.2px; color: var(--ink2); }
.svc-t span { display: block; margin-top: 1px; font: 400 14px/21px var(--sans); color: var(--mute); }
.svc-chev { flex: none; color: var(--ink2); transition: transform .2s; }
.svc-row[aria-expanded="true"] .svc-chev { transform: rotate(180deg); }
.svc-body { padding: 0 24px 20px 84px; }
.svc-body p { font-size: 15px; line-height: 22px; color: var(--mute); }
.svc-body .btn { margin-top: 12px; }
.deco { position: absolute; pointer-events: none; }
.deco-s5 { right: 0; bottom: 0; width: 70px; height: 150px; }

/* ---------- 6. защо ---------- */
.why { position: relative; padding: 112px 0 136px; background: var(--brand); overflow: hidden; }
.why h2 { position: relative; max-width: 806px; margin: 0 auto; text-align: center; font: 700 56px/64px var(--nord); letter-spacing: -1.2px; color: #fff; }
.why-cards { position: relative; display: flex; justify-content: center; gap: 16px; margin-top: 64px; }
.why-card { width: 360px; padding: 32px; border-radius: 32px; background: #fff; }
.why-card h3 { font: 700 24px/32px var(--nord); letter-spacing: -.3px; color: var(--ink); }
.why-card p { margin-top: 11px; }
.why-cta { position: relative; padding-top: 48px; text-align: center; }
.deco-w1 { right: -94px; top: -164px; width: 208px; height: 271px; }
.deco-w2 { left: calc(50% - 696px); top: 222px; width: 349px; height: 344px; }
.deco-w3 { left: calc(50% + 472px); top: 590px; width: 148px; height: 174px; }

/* ---------- 7. направления (карусел) ---------- */
.dirs { padding: 128px 0; text-align: center; }
.dirs h2 { max-width: 750px; margin: 0 auto; font: 700 36px/44px var(--nord); letter-spacing: -.6px; color: var(--ink); }
.car { position: relative; max-width: 1257px; margin: 50px auto 0; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 37px; height: 37px; padding: 0; border: 1.5px solid #E7C7B0; border-radius: 50%; background: #fff; color: var(--deep); }
.car-btn svg { width: 20px; height: 20px; }
.car-btn[hidden] { display: none; }
.dirs .car-prev { left: 69px; top: 149px; }
.dirs .car-next { right: 69px; top: 149px; }
.dir { flex: 0 0 419px; display: flex; flex-direction: column; align-items: center; padding: 0 69px; scroll-snap-align: start; }
.dir + .dir { border-left: 1px solid var(--line); }
.dir img { width: 252px; height: 252px; border-radius: 50%; object-fit: cover; }
.dir h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 24px; font: 700 32px/36.8px var(--sans); letter-spacing: -.2px; color: var(--ink); }
.dir-sub { margin-top: 8px; font: 500 16px/20px var(--sans); letter-spacing: .1px; color: var(--deep); }
.dir-more { margin-top: 8px; max-width: 280px; }
.dir-more summary { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; color: var(--deep); font: 500 15px/20px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.dir-more summary::-webkit-details-marker { display: none; }
.dir-more[open] summary { display: none; }
.dir-more p { font: 400 16px/23.2px var(--sans); }
.dir .btn { margin-top: 20px; }

/* ---------- 9. популярни уроци ---------- */
.clss { margin-top: 120px; }
.clss h2 { text-align: center; font: 700 24px/32px var(--nord); letter-spacing: -.2px; color: var(--ink); }
.car-cls { max-width: 1132px; margin-top: 71px; }
.car-cls .car-track { gap: 20px; padding: 0 10px; scroll-padding: 0 10px; }
.car-cls .car-prev { left: -6px; top: 67px; }
.car-cls .car-next { right: -6px; top: 67px; }
.cls { flex: 0 0 263px; display: flex; flex-direction: column; border: 1px solid #DCDCDC; border-radius: 8px; overflow: hidden; scroll-snap-align: start; color: #2E3238; }
.cls-cover { position: relative; height: 140px; padding: 14px 16px; background: var(--c); color: #fff; overflow: hidden; }
.cls-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.22) 0 30px, transparent 31px), radial-gradient(circle at 10% 110%, rgba(255,255,255,.16) 0 60px, transparent 61px); }
.cls-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--c); font: 700 12px/14px var(--sans); }
.cls-big { position: absolute; left: 16px; bottom: 10px; font: 700 40px/1 var(--nord); letter-spacing: -1px; }
.cls-big small { margin-left: 6px; font: 600 14px var(--sans); letter-spacing: 0; }
.cls-body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px 8px; }
.cls-top { display: flex; gap: 12px; align-items: flex-start; }
.cls-top h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; min-height: 48px; font: 700 16px/24px var(--sans); }
.save { width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #F0623C; flex: none; }
.save[aria-pressed="true"] { --heart-fill: #F0623C; }
.cls-go { display: inline-flex; align-items: center; gap: 2px; margin-top: auto; padding: 16px 0 6px; border: 0; background: none; color: var(--deep); font: 500 15px/20px var(--sans); }
.cls-go svg { width: 18px; height: 18px; }
.clss-cta { margin-top: 64px; text-align: center; }

/* ---------- 10. къде сме ---------- */
.where { margin-top: 100px; padding: 72px 24px; background: var(--tint); }
.where-in { display: grid; grid-template-columns: 511px 511px; gap: 50px; align-items: center; max-width: 1072px; margin: 0 auto; }
.where h2 { font: 700 46px/48.3px var(--nord); letter-spacing: -1.4px; color: var(--ink2); }
.where-txt p { max-width: 502px; margin-top: 23px; font: 400 19px/27.6px var(--sans); color: var(--ink2); }
.where-txt .btn { margin-top: 36px; }
.where-art { display: flex; justify-content: center; }
.map { width: 333px; height: 360px; }

/* ---------- 11-14. футър ---------- */
.foot { padding-top: 72px; background: var(--brand); color: #fff; }
.frow { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 244px); gap: 48px; }
.ft { font: 700 18px/22.5px var(--sans); }
.ft button { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; cursor: default; }
.ft button svg { display: none; }
.fl { margin-top: 16px; }
.fl li + li { margin-top: 8px; }
.fl a { display: inline-block; font: 400 16px/24px var(--sans); text-decoration: none; }
.fl a:hover { text-decoration: underline; }
.fapp .fl { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.badge, .fl .badge { display: flex; align-items: center; gap: 10px; width: 184px; white-space: nowrap; height: 48px; padding: 0 16px; border-radius: 12px; color: #fff; text-decoration: none; }
.fl .badge:hover { text-decoration: none; filter: brightness(1.08); }
.badge-viber { background: #7360F2; }
.badge-tel { background: #25A244; }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge span { font: 600 17px/1 var(--sans); }
.foot-bot { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.35); }
.foot-bot-in { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 16px 0; }
.fb-l { display: flex; align-items: center; gap: 24px; }
.felixbg-credit a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 14px; }
.felixbg-credit img { border-radius: 4px; flex: none; }
.felixbg-credit span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- форма за записване ---------- */
.zapis { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.zapis::backdrop { background: rgba(20,10,0,.55); }
.zapis-f { position: relative; display: grid; gap: 14px; padding: 32px; }
.zapis-x { position: absolute; right: 16px; top: 16px; padding: 4px; border: 0; background: none; }
.zapis h2 { padding-right: 32px; font: 700 24px/32px var(--nord); letter-spacing: -.3px; }
.zapis-lead { color: var(--mute); font-size: 15px; line-height: 22px; }
.zapis label { display: grid; gap: 6px; font: 500 14px/18px var(--sans); }
.zapis input:not([type=radio]):not([type=checkbox]), .zapis select, .zapis textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid #C9C9C9; border-radius: 12px; font: 400 16px/22px var(--sans); color: var(--ink); background: #fff; }
.zapis :is(input, select, textarea):focus { outline: none; border-color: var(--deep); }
.zapis .is-bad { border-color: #C62828 !important; }
.zapis fieldset { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; border: 0; }
.zapis legend { width: 100%; margin-bottom: 6px; font: 500 14px/18px var(--sans); }
.zapis .radio, .zapis .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; line-height: 21px; }
.zapis .radio input, .zapis .check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--deep); }
.zapis-err { color: #C62828; font-size: 14px; }
.zapis-ok { padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: 14px; line-height: 20px; }

/* ---------- таблет ---------- */
@media (max-width: 1199.98px) {
  .hdr-l { width: auto; }
  .call span { display: none; }
  .hero-in { gap: 24px; }
  .hero-txt { width: auto; flex: 1; }
  .svcs-card { grid-template-columns: 1fr 1.4fr; }
  .why-cards { padding: 0 24px; }
  .where-in { grid-template-columns: 1fr 1fr; }
  .frow { grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0 24px; }
  .foot-bot-in { padding: 16px 24px; }
}

/* ---------- телефон (точка на прекъсване 768 при образеца) ---------- */
@media (max-width: 767.98px) {
  html { scroll-padding-top: 76px; }
  .bar { height: 44px; padding: 13px 40px 13px 12px; white-space: nowrap; font-size: min(13px, 3.4vw); line-height: 17.6px; }
  .bar-x { top: 10px; right: 10px; }
  .hdr { gap: 8px; padding: 0 16px; }
  .hdr-l { display: contents; }
  .logo { gap: 8px; }
  .logo span { font-size: 21px; }
  .browse { margin-left: auto; }
  .browse-menu { left: auto; right: -60px; }
  .browse-btn { height: 56px; padding: 0 8px; gap: 4px; color: #424242; font-size: 14px; }
  .browse-btn svg { width: 18px; height: 18px; }
  .search { display: none; }
  .search.is-open { display: block; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); max-width: none; box-shadow: 0 6px 20px rgba(0,0,0,.15); border-radius: 999px; }
  .hdr-r { gap: 18px; }
  .call, .hdr-r > .btn { display: none; }
  .m-search, .m-menu { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #3a3a3a; }
  .m-menu { width: 21px; }
  .m-nav:not([hidden]) { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 4px; padding: 12px 16px 20px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
  .m-nav a { padding: 12px 4px; font: 500 17px/22px var(--sans); text-decoration: none; border-bottom: 1px solid #eee; }
  .m-nav .btn { margin-top: 12px; height: 48px; border: 0; }

  .hero { display: flex; flex-direction: column; justify-content: center; padding: 16px; }
  .hero-in { flex-direction: column-reverse; align-items: stretch; gap: 16px; }
  .hero-art { zoom: .5; align-self: center; }
  .hero h1 { font-size: min(30px, calc((100vw - 32px) / 13.6)); line-height: 1.13; letter-spacing: -.6px; }
  .hero-txt p { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .hero-txt .btn { align-self: flex-start; }


  .svcs { padding: 48px 16px; }
  .svcs-card { display: block; padding: 20px; }
  .svcs-l h2 { font-size: 24px; line-height: 32px; letter-spacing: -.3px; }
  .svcs-l p { width: auto; max-width: 280px; margin-top: 24px; font-size: 14px; line-height: 21px; }
  .svc-list { margin-top: 24px; }
  .svc-row { gap: 12px; padding: 16px; }
  .svc-ic { width: 40px; height: 40px; }
  .svc-t h3 { font-size: 16px; line-height: 16.8px; }
  .svc-t span { font-size: 12px; line-height: 14.4px; margin-top: 3px; }
  .deco-s5 { display: none; }
  .svc-body { padding: 0 16px 16px 68px; }

  .why { padding: 0 0 64px; }
  .why h2 { padding-top: 0; font-size: 40px; line-height: 48px; letter-spacing: -.8px; }
  .why-cards { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 64px; padding: 0 16px; }
  .why-card { width: auto; }
  .why-card h3 { font-size: 20px; line-height: 24px; }
  .deco { display: none; }

  .dirs { padding: 64px 0; }
  .dirs h2 { font-size: 28px; line-height: 32px; letter-spacing: -.4px; }
  .car { margin-top: 50px; }
  .dir { flex: 0 0 100%; padding: 0 45px; }
  .dir + .dir { border-left: 0; }
  .dir h3 { font-size: 24px; line-height: 27.6px; letter-spacing: 0; }
  .dirs .car-prev { left: 45px; top: 139px; }
  .dirs .car-next { right: 45px; top: 139px; }
  .dirs .car-prev[hidden] { display: grid; visibility: hidden; }

  .clss { margin-top: 64px; }
  .clss h2 { padding: 0 20px; font-size: 24px; line-height: 24px; }
  .car-cls { margin-top: 23px; }
  .car-cls .car-track { padding: 0 22px; scroll-padding: 0 22px; }
  .car-cls .car-btn { display: none; }
  .clss-cta { margin-top: 40px; }

  .where { margin-top: 50px; padding: 44px 16px; }
  .where-in { display: block; }
  .where h2 { font-size: 30px; line-height: 31.5px; letter-spacing: -.8px; }
  .where-txt p { margin-top: 23px; font-size: 16px; line-height: 23.2px; }
  .where-txt .btn { display: flex; margin-top: 36px; }
  .where-art { margin-top: 32px; }
  .map { width: 240px; height: 260px; }

  .foot { padding-top: 32px; }
  .frow { display: none; }
  .foot-bot { margin-top: 28px; }
  .foot-bot-in { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px 24px; }
  .fb-l { flex-direction: column; align-items: flex-start; gap: 10px; }
  .zapis-f { padding: 24px 20px; }
}
.foot-app-m { display: none; }
@media (max-width: 767.98px) {
  .foot-app-m { display: block; padding: 0 16px; }
  .fm-where { margin-bottom: 16px; font: 500 16px/22px var(--sans); }
  .fm-where a { text-decoration: none; }
  .foot-app-m .fl { display: flex; gap: 12px; margin: 0; }
  .foot-app-m .badge { flex: 1; width: auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Твориума: добавено от FelixBG (14.11.2026) ---------- */
.p2 { left: auto; right: -12px; }

/* временни места, които клиентът попълва */
.ph { color: var(--mute); font-style: normal; }
.ph-box { display: grid; place-items: center; align-content: center; gap: 8px; border: 2px dashed #E7C7B0; background: var(--tint); color: var(--deep); font: 500 14px/18px var(--sans); text-align: center; }

/* история */
.story { padding: 112px 24px; }
.story-in { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; max-width: 1072px; margin: 0 auto; }
.story-photo { aspect-ratio: 4 / 5; border-radius: 46% / 40%; }
.story h2 { font: 700 46px/52px var(--nord); letter-spacing: -1.2px; color: var(--ink2); }
.story-txt p { max-width: 560px; margin-top: 20px; font: 400 19px/28px var(--sans); color: var(--ink2); }
.story-txt p.ph { color: var(--mute); }
.story-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; }
.story-facts div { padding: 20px; border-radius: 20px; background: var(--page); }
.story-facts dt { font: 700 16px/22px var(--nord); color: var(--deep); }
.story-facts dd { margin: 8px 0 0; font-size: 15px; line-height: 21px; }

/* дипломи и сертификати */
.certs { padding: 96px 24px 112px; background: var(--page); text-align: center; }
.certs h2 { font: 700 36px/44px var(--nord); letter-spacing: -.6px; color: var(--ink); }
.certs-lead { margin-top: 12px; font-size: 18px; line-height: 27px; color: var(--mute); }
.cert-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1072px; margin: 48px auto 0; text-align: left; }
.cert { padding: 16px 16px 20px; border-radius: 24px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.cert-img { aspect-ratio: 4 / 3; border-radius: 14px; }
.cert h3 { margin-top: 16px; font: 700 18px/24px var(--sans); color: var(--ink2); }
.cert p { margin-top: 4px; font-size: 14px; line-height: 20px; }

/* запитване, адрес и карта */
.kont { padding: 112px 24px; }
.kont-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; max-width: 1072px; margin: 0 auto; }
.kont h2 { font: 700 36px/44px var(--nord); letter-spacing: -.6px; color: var(--ink2); }
.kont-lead { margin-top: 12px; color: var(--mute); font-size: 17px; line-height: 25px; }
.kont-form-wrap { padding: 40px; border-radius: 32px; background: var(--brand); color: #fff; }
.kont-form-wrap h2 { color: #fff; }
.kont-form-wrap .kont-lead { color: #fff; }
.zf { display: grid; gap: 14px; margin-top: 28px; padding: 28px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.zf label { display: grid; gap: 6px; font: 500 14px/18px var(--sans); }
.zf input:not([type=checkbox]), .zf textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid #C9C9C9; border-radius: 12px; font: 400 16px/22px var(--sans); color: var(--ink); background: #fff; }
.zf textarea { resize: vertical; }
.zf :is(input, textarea):focus { outline: none; border-color: var(--deep); }
.zf .is-bad, .zapis .is-bad { border-color: #C62828 !important; }
.zf .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; line-height: 21px; }
.zf .check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--deep); }
.zf-err { color: #C62828; font-size: 14px; }
.zf-ok { padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: 14px; line-height: 20px; }
.zf .btn { justify-self: start; }
.zf .btn[disabled], .zapis .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kont-info { display: flex; flex-direction: column; padding-top: 40px; }
.kont-list { display: grid; gap: 20px; margin-top: 28px; }
.kont-list li { display: flex; gap: 14px; align-items: flex-start; }
.kont-list svg { flex: none; color: var(--deep); margin-top: 2px; }
.kont-list div { display: grid; gap: 2px; font-size: 17px; line-height: 24px; }
.kont-list b { font-weight: 700; }
.kont-list a { color: var(--deep); font-weight: 600; text-decoration: none; }
.kont-list .ph { font-size: 15px; }
.kont-map { flex: 1; min-height: 280px; margin-top: 28px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); }
.kont-map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.kont-maplink { align-self: flex-start; margin-top: 14px; color: var(--deep); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 1199.98px) {
  .story-in { grid-template-columns: 320px 1fr; gap: 40px; }
  .cert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .p2 { right: -4px; }
  .story { padding: 56px 16px; }
  .story-in { display: block; }
  .story-photo { width: min(240px, 70%); margin: 0 auto 28px; }
  .story h2 { font-size: 28px; line-height: 34px; letter-spacing: -.5px; }
  .story-txt p { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .story-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .story-facts div { padding: 14px 16px; }
  .certs { padding: 56px 16px 64px; }
  .certs h2 { font-size: 26px; line-height: 32px; letter-spacing: -.4px; }
  .certs-lead { font-size: 16px; line-height: 24px; }
  .cert-list { gap: 12px; margin-top: 28px; }
  .cert { padding: 10px 10px 14px; border-radius: 18px; }
  .cert h3 { margin-top: 10px; font-size: 15px; line-height: 20px; }
  .cert p { font-size: 12px; line-height: 17px; }
  .cert-img svg { width: 30px; height: 30px; }
  .cert-img span { font-size: 12px; line-height: 15px; }
  .kont { padding: 56px 16px; }
  .kont-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .kont h2 { font-size: 26px; line-height: 32px; letter-spacing: -.4px; }
  .kont-form-wrap { padding: 24px 16px; border-radius: 24px; }
  .zf { padding: 20px 16px; margin-top: 20px; }
  .zf .btn { justify-self: stretch; }
  .kont-info { padding-top: 0; }
  .kont-map, .kont-map iframe { min-height: 260px; }
}
