/* teche.bg — светла, семпла идентичност; подпис: термо-акцентът (ironbow) */

@font-face {
  font-family: 'Sofia Sans';
  src: url('/assets/fonts/SofiaSans-var-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Sofia Sans';
  src: url('/assets/fonts/SofiaSans-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  src: url('/assets/fonts/SofiaSansCondensed-800-cyrillic.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  src: url('/assets/fonts/SofiaSansCondensed-800-latin.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC;
}

:root {
  --ink: #12181F;
  --ink2: #57636F;
  --paper: #FFFFFF;
  --wash: #F5F8FA;
  --line: #E4EAEF;
  --hot: #E8500F;
  --hot-deep: #C13F06;
  --thermal: linear-gradient(90deg, #23308F 0%, #8A1FA8 28%, #E22C6F 54%, #FF7A29 78%, #FFC93C 100%);
  --radius: 14px;
  --display: 'Sofia Sans Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.tc_wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 700px) { .tc_wrap { padding: 0 24px; } }

/* ---------- header ---------- */
.tc_top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.tc_top_in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; }
.tc_logo { font-family: var(--display); font-size: 1.5rem; letter-spacing: .01em; text-decoration: none; line-height: 1; display: inline-flex; align-items: center; }
.tc_logo b { color: var(--hot); }
.tc_preview { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); border: 1px solid var(--line); border-radius: 99px; padding: 3px 8px; margin-left: 8px; display: none; }
.tc_top_right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tc_top_label { display: none; font-size: .78rem; color: var(--ink2); text-align: right; line-height: 1.25; }
.tc_top_call {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em;
  color: #fff; background: var(--hot);
  padding: 9px 16px; border-radius: 99px;
  transition: background-color .15s ease, transform .15s ease;
}
.tc_top_call:hover { background: var(--hot-deep); }
.tc_top_call:active { transform: scale(.97); }
.tc_top_call svg { width: 15px; height: 15px; flex: none; }
@media (min-width: 700px) {
  .tc_top_in { padding: 14px 24px; }
  .tc_logo { font-size: 1.9rem; }
  .tc_preview { display: inline-block; }
  .tc_top_label { display: block; }
  .tc_top_call { font-size: 1.4rem; padding: 10px 22px; }
}

/* ---------- hero ---------- */
.tc_hero { padding: 40px 0 56px; }
.tc_hero_in { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 880px) {
  .tc_hero { padding: 72px 0 84px; }
  .tc_hero_in { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
.tc_h1 {
  font-family: var(--display);
  font-size: clamp(3.6rem, 11vw, 7.5rem);
  line-height: .92;
  letter-spacing: .005em;
}
.tc_h1_mark { position: relative; display: inline-block; }
.tc_h1_mark::after {
  content: '';
  position: absolute; left: 2%; right: 4%; bottom: .04em;
  height: .09em;
  background: var(--thermal);
  border-radius: 99px;
  transform-origin: left center;
  animation: tcDraw .9s cubic-bezier(.2,.7,.2,1) .15s backwards;
  z-index: -1;
}
@keyframes tcDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tc_hero_sub { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 18px 0 14px; }
.tc_hero_p { color: var(--ink2); max-width: 46ch; margin-bottom: 28px; }
.tc_cta_row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.tc_btn {
  display: inline-block; text-decoration: none;
  font-weight: 600; font-size: 1.05rem;
  padding: 15px 26px; border-radius: 12px;
  transition: transform .15s ease, background-color .15s ease;
}
.tc_btn:active { transform: scale(.98); }
.tc_btn--hot { background: var(--hot); color: #fff; }
.tc_btn--hot:hover { background: var(--hot-deep); }
.tc_btn--ghost { border: 1.5px solid var(--line); color: var(--ink); }
.tc_btn--ghost:hover { border-color: var(--ink2); }
.tc_chips { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; }
.tc_chips li { font-size: .92rem; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.tc_chips li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--thermal); flex: none;
}


/* ---------- термограма (подписът) ---------- */
.tc_thermo {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius);
  background:
    radial-gradient(58% 52% at 32% 66%, rgba(255,201,60,.98) 0%, rgba(255,122,41,.94) 22%, rgba(226,44,111,.85) 45%, rgba(138,31,168,.55) 66%, rgba(35,48,143,0) 82%),
    radial-gradient(40% 36% at 72% 30%, rgba(226,44,111,.35) 0%, rgba(138,31,168,.28) 45%, rgba(35,48,143,0) 75%),
    linear-gradient(160deg, #1B2270 0%, #131850 48%, #0C0F33 100%);
  box-shadow: 0 24px 60px -24px rgba(18,24,31,.35);
}
.tc_thermo_core {
  position: absolute; left: 17%; top: 46%; width: 30%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,246,180,.95) 0%, rgba(255,201,60,.55) 40%, rgba(255,122,41,0) 70%);
  animation: tcPulse 3.2s ease-in-out infinite;
}
@keyframes tcPulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.tc_thermo_cross { position: absolute; left: 32%; top: 66%; width: 0; height: 0; }
.tc_thermo_cross::before, .tc_thermo_cross::after {
  content: ''; position: absolute; background: rgba(255,255,255,.75);
}
.tc_thermo_cross::before { width: 74px; height: 1px; left: -37px; top: 0; }
.tc_thermo_cross::after { width: 1px; height: 74px; top: -37px; left: 0; }
.tc_thermo_ret {
  position: absolute; left: 32%; top: 66%; width: 26px; height: 26px;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(255,255,255,.9); border-radius: 3px;
}
.tc_thermo_tag {
  position: absolute; left: 14px; top: 14px;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 10px; border-radius: 99px;
}
.tc_thermo_temp {
  position: absolute; right: 14px; top: 14px;
  font-family: var(--display); font-size: 1.25rem;
  color: var(--ink); background: #fff;
  padding: 4px 12px; border-radius: 9px;
}
.tc_thermo_scale {
  position: absolute; right: 16px; top: 60px; bottom: 60px; width: 8px;
  border-radius: 99px;
  background: linear-gradient(0deg, #23308F 0%, #8A1FA8 28%, #E22C6F 54%, #FF7A29 78%, #FFC93C 100%);
}
.tc_thermo_scale i { position: absolute; right: 14px; font-style: normal; font-size: .7rem; color: rgba(255,255,255,.8); }
.tc_thermo_scale i:first-child { top: -19px; }
.tc_thermo_scale i:last-child { bottom: -19px; }
.tc_thermo_cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  font-size: .9rem; color: rgba(255,255,255,.92);
  background: linear-gradient(0deg, rgba(10,12,40,.85), rgba(10,12,40,0));
}

/* ---------- секции ---------- */
.tc_sec { padding: 52px 0; }
@media (min-width: 880px) { .tc_sec { padding: 76px 0; } }
.tc_sec--wash { background: var(--wash); }
.tc_eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink2); margin-bottom: 14px;
}
.tc_eyebrow::before { content: ''; width: 26px; height: 4px; border-radius: 99px; background: var(--thermal); }
.tc_h2 { font-family: var(--display); font-size: clamp(2.1rem, 4.5vw, 3.1rem); line-height: 1.03; margin-bottom: 14px; }
.tc_sec_lead { color: var(--ink2); max-width: 60ch; margin-bottom: 44px; }

/* стъпки */
.tc_steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 880px) { .tc_steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tc_step { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: var(--paper); }
@media (min-width: 880px) { .tc_step { padding: 26px 24px; } }
.tc_step i { font-style: normal; font-family: var(--display); font-size: 2.4rem; color: var(--hot); display: block; margin-bottom: 10px; }
.tc_step h3 { font-family: var(--display); font-size: 1.45rem; margin-bottom: 8px; }
.tc_step p { color: var(--ink2); font-size: .98rem; }

/* услуги */
.tc_cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 880px) { .tc_cards { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.tc_card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 18px; background: var(--paper);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s ease, border-color .18s ease;
}
.tc_card:hover { transform: translateY(-3px); border-color: #cfd8e0; }
@media (min-width: 880px) { .tc_card { padding: 28px 26px 22px; } }
.tc_card h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.05; }
.tc_card p { color: var(--ink2); font-size: .98rem; flex: 1; }
.tc_card_price { display: flex; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.tc_card_price strong { font-family: var(--display); font-size: 1.7rem; white-space: nowrap; }
.tc_card_price span { color: var(--ink2); font-size: .88rem; }
.tc_card_link { font-weight: 600; text-decoration: none; color: var(--hot); font-size: .98rem; }
.tc_card_link:hover { text-decoration: underline; }

/* симптоми */
.tc_sym { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 880px) { .tc_sym { grid-template-columns: repeat(3, 1fr); gap: 18px 26px; } }
.tc_sym div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.tc_sym b { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 4px; }
.tc_sym b::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--thermal); flex: none; }
.tc_sym span { color: var(--ink2); font-size: .93rem; }

