/* ============ Холистичен Център Трансмед — основни стилове ============ */
:root {
  --ink: #15303c;
  --text: #33464f;
  --muted: #687a82;
  --brand: #1a6a9a;
  --brand-deep: #0e4a70;
  --teal: #2a9cb4;
  --leaf: #79b443;
  --leaf-deep: #5a9130;
  --gold: #b48f57;
  --pearl: #f6f1ea;
  --pearl-2: #efe8de;
  --paper: #fffdf9;
  --line: #e6ddd1;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(21, 48, 60, .05), 0 12px 32px -12px rgba(21, 48, 60, .18);
  --shadow-lg: 0 30px 60px -25px rgba(21, 48, 60, .35);
  --wrap: 1200px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
::selection { background: rgba(42, 156, 180, .2); }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--pearl { background: var(--pearl); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--leaf-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 .98rem/1 var(--sans); letter-spacing: .01em;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 10px 24px -12px rgba(14, 74, 112, .7);
  white-space: nowrap;
}
.btn:hover { --bg: var(--brand-deep); color: var(--fg); transform: translateY(-1px); }
.btn--leaf { --bg: var(--leaf-deep); box-shadow: 0 10px 24px -12px rgba(90, 145, 48, .8); }
.btn--leaf:hover { --bg: #4a7b26; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --bg: var(--white); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--pearl); --fg: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* „Запазете час“ — показва телефона и набира */
.book-btn .book-phone { display: none; }
.book-btn.is-open .book-label { display: none; }
.book-btn.is-open .book-phone { display: inline; font-size: 1.08rem; letter-spacing: .02em; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lead { margin-bottom: 34px; }
.hero-media { position: relative; }
.hero-media .main { border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.hero-media .main img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -28px; bottom: 44px;
  background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--brand); }
.hero-badge span { font-size: .86rem; line-height: 1.35; color: var(--muted); }
.hero-leaf { position: absolute; right: -60px; top: -40px; width: 340px; opacity: .08; pointer-events: none; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--leaf-deep); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media .main { aspect-ratio: 16/11; border-radius: 120px 120px var(--radius) var(--radius); }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* ---------- Page header (вътрешни страници) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--pearl) 0%, var(--paper) 100%); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 10px; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.page-hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.service {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: transform .3s, box-shadow .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.service-img { aspect-ratio: 4/3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .98rem; }
.more { margin-top: auto; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.service:hover .more svg, a:hover > .more svg { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } .split-img img { aspect-ratio: 4/3; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--ink); }
.chips li.hl { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Prose (дълги текстове) ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50% 0; background: var(--leaf); transform: rotate(-45deg); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 46px; margin-bottom: 1em; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--pearl-2); color: var(--brand-deep); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--leaf); font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; height: auto; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .cols { columns: 2; column-gap: 40px; }
.prose .cols li { break-inside: avoid; }
@media (max-width: 680px) { .prose .cols { columns: 1; } }

.callout { background: var(--pearl); border-radius: var(--radius); padding: 28px 30px; margin: 2em 0; }
.callout h3 { margin-top: 0; }
.callout--blue { background: linear-gradient(135deg, #e9f3f8, #f1f8f3); }

/* списъци със системи / причини */
.tick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 1.2em 0 2em; }
.tick-grid li { margin: 0; padding: 14px 16px 14px 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.tick-grid li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; transform: none; }

.reasons { counter-reset: r; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 1.4em 0 2em; }
.reasons li { counter-increment: r; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px 20px 70px; position: relative; margin: 0; font-size: .97rem; }
.reasons li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--gold); background: none; width: auto; height: auto; transform: none; border-radius: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--pearl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315303c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; padding-right: 40px; color: var(--text); }
.tbd { background: #fff4d6; color: #8a5a00; border-radius: 6px; padding: 0 6px; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 55%, var(--teal) 100%);
  color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); }
