/* Prima pagină. Hotărârile care o țin împreună: fotografii reale din atelier, albastre până când le „vezi” și în culoare
   când sunt deschise; un singur moment mare (titlul de sus), restul titlurilor reținute; rânduri aliniate în loc de carduri;
   portocaliul doar pe ce s-a aprins; secțiuni scurte. */

.td-hm-h2 { margin: 0; color: var(--td-title); font-size: clamp(30px, 3.5vw, 50px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.td-hm-head { display: grid; gap: 8px 40px; margin-bottom: clamp(18px, 2.2vw, 28px); }
.td-hm-head-text { max-width: 54ch; margin: 0; font-size: 15px; line-height: 1.55; }
@media (min-width: 900px) { .td-hm-head { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end; } }

/* ——— Sus: scannerul, titlul și consultația. */
.td-hm-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; margin-top: calc(-1 * var(--td-photo-top)); padding: calc(var(--td-photo-top) + clamp(14px, 3vw, 40px)) 0 clamp(12px, 1.6vw, 20px); overflow: hidden; background: var(--td-navy-deep); color: #fff; }
@media (min-width: 1040px) { .td-hm-hero { min-height: min(100svh, 880px); } }
.td-hm-scan { position: absolute; inset: 0; z-index: -1; }
.td-hm-scan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.td-hm-scan-ray { position: absolute; inset: 0; isolation: isolate; background: linear-gradient(115deg, #031A33 0%, #0A3A86 62%, #155EEA 100%); clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.td-hm-scan-ray img { filter: grayscale(1) contrast(1.25) brightness(.95); mix-blend-mode: luminosity; }
.td-hm-scan-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 26px 5px rgba(141, 180, 255, .85); }
.td-hm-scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 21, 41, .66) 0%, rgba(2, 21, 41, .3) 42%, rgba(2, 21, 41, 0) 66%), linear-gradient(180deg, rgba(2, 21, 41, .62) 0%, rgba(2, 21, 41, 0) 26%, rgba(2, 21, 41, 0) 52%, rgba(2, 21, 41, .78) 100%); pointer-events: none; }
.td-hm-kicker { margin: 0 0 8px; color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 600; }
.td-hm-title { margin: 0; color: #fff; }
.td-hm-title-big { display: block; max-width: 7.4em; font-size: clamp(40px, 12.2vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; }
.td-hm-title-sub { display: block; max-width: 25em; margin-top: 10px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
.td-hm-facts { display: none; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.td-hm-facts li { display: flex; align-items: center; gap: 8px; }
.td-hm-facts svg { flex: none; width: 18px; height: 18px; color: #9DBCFF; }
@media (min-width: 760px) {
  .td-hm-title-big { font-size: clamp(56px, 7.6vw, 116px); }
  .td-hm-facts { display: flex; }
}
@media (max-width: 759px) {
  .td-hm-scan img { object-position: 74% 50%; }
  .td-hm-scan::after { background: linear-gradient(180deg, rgba(2, 21, 41, .74) 0%, rgba(2, 21, 41, .28) 42%, rgba(2, 21, 41, .55) 62%, rgba(2, 21, 41, .9) 100%); }
  .td-hm-hero { padding-bottom: 12px; }
}

/* Consultația: o consolă de sticlă peste fotografie. */
.td-cs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 22px; padding: 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--td-r-lg); background: rgba(2, 21, 41, .66); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.td-cs-title { margin: 0 0 2px; color: #fff; font-size: clamp(19px, 1.7vw, 22px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.td-cs-lead { margin: 0; color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.4; }
.td-cs-signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.td-cs-sign { position: relative; display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 42px; padding: 4px 5px 4px 8px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.15; cursor: pointer; transition: background var(--td-trans), border-color var(--td-trans); }
.td-cs-sign input { position: absolute; opacity: 0; pointer-events: none; }
.td-cs-sign:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); }
.td-cs-lamp { flex: none; display: block; width: 20px; height: 20px; color: rgba(255, 255, 255, .8); transition: color var(--td-trans), filter var(--td-trans); }
.td-cs-lamp svg { display: block; width: 100%; height: 100%; }
.td-cs-sign:has(input:checked) { border-color: var(--td-warn); background: rgba(245, 158, 11, .2); }
.td-cs-sign:has(input:checked) .td-cs-lamp { color: var(--td-warn); filter: drop-shadow(0 0 5px rgba(245, 158, 11, .8)); }
.td-cs-sign:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.td-cs-actions { order: 3; display: grid; gap: 8px; }
.td-cs-actions .td-btn { min-height: 46px; padding: 8px 10px; font-size: 14px; white-space: nowrap; }
/* Pe telefon, bara de jos are deja WhatsApp și diagnoza: butonul apare după ce a ales semnele, cu mesajul lor. */
@media (max-width: 759px) {
  .td-cs:not(.has-signs) .td-cs-actions, .td-cs-actions .is-glass { display: none; }
}
@media (min-width: 760px) {
  .td-cs-signs { display: flex; flex-wrap: wrap; }
  .td-cs-sign { gap: 7px; padding: 0 13px 0 9px; border-radius: 999px; white-space: nowrap; }
  .td-cs-actions { grid-template-columns: 1.5fr 1fr; }
}
.td-cs-out { order: 2; display: none; }
.td-cs.has-signs .td-cs-out { display: block; }
.td-cs-out-title { margin: 0 0 6px; color: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 600; }
.td-cs-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.td-cs-row a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 12px; gap: 10px; align-items: center; min-height: 54px; padding: 5px 10px 5px 6px; border-radius: var(--td-r-sm); background: rgba(255, 255, 255, .07); color: #fff; }
.td-cs-row a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.td-cs-row.is-top a { box-shadow: inset 0 0 0 1px var(--td-warn); }
.td-cs-part { display: grid; place-items: center; width: 44px; height: 38px; }
.td-cs-part img { width: 100%; height: 100%; object-fit: contain; }
.td-cs-part .td-cs-noimg { background: rgba(255, 255, 255, .12); }
.td-cs-name { min-width: 0; font-size: 14px; line-height: 1.2; }
.td-cs-name b { display: block; font-weight: 700; }
.td-cs-name small { display: block; margin-top: 2px; overflow: hidden; color: rgba(255, 255, 255, .74); font-size: 11.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.td-cs-name small:empty { display: none; }
.td-cs-facts { text-align: right; font-size: 13px; line-height: 1.2; }
.td-cs-facts b { display: block; font-weight: 700; white-space: nowrap; }
.td-cs-facts small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .74); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.td-cs-go svg { display: block; width: 12px; height: 12px; }
@media (max-width: 759px) {
  /* Pe telefon, simptomul se citește întreg: prețul și garanția coboară sub el. */
  .td-cs-row a { grid-template-columns: 44px minmax(0, 1fr) 12px; column-gap: 10px; row-gap: 2px; padding-block: 7px; }
  .td-cs-part { grid-row: 1 / 3; }
  .td-cs-go { grid-column: 3; grid-row: 1 / 3; }
  .td-cs-name small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
  .td-cs-facts { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; text-align: left; }
  .td-cs-facts small { margin-top: 0; }
}
.td-cs-note { margin: 7px 0 0; color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.35; }
@media (min-width: 1040px) {
  .td-cs { grid-template-columns: 216px minmax(0, 1fr) 238px; align-items: center; padding: 14px 16px; }
  .td-cs-actions { order: 0; grid-template-columns: 1fr; gap: 6px; }
  .td-cs-actions .td-btn { min-height: 42px; }
  .td-cs-out { order: 4; grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
  .td-cs-list { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 6px; }
}

/* ——— Piesele: rândurile și atlasul. */
.td-hm-parts { padding: clamp(44px, 5vw, 72px) 0; background: #fff; }
.td-hm-parts-grid { display: grid; gap: 18px clamp(24px, 3vw, 40px); }
.td-hm-rows { margin: 0; padding: 0; border-top: 2px solid var(--td-navy); list-style: none; }
.td-hm-rows li { border-bottom: 1px solid var(--td-line); }
.td-hm-rows a { display: grid; grid-template-columns: 54px minmax(0, 1fr) 78px 86px 12px; gap: 10px; align-items: center; min-height: 66px; padding: 6px 4px; color: var(--td-title); transition: background var(--td-trans); }
.td-hm-rows li.is-on a { background: var(--td-blue-tint); }
.td-hm-rows li.is-hit a { background: #FFF6E5; }
.td-hm-row-part { display: grid; place-items: center; width: 54px; height: 46px; }
.td-hm-row-part img { width: 100%; height: 100%; object-fit: contain; }
.td-hm-row-part .td-cs-noimg { background: var(--td-blue-tint); color: var(--td-blue); }
.td-hm-row-name { min-width: 0; line-height: 1.15; }
.td-hm-row-name small { display: block; margin-bottom: 2px; color: var(--td-text); font-size: 12px; font-weight: 600; }
.td-hm-row-name b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; }
.td-hm-row-fact { min-width: 0; line-height: 1.15; }
.td-hm-row-fact b { display: block; font-size: 13.5px; font-weight: 700; }
.td-hm-row-fact small { display: block; margin-top: 2px; color: var(--td-text); font-size: 12px; font-weight: 500; }
.td-hm-row-go svg { display: block; width: 12px; height: 12px; color: var(--td-blue); }
@media (max-width: 520px) {
  .td-hm-rows a { grid-template-columns: 46px minmax(0, 1fr) auto 12px; column-gap: 10px; row-gap: 1px; min-height: 60px; }
  .td-hm-row-part { grid-row: 1 / 3; width: 46px; height: 40px; }
  .td-hm-row-name { grid-row: 1 / 3; }
  .td-hm-row-go { grid-column: 4; grid-row: 1 / 3; }
  .td-hm-row-fact { grid-column: 3; text-align: right; white-space: nowrap; }
  .td-hm-row-fact:nth-of-type(4) { grid-row: 1; align-self: end; }
  .td-hm-row-fact:nth-of-type(3) { grid-row: 2; align-self: start; }
  .td-hm-row-fact small { display: none; }
  .td-hm-row-fact:nth-of-type(4) small:only-child { display: block; }
  .td-hm-row-fact:nth-of-type(3) b { color: var(--td-text); font-size: 12.5px; font-weight: 500; }
}
@media (min-width: 1040px) { .td-hm-parts-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; } }

/* Atlasul: o radiografie pe negatoscop. */
.td-at { position: relative; display: flex; align-items: center; min-height: 240px; overflow: hidden; border-radius: var(--td-r-lg); background: radial-gradient(80% 110% at 28% 62%, #0D468F 0%, #04213F 58%, #021529 100%); }
.td-at::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(157, 188, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 188, 255, .07) 1px, transparent 1px); background-size: 32px 32px; }
.td-at svg { position: relative; display: block; flex: none; width: 150%; max-width: none; height: auto; overflow: visible; }
.td-at::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 13%; background: linear-gradient(90deg, rgba(2, 21, 41, 0), #021529); pointer-events: none; }
.td-at-faint, .td-at-line, .td-at-body, .td-at-ground, .td-at-pipe, .td-at-flow { fill: none; }
.td-at-faint { stroke: rgba(190, 212, 255, .24); stroke-width: 1; }
.td-at-line { stroke: rgba(205, 222, 255, .38); stroke-width: 1; }
.td-at-body { fill: rgba(141, 180, 255, .05); stroke: rgba(225, 235, 255, .78); stroke-width: 1.5; }
.td-at-ground { stroke: rgba(190, 212, 255, .3); stroke-width: 1; }
.td-at-pipe { stroke: rgba(205, 222, 255, .6); stroke-width: 2.5; stroke-linecap: round; }
.td-at-flow { stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 16; animation: td-at-flow 1.2s linear infinite; }
@keyframes td-at-flow { to { stroke-dashoffset: -18; } }
.td-at-organ { cursor: pointer; outline: none; transition: opacity var(--td-trans); }
.td-at-shape { fill: rgba(141, 180, 255, .2); stroke: #BCD2FF; stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(141, 180, 255, .55)); transition: fill var(--td-trans), stroke var(--td-trans), filter var(--td-trans); }
.td-at-shape .is-line { fill: none; }
.td-at-shape .is-cyl { fill: none; stroke-width: 1; }
.td-at-piston { fill: rgba(205, 222, 255, .5); stroke: none; animation: td-at-piston .9s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes td-at-piston { to { transform: translateY(14px); } }
.td-at .td-turbina-corp { fill: #BCD2FF; stroke: none; }
.td-at .td-turbina-roata { fill: #fff; stroke: none; transform-box: view-box; transform-origin: 557.4px 275.2px; animation: td-at-spin .9s linear infinite; }
@keyframes td-at-spin { to { transform: rotate(360deg); } }
.td-at-leader { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1; }
.td-at-label { fill: #fff; font: 700 25px Montserrat, Arial, sans-serif; letter-spacing: -.01em; paint-order: stroke; stroke: rgba(4, 33, 63, .85); stroke-width: 4px; stroke-linejoin: round; }
.td-at-organ:is(:hover, :focus-visible, .is-on) .td-at-shape { fill: rgba(21, 94, 234, .85); stroke: #fff; filter: drop-shadow(0 0 12px rgba(120, 165, 255, .95)); }
.td-at-organ:is(:hover, :focus-visible, .is-on) .td-turbina-corp { fill: #fff; }
.td-at-organ:is(:hover, :focus-visible, .is-on) .td-at-leader { stroke: #fff; }
.td-at-organ.is-hit .td-at-shape { fill: rgba(245, 158, 11, .55); stroke: var(--td-warn); filter: drop-shadow(0 0 12px rgba(245, 158, 11, .9)); }
.td-at-organ.is-hit .td-turbina-corp { fill: var(--td-warn); }
.td-at-organ.is-hit .td-at-label { fill: #FFD27A; }
.td-at-organ.is-hit .td-at-leader { stroke: var(--td-warn); }
.td-at.has-hits .td-at-organ:not(.is-hit) { opacity: .42; }
@media (min-width: 760px) {
  .td-at svg { width: 100%; }
  .td-at::after { display: none; }
  .td-at-label { font-size: 19px; stroke-width: 4px; }
}

.td-hm-parts-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 24px; margin-top: 12px; }
.td-hm-more { flex: 1 1 320px; }
.td-hm-more summary { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; color: var(--td-title); font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; }
.td-hm-more summary::-webkit-details-marker { display: none; }
.td-hm-more summary svg { display: block; width: 11px; height: 11px; transition: transform var(--td-trans); }
.td-hm-more[open] summary svg { transform: rotate(180deg); }
.td-hm-more-grid { display: grid; gap: 18px 36px; padding: 10px 0 8px; font-size: 14px; line-height: 1.6; }
.td-hm-more-grid h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 800; letter-spacing: -.015em; }
.td-hm-more-grid p { margin: 0 0 6px; }
.td-hm-more-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.td-hm-more-go a:first-child { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.td-hm-more-go svg { width: 13px; height: 13px; }
.td-hm-more-go .td-btn { min-height: 36px; padding: 6px 12px; font-size: 13px; }
@media (min-width: 800px) { .td-hm-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.td-hm-all { display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; font-size: 14px; font-weight: 700; }
.td-hm-all svg { width: 13px; height: 13px; }

/* ——— Drumul: panourile cu fotografii. */
.td-hm-way { padding: clamp(44px, 5vw, 72px) 0; background: var(--td-navy); color: rgba(255, 255, 255, .84); }
.td-hm-way .td-hm-h2 { color: #fff; }
.td-hm-panels { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 8px; margin: 0 calc(-1 * var(--td-gutter)); padding: 0 var(--td-gutter); overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.td-hm-panels::-webkit-scrollbar { display: none; }
.td-hm-panel { position: relative; isolation: isolate; height: 360px; overflow: hidden; border-radius: var(--td-r-lg); background: linear-gradient(115deg, #031A33, #0A3A86); scroll-snap-align: center; }
.td-hm-panel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(2, 21, 41, 0) 34%, rgba(2, 21, 41, .9) 100%); pointer-events: none; }
.td-hm-panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 420ms ease; }
.td-hm-panel-hit { position: absolute; inset: 0; z-index: 3; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.td-hm-panel-hit:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: var(--td-r-lg); }
.td-hm-panel-text { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 18px; pointer-events: none; }
.td-hm-panel-n { display: block; color: #9DBCFF; font-size: 14px; font-weight: 800; }
.td-hm-panel h3 { margin: 0 0 6px; color: #fff; font-size: clamp(26px, 3vw, 44px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
.td-hm-panel p { max-width: 50ch; margin: 0; font-size: 14.5px; line-height: 1.5; }
.td-hm-panel-bar { display: none; }
@media (min-width: 900px) {
  .td-hm-panels { display: flex; gap: 8px; margin: 0; padding: 0; overflow: visible; }
  .td-hm-panel { flex: 1 1 0; min-width: 0; height: clamp(360px, 32vw, 440px); transition: flex-grow 560ms cubic-bezier(.2, .7, .2, 1); }
  .td-hm-panel.is-on { flex-grow: 6; }
  .td-hm-panel:not(.is-on) .td-hm-panel-img { filter: grayscale(1) contrast(1.2) brightness(.9); mix-blend-mode: luminosity; }
  .td-hm-panel-text { padding: 20px; }
  .td-hm-panel:not(.is-on) .td-hm-panel-text { padding: 16px 14px; }
  .td-hm-panel:not(.is-on) p { display: none; }
  .td-hm-panel:not(.is-on) h3 { margin: 6px 0 0; font-size: 19px; letter-spacing: -.02em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
  .td-hm-panel-bar { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; display: block; height: 3px; background: #fff; transform: scaleX(0); transform-origin: left; }
  .td-hm-panels.is-playing .is-on .td-hm-panel-bar { animation: td-hm-bar 6s linear both; }
  .td-hm-panels.is-held .td-hm-panel-bar { animation-play-state: paused; }
}
@keyframes td-hm-bar { to { transform: scaleX(1); } }

/* ——— Dovada. */
.td-hm-proof { padding: clamp(44px, 5vw, 72px) 0; background: var(--td-mist); }
.td-hm-works { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 10px; margin: 0 calc(-1 * var(--td-gutter)); padding: 0 var(--td-gutter); overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.td-hm-works::-webkit-scrollbar { display: none; }
.td-hm-works li { scroll-snap-align: center; }
.td-hm-works .td-compare { border-radius: var(--td-r); }
.td-hm-works p { margin: 8px 0 0; color: var(--td-title); font-size: 14.5px; font-weight: 700; }
.td-hm-claims { display: grid; gap: 0 clamp(20px, 3vw, 40px); margin: clamp(16px, 2vw, 24px) 0 0; padding: 0; list-style: none; }
.td-hm-claims li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--td-line); }
.td-hm-claims b { min-width: 74px; color: var(--td-title); font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.td-hm-claims span { font-size: 13.5px; line-height: 1.35; }
@media (min-width: 760px) {
  .td-hm-works { grid-auto-flow: initial; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .td-hm-claims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ——— Clienții și articolele: secțiunile comune, în același ritm. */
.td-hsec.td-hm-voices, .td-hsec.td-hm-posts { padding: clamp(44px, 5vw, 72px) 0; background: #fff; }
.td-hm-voices .td-shead-title, .td-hm-posts .td-shead-title { font-size: clamp(30px, 3.5vw, 50px); letter-spacing: -.035em; line-height: 1.06; }
.td-hm-voices .td-shead, .td-hm-posts .td-shead { margin-bottom: clamp(16px, 2vw, 24px); }
.td-hm-voices .td-review { box-shadow: none; }
.td-hm-voices .td-review blockquote { color: var(--td-title); font-size: 14.5px; font-weight: 500; line-height: 1.55; }

/* ——— Atelierele. */
.td-hm-places { padding: clamp(44px, 5vw, 72px) 0; background: var(--td-navy); color: rgba(255, 255, 255, .8); }
.td-hm-places .td-hm-h2 { color: #fff; }
.td-hm-places .td-hm-status, .td-hm-places .td-hm-status span { color: #fff; }
.td-hm-status { margin: 0; font-weight: 600; }
.td-hm-cities { display: grid; gap: 0 clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.td-hm-cities li { padding: 12px 0 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
.td-hm-city { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
.td-hm-city:hover { color: #9DBCFF; }
.td-hm-city-name { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.td-hm-city-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid currentColor; border-radius: 50%; transition: transform var(--td-trans); }
.td-hm-city-go svg { width: 15px; height: 15px; }
.td-hm-city:hover .td-hm-city-go { transform: translateX(4px); }
.td-hm-city-addr { margin: 3px 0 0; font-size: 13.5px; line-height: 1.4; }
.td-hm-city-addr a { color: #9DBCFF; font-weight: 600; white-space: nowrap; }
.td-hm-cities .is-other .td-hm-city-name { color: #9DBCFF; }
@media (min-width: 760px) { .td-hm-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ——— La final: mesajul. */
.td-hm-end { position: relative; overflow: hidden; padding: clamp(44px, 5vw, 72px) 0; background: var(--td-blue); isolation: isolate; color: #fff; }
.td-hm-end::before { content: ""; position: absolute; z-index: -1; top: -10%; left: -8%; width: min(70vw, 760px); aspect-ratio: 625 / 512; background: rgba(255, 255, 255, .09); -webkit-mask: url(turbina-forma.svg) center / contain no-repeat; mask: url(turbina-forma.svg) center / contain no-repeat; }
.td-hm-end-grid { display: grid; gap: 22px clamp(28px, 4vw, 56px); }
.td-hm-end-title { margin: 0; color: #fff; font-size: clamp(30px, 3.5vw, 50px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.td-hm-end-call { margin: 18px 0 0; }
.td-hm-end .td-wl-compose { color: var(--td-text); }
@media (min-width: 900px) { .td-hm-end-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; } }

/* ——— Pe telefon: sub titlu o singură întrebare, iar variantele stau într-un pop-up care urcă de jos. Fereastra are înălțime
   fixă, ca nimic să nu sară între semne și rezultat. De la 760px în sus rămâne consola întreagă. */
.td-cs-short { display: none; }
@media (max-width: 759px) {
  .td-cs-full { display: none; }
  .td-cs-short { display: block; }
}

.td-cs-ask { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 66px; padding: 10px 11px 10px 20px; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--td-r-lg); background: rgba(2, 21, 41, .76); color: #fff; font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; transition: background var(--td-trans), border-color var(--td-trans); }
.td-cs-ask:hover { border-color: rgba(255, 255, 255, .6); background: rgba(2, 21, 41, .9); color: #fff; }
.td-cs-ask i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--td-blue); }
.td-cs-ask svg { width: 14px; height: 14px; }

html:has(.td-cs-pop[open]) { overflow: hidden; }
.td-cs-pop { width: 100%; max-width: 100%; height: min(506px, 92svh); max-height: none; margin: auto 0 0; padding: 0; overflow: hidden; border: 0; border-radius: 22px 22px 0 0; background: var(--td-navy-deep); color: #fff; }
.td-cs-pop[open] { display: flex; flex-direction: column; }
.td-cs-pop::backdrop { background: rgba(2, 21, 41, .66); }
.td-cs-pop-head { flex: none; display: flex; align-items: center; gap: 2px; min-height: 62px; padding: 8px 8px 4px 16px; }
.td-cs-pop-t { flex: 1; min-width: 0; margin: 0; color: #fff; font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; outline: 0; }
.td-cs-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.td-cs-icon[hidden] { display: none; }
.td-cs-icon:hover { background: rgba(255, 255, 255, .12); }
.td-cs-icon:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.td-cs-icon svg { width: 20px; height: 20px; }
.td-cs-back { margin-left: -10px; }
.td-cs-back svg { width: 15px; height: 15px; }
.td-cs-step { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.td-cs-step[hidden] { display: none; }
.td-cs-pop-lead { margin: 0 0 14px; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.4; }

.td-cs-pop .td-cs-signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.td-cs-pop .td-cs-sign { width: 100%; min-height: 50px; padding: 4px 6px 4px 10px; gap: 8px; border-radius: 12px; font-family: inherit; font-size: 14.5px; text-align: left; white-space: normal; }
.td-cs-pop .td-cs-sign:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.td-cs-pop .td-cs-sign:active { border-color: var(--td-warn); background: rgba(245, 158, 11, .2); }

.td-cs-parts { display: grid; align-content: start; gap: 6px; margin: 0; padding: 0; list-style: none; }
.td-cs-parts .td-cs-row[hidden] { display: none; }
@media (max-width: 759px) { .td-cs-parts .td-cs-row:has(.td-cs-facts:empty) .td-cs-name { grid-row: 1 / 3; align-self: center; } .td-cs-parts .td-cs-facts:empty { display: none; } }
.td-cs-foot { position: sticky; bottom: calc(-16px - env(safe-area-inset-bottom)); margin: auto -16px calc(-16px - env(safe-area-inset-bottom)); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--td-navy-deep); }
.td-cs-foot .td-btn { min-height: 52px; font-size: 16px; }
.td-cs-pop-note { margin: 8px 0 0; color: rgba(255, 255, 255, .72); font-size: clamp(10.5px, 2.95vw, 12px); line-height: 1.3; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .td-cs-pop[open] { animation: td-cs-up 280ms cubic-bezier(.2, .8, .2, 1); }
  .td-cs-pop[open]::backdrop { animation: td-cs-fade 220ms ease; }
}
@keyframes td-cs-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes td-cs-fade { from { opacity: 0; } }