/* покритие */
.tc_area { text-align: center; }
.tc_area_chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; padding: 0; list-style: none; }
.tc_area_chips li { border: 1px solid var(--line); border-radius: 99px; padding: 8px 18px; font-size: .95rem; }
.tc_area_chips li.is-main { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }

/* faq */
.tc_faq { max-width: 780px; }
.tc_faq details { border-bottom: 1px solid var(--line); }
.tc_faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.35rem;
  padding: 20px 34px 20px 0; position: relative;
}
.tc_faq summary::-webkit-details-marker { display: none; }
.tc_faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--body); font-weight: 400; font-size: 1.6rem; color: var(--hot);
  transition: transform .2s ease;
}
.tc_faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tc_faq details p { color: var(--ink2); padding: 0 0 20px; max-width: 66ch; }

/* цени таблица (вътрешна) */
.tc_price_tbl { width: 100%; border-collapse: collapse; max-width: 700px; }
.tc_price_tbl td { padding: 16px 4px; border-bottom: 1px solid var(--line); }
.tc_price_tbl td:last-child { text-align: right; font-family: var(--display); font-size: 1.35rem; white-space: nowrap; }
.tc_price_tbl small { display: block; color: var(--ink2); font-size: .88rem; }

/* честната кутия */
.tc_honest { border-left: 4px solid var(--hot); background: var(--wash); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; max-width: 760px; }
.tc_honest h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 8px; }
.tc_honest p { color: var(--ink2); font-size: .98rem; }
.tc_honest p + p { margin-top: 10px; }