.cta-band .leaf { position: absolute; right: -40px; bottom: -70px; width: 300px; opacity: .12; pointer-events: none; }
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Doctor ---------- */
.doctor-card { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.doctor-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.doctor-photo img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 30%; }
.doctor-photo .cap { margin-top: 18px; }
.doctor-photo .cap strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); font-weight: 600; }
.doctor-photo .cap span { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .doctor-card { grid-template-columns: 1fr; } .doctor-photo { position: static; max-width: 380px; } }
.memberships { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- Prices ---------- */
.price-list { display: grid; gap: 22px; }
.price-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.price-group h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.price-group > p { color: var(--muted); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: baseline; padding: 18px 0; border-top: 1px dashed var(--line); }
.price-row:first-of-type { border-top: 0; }
.price-row .name { font-weight: 700; color: var(--ink); }
.price-row .name small { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.price-row .price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.price-row .price span { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: 4px; }
.price-sub { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-deep); margin: 22px 0 0; }
.price-note { font-weight: 800; color: #000; margin: 14px 0 0; }
.hours { display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt, .hours b { font-weight: 700; color: var(--ink); }

/* ---------- Contacts ---------- */
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--leaf); border-radius: 14px; padding: 22px 24px; }
.c-card:nth-child(2), .c-card:nth-child(3) { border-left-color: var(--teal); }
.c-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--pearl); display: grid; place-items: center; color: var(--brand); }
.c-ico svg { width: 24px; height: 24px; }
.c-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.c-card p { margin: 0; }
.c-card .big { font-size: 1.35rem; font-weight: 700; color: var(--brand); }
.c-card .hint { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.c-card button.link { all: unset; cursor: pointer; font-size: 1.12rem; font-weight: 700; color: var(--brand); }
.c-card button.link:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.c-card button.link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; height: 100%; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.form-panel { display: none; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-panel.is-open { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #c0392b; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42, 156, 180, .15); background: #fff; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.req-note { font-size: .88rem; color: var(--muted); }
.req-note .req { color: #c0392b; }
.form-msg { margin-top: 14px; font-weight: 600; }
.form-msg.ok { color: var(--leaf-deep); }
.form-msg.err { color: #c0392b; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 25, 32, .92); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 12px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--pearl); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.post-card p { font-size: .94rem; color: var(--muted); }
.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.search { position: relative; flex: 1; max-width: 420px; }
.search input { width: 100%; font: inherit; padding: 13px 16px 13px 46px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.search input:focus { outline: none; border-color: var(--teal); }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.article-nav a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; }
.article-nav a small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.article-nav a:last-child { text-align: right; }
@media (max-width: 680px) { .article-nav { grid-template-columns: 1fr; } .article-nav a:last-child { text-align: left; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 0; margin-top: clamp(64px, 9vw, 120px); }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }
.foot-logo img { height: 46px; }
.fb { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 600; }
.fb:hover { background: #1877f2; }
.fb svg { width: 22px; height: 22px; }
.foot-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* sticky mobile call */
.mobile-call { display: none; }
@media (max-width: 680px) {
  .mobile-call { display: flex; position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; }
  .mobile-call .btn { width: 100%; box-shadow: 0 16px 34px -10px rgba(14, 74, 112, .6); }
  .site-footer { padding-bottom: 80px; }
}

/* ---------- WordPress ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.prose .wp-block-image, .prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.form-msg:empty { display: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Astra + Elementor ---------- */
body, button, input, select, textarea { font-family: var(--sans); }
.entry-content h1, .entry-content h2, h1.entry-title { font-family: var(--serif); }
#masthead { position: sticky; top: 0; z-index: 99; background: rgba(255, 253, 249, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead { top: 46px; } }
#masthead.is-scrolled { box-shadow: 0 8px 30px -20px rgba(21, 48, 60, .35); }
#masthead .main-header-bar, #masthead .ast-primary-header-bar { background: transparent; border-bottom: 0; }
.main-header-menu .menu-link { font-weight: 600; }
.main-header-menu .sub-menu { border-radius: 14px; border: 1px solid var(--line) !important; box-shadow: var(--shadow-lg); padding: 8px; }
.main-header-menu .sub-menu .menu-link { border-radius: 9px; }
.ast-header-button-1 .ast-custom-button { border-radius: 999px; font-weight: 700; padding: 13px 24px; box-shadow: 0 10px 24px -12px rgba(14, 74, 112, .7); }

/* „Запазете час“ в Elementor: бутон с CSS клас tm-book */
.tm-book .elementor-button { border-radius: 999px; }

/* Elementor: контейнери с нашите класове */
.elementor .prose ul, .elementor .prose ol { margin-bottom: 1.2em; }
.e-con.reveal, .elementor-widget.reveal { will-change: opacity, transform; }
.elementor-widget-text-editor .chips { margin-top: 10px; }
.elementor-accordion .elementor-tab-title, .e-n-accordion-item-title { font-weight: 700; }

/* Блог (Astra) */
.blog .ast-row, .archive .ast-row { gap: 24px; }
.ast-article-post .post-thumb img { border-radius: var(--radius); }
.single .post-thumb-img-content img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.single .entry-content { font-size: 1.06rem; }
.single .entry-content img { border-radius: var(--radius-sm); }

/* sticky mobile call */
.mobile-call { display: none; }
@media (max-width: 680px) {
  .mobile-call { display: flex; position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; }
  .mobile-call .btn { width: 100%; box-shadow: 0 16px 34px -10px rgba(14, 74, 112, .6); }
  .site-footer { padding-bottom: 80px; }
}