/* Акция „Липедем“, демо. Мерките са от образеца Acibadem City Clinic (client-projects/deos/dokumenti/referencia), цветовете са от логото на Български лечебен метод. */

@font-face { font-family: "Geologica"; font-weight: 700; font-display: swap; src: url(fonts/geologica-700-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 700; font-display: swap; src: url(fonts/geologica-700-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Golos Text"; font-weight: 400 700; font-display: swap; src: url(fonts/golos-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400 700; font-display: swap; src: url(fonts/golos-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --ink: #2b3827;      /* текст */
  --deep: #2e452d;     /* хедър, футър, тъмен бутон */
  --dark: #233622;     /* лента със заглавието */
  --muted: #5f6659;    /* втори текст */
  --act: #bd3c46;      /* главният бутон: коралът от логото, потъмнен за четимост */
  --coral: #e26066;
  --accent: #4a7a1e;   /* зеленото от логото, за акцент в текст */
  --leaf: #b9d99a;
  --soft: #edf1e5;
  --cream: #fcf9f7;
  --beige: #efddd0;
  --line: #dcded2;
  --head: "Geologica", "Golos Text", Arial, sans-serif;
  --body: "Golos Text", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Печатни форми на кирилицата и при lang="bg". С !important, защото краткото свойство font връща настройката в начално положение. */
*, *::before, *::after { font-feature-settings: "locl" 0 !important; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.4; color: var(--ink); background: #fff; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: 100px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Бутони: без заобляне, както в образеца */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 13px 16px; border: 0; font: 700 14px/14px var(--body); letter-spacing: -.4px; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn .ico { width: 18px; height: 18px; }
.btn--act { background: var(--act); color: #fff; }
.btn--act:hover { background: #a5323c; }
.btn--deep { background: var(--deep); color: #fff; box-shadow: 0 4px 10px rgba(43, 56, 39, .25); }
.btn--deep:hover { background: #3c5a3a; }
.btn--white { background: #fff; color: var(--accent); border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(43, 56, 39, .06); }
.btn--white:hover { border-color: var(--accent); }
.btn--light { background: #fff; color: var(--accent); min-height: 38px; padding: 10px 16px; box-shadow: 0 4px 10px rgba(43, 56, 39, .08); }
.btn--light:hover { color: var(--deep); }
.btn--line { background: transparent; color: #fff; border: 1px solid var(--coral); }
.btn--line:hover { background: rgba(226, 96, 102, .2); }

/* Хедър: един ред */
.header { position: sticky; top: 0; z-index: 50; background: var(--deep); color: #fff; }
.header__in { display: flex; align-items: center; gap: 22px; height: 86px; max-width: 1280px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: 171px; height: 56px; }
.nav { display: flex; gap: 4px; margin-left: 20px; margin-right: auto; }
.nav a { padding: 10px 11px; font: 600 16px/1.2 var(--body); color: #fff; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--leaf); }
.header__tel { display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1 var(--body); color: #fff; text-decoration: none; white-space: nowrap; }
.header__tel .ico { width: 24px; height: 24px; color: var(--coral); }
.header__cta { min-height: 40px; padding: 0 15px; white-space: nowrap; }
.header__m, .menu { display: none; }

/* Заглавие и видео */
.title { background: var(--dark); color: #fff; }
.title .wrap { display: flex; flex-direction: column; justify-content: center; min-height: 144px; padding-top: 24px; padding-bottom: 24px; }
.title h1 { font: 700 45.1px/1.24 var(--head); letter-spacing: -.5px; }
.title h1 span { display: block; }
.title__crumb { margin-bottom: 8px; font: 600 14px/20px var(--body); color: var(--leaf); }
.title__crumb a { text-underline-offset: 3px; }

/* Първи екран: снимка на цял екран, текстът и бутонът са в центъра */
.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100svh; margin-top: -86px; padding: 126px 0 70px; overflow: hidden; background: #6b4a12; color: #fff; text-align: center; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 27, 12, .5) 0, rgba(30, 27, 12, 0) 24%), linear-gradient(90deg, rgba(30, 27, 12, .56) 0, rgba(30, 27, 12, .5) 56%, rgba(30, 27, 12, .1) 80%, rgba(30, 27, 12, 0) 100%); }
.hero__in { width: 100%; max-width: 1020px; padding: 0 24px; }
.hero__tag { font: 600 15px/20px var(--body); color: #fff; }
.hero h1 { margin-top: 16px; font: 700 clamp(42px, 4vw, 58px)/1.1 var(--head); letter-spacing: -.026em; }
.hero h1 span { display: block; }
.hero h1, .hero__sub { text-shadow: 0 1px 18px rgba(40, 30, 8, .5); }
.hero__sub { max-width: 430px; margin: 22px auto 0; font: 400 21px/30px var(--body); }
.hero__cta { min-height: 58px; margin-top: 34px; padding: 0 32px; font-size: 17px; }
.header { transition: background-color .25s; }
.header--clear { background: transparent; }
.header--clear:has(.burger[aria-expanded="true"]) { background: var(--deep); }

/* Накратко: стойност, етикет и помощен ред, разделени с тънка линия */
.facts { padding: 84px 0 0; }
.facts--band { margin-top: 100px; padding: 70px 0; background: var(--soft); }
.facts h2 { font: 700 32px/40px var(--head); letter-spacing: -.6px; }
.facts__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 32px; margin-top: 30px; }
.facts--3 .facts__list { grid-template-columns: repeat(3, 1fr); }
.facts__list li { padding-top: 20px; border-top: 1px solid var(--ink); }
.facts__n { display: block; font: 700 44px/48px var(--head); letter-spacing: -1.6px; white-space: nowrap; }
.facts__t { display: block; margin-top: 12px; font: 600 17px/23px var(--body); }
.facts__h { display: block; margin-top: 4px; font: 400 15px/21px var(--body); color: var(--muted); }

/* Големи заглавия и уводен текст */
.h-big { font: 700 54.1px/68px var(--head); letter-spacing: -2.2px; color: var(--ink); }
.h-big span { color: var(--accent); }
.h-mid { font: 700 45.1px/56px var(--head); letter-spacing: -1.6px; }
.lead { max-width: 750px; margin-top: 30px; font: 500 17.6px/22px var(--body); color: var(--muted); }
.lead + .lead { margin-top: 16px; }
.lead strong { font-weight: 600; color: var(--ink); }

/* Терапевти */
.people { padding: 121px 0 80px; background: linear-gradient(180deg, #fff 62%, var(--soft) 100%); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 27px; margin-top: 80px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); box-shadow: 0 4px 24px rgba(43, 56, 39, .06); }
.card__img { position: relative; display: grid; place-items: center; height: 310px; }
.card__img::before { content: ""; position: absolute; width: 268px; height: 268px; border-radius: 50%; background: var(--soft); transform: translate(14px, 10px); }
.card__img img { position: relative; width: 236px; height: 236px; border-radius: 50%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 0 30px 34px; }
.card__label { font: 700 14px/20px var(--body); color: var(--muted); }
.card h3 { margin-top: 4px; min-height: 72px; font: 700 32px/36px var(--head); letter-spacing: -.6px; }
.card__rows { display: grid; gap: 12px; margin-top: 20px; padding-top: 22px; border-top: 1px solid #e4e6da; font: 700 16px/20px var(--body); }
.card__rows li { display: flex; gap: 12px; align-items: flex-start; }
.card__rows a { text-decoration: none; }
.card__rows a:hover { text-decoration: underline; }
.card__rows .ico { width: 22px; height: 22px; margin-top: -1px; color: var(--accent); }
.card__rows .thin { font-weight: 500; color: var(--muted); }
.card__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 26px; }
.people__note { max-width: 750px; margin-top: 40px; font: 500 16px/22px var(--body); color: var(--muted); }
.people__note strong { color: var(--ink); }

/* Заявка: тъмна лента със снимка */
.book { padding-top: 100px; }
.book__band { position: relative; display: grid; grid-template-columns: 731px 1fr; min-height: 343px; background: linear-gradient(180deg, #4d6f42 0%, #37542f 55%, #263a25 100%); box-shadow: 0 10px 24px rgba(43, 56, 39, .18); color: #fff; }
.book__img { position: absolute; left: 0; bottom: 0; width: 711px; height: 100%; object-fit: cover; object-position: 50% 40%; -webkit-mask-image: linear-gradient(to right, #000 68%, transparent 100%); mask-image: linear-gradient(to right, #000 68%, transparent 100%); }
.book__body { grid-column: 2; padding: 34px 60px 34px 0; }
.book h2 { font: 700 32px/40px var(--head); letter-spacing: -1px; }
.book__body > p { margin-top: 10px; font: 400 16px/20px var(--body); }
.form { margin-top: 24px; max-width: 610px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select { width: 100%; height: 44px; padding: 0 15px; border: 0; border-radius: 0; background: var(--cream); color: var(--ink); font: 400 16px/1 var(--body); appearance: none; -webkit-appearance: none; }
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.form select:disabled { opacity: .7; }
.form input::placeholder { color: #6b7165; }
.form .err { box-shadow: inset 0 0 0 2px #ff9d8f; }
.form__ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; font: 400 13px/18px var(--body); color: rgba(255, 255, 255, .88); cursor: pointer; }
.form__ok input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--coral); }
.form__btn { min-height: 44px; margin-top: 18px; padding: 13px 30px; }
.form__msg { margin-top: 12px; font: 600 15px/20px var(--body); min-height: 20px; }
.form__fine { margin-top: 4px; font: 400 13px/18px var(--body); color: rgba(255, 255, 255, .75); }

/* Липедемът: текст, кръгла снимка и четири плочки */
.help { padding-top: 130px; overflow-x: clip; }
.help__top { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 60px; align-items: center; }
.help__pic { position: relative; width: 287px; height: 287px; margin: 0 auto; }
.help__pic::before { content: ""; position: absolute; right: -100px; top: 25px; width: 250px; height: 250px; border-radius: 50%; background: var(--soft); }
.help__pic::after { content: ""; position: absolute; left: -100px; top: 30px; width: 180px; height: 240px; background-image: radial-gradient(#b9cf9f 1.6px, transparent 1.7px); background-size: 12px 12px; }
.help__pic img { position: relative; z-index: 1; width: 287px; height: 287px; border-radius: 50%; object-fit: cover; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 80px; }
.minis--3 { grid-template-columns: repeat(3, 1fr); }
.mini { padding: 30px 20px 34px; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 24px rgba(43, 56, 39, .06); text-align: center; }
.mini__n { display: grid; place-items: center; width: 153px; height: 153px; margin: 0 auto; border-radius: 50%; background: var(--soft); font: 700 64px/1 var(--head); letter-spacing: -3px; color: var(--muted); }
.mini h3 { margin-top: 22px; font: 700 22px/30px var(--body); color: var(--accent); }
.mini p { margin-top: 6px; font: 400 15px/20px var(--body); color: var(--muted); }
.mini--deep { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; border-color: var(--deep); background: var(--deep); color: #fff; }
.mini--deep p { margin: 0; font: 700 26px/32px var(--head); letter-spacing: -.6px; color: #fff; }

/* Блог: лента с карти */
.news { padding-top: 120px; overflow-x: clip; }
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.news__arrows { display: flex; gap: 10px; }
.arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--accent); box-shadow: 0 4px 10px rgba(43, 56, 39, .08); cursor: pointer; }
.arrow:hover { border-color: var(--accent); }
.arrow--prev .ico { transform: scaleX(-1); }
.news__list { display: flex; gap: 22px; margin-top: 34px; padding-bottom: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.news__list::-webkit-scrollbar { display: none; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; margin-top: 50px; }
.ncard { position: relative; display: flex; flex-direction: column; flex: 0 0 405px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(43, 56, 39, .08); }
.news__grid .ncard { flex: auto; }
.ncard__img { width: 100%; aspect-ratio: 405 / 214; object-fit: cover; }
.ncard__date { position: absolute; left: 0; top: 0; display: grid; justify-items: center; align-content: center; width: 62px; height: 60px; background: var(--deep); color: #fff; font: 700 24px/24px var(--head); }
.ncard__date small { font: 700 11px/14px var(--body); text-transform: uppercase; letter-spacing: .3px; }
.ncard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ncard__cat { display: flex; align-items: center; gap: 10px; font: 600 16px/22px var(--body); color: var(--muted); }
.ncard h3 { margin-top: 14px; font: 700 22px/28px var(--body); letter-spacing: -.3px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 84px; }
.ncard h3 a { text-decoration: none; }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 700 14px/20px var(--body); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.more .ico { width: 16px; height: 16px; }

/* Панел със снимка: човекът зад метода, покана за записване */
.visit { padding-top: 120px; }
.visit__panel { display: grid; grid-template-columns: 538px 1fr; min-height: 450px; background: var(--beige); box-shadow: 0 10px 24px rgba(43, 56, 39, .12); }
.visit__img { width: 538px; height: 100%; min-height: 450px; max-height: 560px; object-fit: cover; object-position: 50% 12%; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%); mask-image: linear-gradient(to right, #000 70%, transparent 100%); }
.visit__body { align-self: center; padding: 50px 40px 50px 104px; }
.visit__label { margin-bottom: 6px; font: 700 14px/20px var(--body); color: var(--muted); }
.visit__body p.big { max-width: 720px; margin-top: 34px; font: 700 24px/30px var(--body); letter-spacing: -.3px; }
.visit__body p.big span { color: var(--accent); }
.visit__body .btn { margin-top: 40px; }
.visit__body .btn .ico { margin-left: 6px; }
.visit--plain .visit__panel { grid-template-columns: 1fr; min-height: 0; }
.visit--plain .visit__body { padding: 60px 70px; }

/* Вътрешни страници: текст и снимка */
.page { padding: 100px 0 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; align-items: start; }
.split__img { width: 420px; aspect-ratio: 420 / 480; object-fit: cover; box-shadow: 0 10px 24px rgba(43, 56, 39, .12); }
.split .lead { max-width: none; }
.sign { margin-top: 26px; font: 700 22px/30px var(--body); color: var(--accent); }
.note { max-width: 750px; margin-top: 40px; padding: 18px 22px; border-left: 4px solid var(--coral); background: var(--cream); font: 500 15px/21px var(--body); color: var(--muted); }
.quote { margin-top: 100px; padding: 70px 0; background: var(--soft); text-align: center; }
.quote p { font: 700 45.1px/56px var(--head); letter-spacing: -1.6px; }
.quote small { display: block; max-width: 620px; margin: 22px auto 0; font: 500 17.6px/24px var(--body); color: var(--muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; margin-top: 50px; }
.box { padding: 36px 40px 40px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); box-shadow: 0 4px 24px rgba(43, 56, 39, .06); }
.box__label { font: 700 14px/20px var(--body); color: var(--muted); }
.box h3 { margin-top: 4px; font: 700 32px/36px var(--head); letter-spacing: -.6px; }
.box > p.box__price { margin-top: 14px; font: 700 64px/72px var(--head); letter-spacing: -3px; color: var(--muted); }
.box > p { margin-top: 14px; font: 500 16px/22px var(--body); color: var(--muted); }
.box .card__rows { margin-top: 22px; }
.box .btn { margin-top: 28px; }

.rows { max-width: 900px; margin-top: 40px; border-top: 1px solid var(--line); }
.rows li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 17.6px/24px var(--body); }
.rows .ico { width: 24px; height: 24px; color: var(--accent); }
.rows strong { font-weight: 700; }

.faq { max-width: 900px; margin-top: 50px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 22px/28px var(--body); letter-spacing: -.3px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { max-width: 750px; padding: 0 0 24px; font: 500 17.6px/24px var(--body); color: var(--muted); }

/* Статия */
.article { max-width: 790px; margin: 0 auto; padding: 60px 20px 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 15px/22px var(--body); color: var(--muted); }
.article__img { width: 100%; margin-top: 26px; aspect-ratio: 750 / 395; object-fit: cover; }
.article p, .article li { font: 400 18px/28px var(--body); }
.article p { margin-top: 22px; }
.article h2 { margin-top: 44px; font: 700 32px/40px var(--head); letter-spacing: -.8px; }
.article ul { margin-top: 18px; display: grid; gap: 10px; }
.article li { position: relative; padding-left: 26px; }
.article li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.article .note { margin-top: 44px; }
.article .btn { margin-top: 30px; }

/* Футър */
.footer { margin-top: 80px; background: var(--deep); color: #fff; }
.footer__in { display: grid; grid-template-columns: 225px repeat(3, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 46px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__brand .logo img { width: 190px; height: 80px; }
.footer__brand .btn { width: 220px; min-height: 40px; }
.footer__tel { display: inline-flex; align-items: center; gap: 12px; margin: 14px 0 12px; font: 700 18px/1 var(--body); text-decoration: none; }
.footer__tel .ico { color: var(--coral); }
.footer__col h2 { padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .22); font: 700 22px/24px var(--head); letter-spacing: -.3px; }
.footer__col li { margin-bottom: 12px; font: 500 14px/18px var(--body); }
.footer__col a { text-underline-offset: 3px; }
.footer__col a:hover { color: var(--leaf); }
.footer__bottom { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 26px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .22); font: 600 12px/20px var(--body); }
.coltcode-credit a { display: inline-flex; align-items: center; gap: .35em; color: inherit; text-decoration: none; }
.coltcode-credit img { flex: none; display: block; }
.coltcode-credit span { text-decoration: underline; text-underline-offset: 3px; }

/* Таблет */
@media (max-width: 1340px) {
  .header__tel span { display: none; }
}
@media (max-width: 1240px) {
  .nav { margin-left: 8px; gap: 0; }
  .nav a { font-size: 15px; padding: 10px 9px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card__body { padding: 0 40px 40px; }
  .book__band { grid-template-columns: 44% 1fr; }
  .book__img { width: 44%; }
  .book__body { padding-right: 30px; padding-left: 24px; }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .minis--3 { grid-template-columns: repeat(3, 1fr); }
  .visit__panel { grid-template-columns: 40% 1fr; }
  .visit__img { width: 100%; }
  .visit__body { padding-left: 50px; }
  .help__top { grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; }
  .help__pic::before { right: -30px; }
  .help__pic::after { left: -40px; }
  .split { grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; }
  .split__img { width: 340px; }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .nav, .header__tel, .header__cta { display: none; }
  .header__in { height: 58px; gap: 0; justify-content: space-between; }
  .logo img { width: 122px; height: 40px; }
  .header__m { display: flex; align-items: center; }
  .sq { display: grid; place-items: center; width: 50px; height: 40px; }
  .sq--act { background: var(--act); color: #fff; }
  .sq--white { background: #fff; color: var(--accent); border: 1px solid var(--line); }
  .burger { display: grid; place-items: center; width: 54px; height: 40px; margin-right: -15px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
  .burger .ico { width: 24px; height: 24px; stroke-width: 2; }
  .burger .ico--close, .burger[aria-expanded="true"] .ico--open { display: none; }
  .burger[aria-expanded="true"] .ico--close { display: block; }
  .menu:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 58px; height: calc(100dvh - 58px); padding: 16px 15px 30px; background: #fff; overflow-y: auto; }
  .menu a { display: flex; align-items: center; min-height: 51px; border-bottom: 1px solid var(--line); font: 700 13px/1 var(--body); letter-spacing: -.1px; text-transform: uppercase; color: var(--deep); text-decoration: none; }
  .menu a.menu__tel { gap: 10px; font-size: 16px; color: var(--act); text-transform: none; }
  [id] { scroll-margin-top: 72px; }

  .title .wrap { min-height: 0; padding-top: 22px; padding-bottom: 22px; }
  .title h1 { font-size: 32px; line-height: 1.2; }
  .hero { margin-top: -58px; padding: 98px 0 60px; }
  .hero h1 { font-size: 42px; }
  .h-big { font-size: 44px; line-height: 54px; letter-spacing: -1.6px; }
  .h-mid, .quote p { font-size: 36px; line-height: 45px; letter-spacing: -1.2px; }
  .people { padding-top: 90px; }
  .book { padding-top: 90px; }
  .visit__body p.big { font-size: 20px; line-height: 27px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__img { width: 100%; max-width: 520px; aspect-ratio: 520 / 400; }
  .page { padding-top: 70px; }
  .minis--3 { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* Под 1100 px числата стават редове: стойността вляво, текстът вдясно */
@media (max-width: 1100px) {
  .facts__list, .facts--3 .facts__list { grid-template-columns: 1fr; max-width: 720px; }
  .facts__list li { display: grid; grid-template-columns: 108px 1fr; column-gap: 16px; padding: 16px 0; border-top-color: var(--line); }
  .facts__list li:first-child { border-top-color: var(--ink); }
  .facts__n { grid-row: span 2; font-size: 34px; line-height: 34px; letter-spacing: -1.2px; }
  .facts__t { margin-top: 0; }
  .facts__h { grid-column: 2; }
}

/* Телефон: подредбата на образеца на 390 px */
@media (max-width: 600px) {
  .facts { padding-top: 56px; }
  .facts--band { margin-top: 70px; padding: 50px 0; }
  .facts h2 { font-size: 28px; line-height: 34px; }
  .facts__list li { grid-template-columns: 88px 1fr; }
  .facts__n { font-size: 30px; line-height: 28px; letter-spacing: -1px; }
  .facts .wide { padding: 0 38px; }
  .title .wrap { padding-top: 18px; padding-bottom: 18px; }
  .title h1 { font-size: 25px; line-height: 30px; letter-spacing: -.4px; }
  .hero h1 { font-size: 36px; line-height: 42px; }
  .hero__tag { font-size: 14px; }
  .hero__sub { margin-top: 16px; font-size: 17px; line-height: 25px; }
  .hero__cta { width: 100%; max-width: 320px; margin-top: 28px; }


  .people { padding: 90px 0 60px; }
  .people .wide, .help .wide, .news .wide { padding: 0 38px; }
  .h-big { font-size: 36px; line-height: 45px; letter-spacing: -1.4px; }
  .h-mid, .quote p { font-size: 28px; line-height: 34px; letter-spacing: -1px; }
  .cards { grid-template-columns: 1fr; gap: 20px; margin-top: 60px; }
  .card__img { height: 300px; }
  .card__img::before { width: 260px; height: 260px; transform: translate(12px, 8px); }
  .card__img img { width: 226px; height: 226px; }
  .card__body { padding: 0 20px 20px; }
  .card h3 { min-height: 0; }
  .card__btns { flex-direction: column; gap: 10px; padding-top: 22px; }
  .card__btns .btn { width: 100%; }

  .book { padding-top: 96px; }
  .book .wide { padding: 0 17px; }
  .book__band { display: block; min-height: 0; padding: 0 22px 34px; }
  .book__img { position: static; display: block; width: calc(100% + 18px); max-width: none; height: auto; aspect-ratio: 331 / 207; margin: 0 -9px; transform: translateY(-26px); -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
  .book__body { padding: 0; text-align: center; }
  .book h2 { font-size: 22px; line-height: 30px; letter-spacing: -.7px; }
  .book__body > p { margin-top: 4px; line-height: 22px; }
  .form { margin-top: 22px; text-align: left; }
  .form__row { grid-template-columns: 1fr; }
  .form__btn { width: 100%; margin-top: 16px; }
  .form__msg, .form__fine { text-align: center; }

  .help { padding-top: 90px; }
  .help__top { grid-template-columns: 1fr; gap: 50px; }
  .help .h-big { font-size: 28px; line-height: 34px; letter-spacing: -1px; text-align: center; }
  .help .h-big span { display: block; }
  .help__pic::before { right: -26px; }
  .help__pic::after { left: -24px; width: 120px; }
  .minis { display: flex; gap: 26px; margin: 60px -38px 0; padding: 0 38px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .minis::-webkit-scrollbar { display: none; }
  .mini { flex: 0 0 266px; scroll-snap-align: center; }
  .minis--3 { max-width: none; }

  .news { padding-top: 80px; }
  .news__head .h-mid { font-size: 36px; line-height: 45px; }
  .news__list { margin: 28px -38px 0; padding: 0 38px 24px; gap: 16px; }
  .ncard { flex-basis: 288px; scroll-snap-align: center; }
  .ncard h3 { font-size: 20px; line-height: 26px; min-height: 78px; }
  .news__grid { grid-template-columns: 1fr; margin-top: 34px; }
  .arrow { width: 42px; height: 42px; }

  .visit { padding-top: 70px; }
  .visit__panel { display: block; min-height: 0; }
  .visit__img { width: 100%; height: 300px; min-height: 0; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
  .visit__body, .visit--plain .visit__body { padding: 6px 20px 30px; }
  .visit--plain .visit__body { padding-top: 34px; }
  .visit__body p.big { margin-top: 22px; font-size: 16px; line-height: 21px; letter-spacing: -.2px; }
  .visit__body .btn { margin-top: 26px; }

  .page { padding-top: 56px; }
  .lead { font-size: 16px; }
  .quote { margin-top: 70px; padding: 50px 0; }
  .duo { grid-template-columns: 1fr; gap: 20px; }
  .box { padding: 26px 22px 28px; }
  .box .btn { width: 100%; }
  .faq summary { font-size: 18px; line-height: 24px; padding: 18px 0; }
  .faq p, .rows li { font-size: 16px; line-height: 23px; }
  .article { padding-top: 34px; }
  .article p, .article li { font-size: 17px; line-height: 26px; }
  .article h2 { font-size: 24px; line-height: 31px; }

  .footer { margin-top: 60px; }
  .footer__in { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; padding-bottom: 30px; }
  .footer__brand { align-items: center; gap: 0; padding-bottom: 6px; }
  .footer__brand .logo img { width: 262px; height: 110px; }
  .footer__tel { margin: 30px 0 24px; }
  .footer__brand .btn { width: 210px; min-height: 38px; padding: 8px 12px; }
  .footer__brand .btn + .btn { margin-top: 10px; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}

/* Телефон и тесен екран: вертикалната снимка, лицето е горе, текстът е под него */
@media (max-width: 850px) {
  .hero { place-items: end center; padding-bottom: 64px; }
  .hero__img { object-position: 50% 0; }
  .hero::after { background: linear-gradient(180deg, rgba(30, 27, 12, .72) 0, rgba(30, 27, 12, .42) 6%, rgba(30, 27, 12, .08) 14%, rgba(30, 27, 12, .1) 30%, rgba(30, 27, 12, .58) 46%, rgba(30, 27, 12, .64) 100%); }
}

/* iPhone: снимката стига и зад лентата на Safari, текстът остава във видимата част */
@media (max-width: 767px) and (pointer: coarse) {
  .hero { min-height: calc(100lvh + 84px); place-items: start center; padding: 0; }
  .hero__in { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 100svh; padding-top: 58px; padding-bottom: 64px; }
}