/* финален CTA */
.tc_cta { position: relative; background: var(--wash); text-align: center; padding: 84px 0; }
.tc_cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--thermal); }
.tc_cta .tc_h2 { margin-bottom: 8px; }
.tc_cta p { color: var(--ink2); margin-bottom: 28px; }
.tc_cta_phone {
  display: inline-block; text-decoration: none;
  font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem);
  color: #fff; background: var(--hot);
  padding: 18px 42px; border-radius: 16px;
  transition: background-color .15s ease, transform .15s ease;
}
.tc_cta_phone:hover { background: var(--hot-deep); }
.tc_cta_phone:active { transform: scale(.98); }
.tc_cta small { display: block; margin-top: 14px; color: var(--ink2); }

/* footer */
.tc_foot { border-top: 1px solid var(--line); padding: 34px 0 110px; }
.tc_foot_in { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; color: var(--ink2); font-size: .93rem; }
.tc_foot a { color: var(--ink); text-decoration: none; font-weight: 600; }
@media (min-width: 769px) { .tc_foot { padding-bottom: 34px; } }

/* мобилен call bar */
.tc_callbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: none;
  background: var(--hot); color: #fff; text-decoration: none;
  border-radius: 14px; padding: 15px 18px;
  text-align: center;
  font-family: var(--display); font-size: 1.45rem;
  box-shadow: 0 12px 30px -10px rgba(232,80,15,.55);
}
.tc_callbar small { display: block; font-family: var(--body); font-size: .78rem; font-weight: 400; opacity: .9; }
@media (max-width: 768px) { .tc_callbar { display: block; } }

/* breadcrumb / вътрешна */
.tc_crumb { padding: 22px 0 0; font-size: .9rem; color: var(--ink2); }
.tc_crumb a { color: var(--ink2); text-decoration: none; }
.tc_crumb a:hover { color: var(--ink); }
.tc_hero--sub { padding: 44px 0 64px; }
.tc_hero--sub .tc_h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.tc_list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 760px; }
@media (min-width: 700px) { .tc_list { grid-template-columns: repeat(2, 1fr); gap: 12px 30px; } }
.tc_list li { display: flex; gap: 10px; align-items: baseline; }
.tc_list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--thermal); flex: none; position: relative; top: -1px; }

/* reveal — само при наличен JS (progressive enhancement) */
.js .tc_rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .tc_rv.in { opacity: 1; transform: none; }


@media (prefers-reduced-motion: reduce) {
  .tc_h1_mark::after, .tc_thermo_core { animation: none; }
  .js .tc_rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
