/* TRIDAAGRO new homepage (tridaagro_home 1.1.0). Everything is under .tdh with tdh- classes: the theme (Bootstrap 5)
   has its own .btn, .card, .lead, .panel…, and its header and footer stay as they are. */
.tdh {
  --tdh-green: #008032; --tdh-green-d: #00632a; --tdh-green-50: #edf7f0; --tdh-green-100: #cfe8d7;
  --tdh-deep: #0c2617; --tdh-yellow: #f5d90a; --tdh-yellow-50: #fff8d6; --tdh-yellow-line: #f0dd85;
  --tdh-ink: #16211b; --tdh-ink-2: #2f3b35; --tdh-muted: #66736c; --tdh-line: #e3e9e5; --tdh-tile: #f3f6f4;
  --tdh-r: 14px; --tdh-gut: 12px;
  display: block; color: var(--tdh-ink); font: 500 15px/1.5 Montserrat, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.tdh *, .tdh *::before, .tdh *::after { box-sizing: border-box; }
.tdh h1, .tdh h2, .tdh h3 { margin: 0; color: inherit; font-family: inherit; line-height: 1.15; letter-spacing: -.01em; }
.tdh h2 { font-size: 30px; font-weight: 800; }
.tdh p { margin: 0; }
.tdh a { color: inherit; text-decoration: none; }
.tdh ul, .tdh ol { margin: 0; padding: 0; list-style: none; }
.tdh img { display: block; max-width: 100%; }
.tdh button, .tdh input, .tdh select { font-family: inherit; }
.tdh-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--tdh-gut); }
.tdh-sec { padding: 64px 0; }
.tdh-sec.tdh-flush { padding-top: 0; }
.tdh-sec, .tdh-tabpanel { scroll-margin-top: 72px; }
.tdh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.tdh-head p { margin-top: 8px; color: var(--tdh-muted); max-width: 640px; }
.tdh-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--tdh-green); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tdh .tdh-more-link { color: var(--tdh-green); font-weight: 700; white-space: nowrap; }
.tdh .tdh-more-link:hover { text-decoration: underline; }
.tdh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; font: 700 15px/1.1 Montserrat, sans-serif; text-align: center; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.tdh .tdh-btn-green { background: var(--tdh-green); color: #fff; }
.tdh .tdh-btn-green:hover { background: var(--tdh-green-d); color: #fff; }
.tdh .tdh-btn-yellow { background: var(--tdh-yellow); color: #1c1f12; }
.tdh .tdh-btn-yellow:hover { background: #e9cd00; color: #1c1f12; }
.tdh .tdh-btn-line { background: #fff; color: var(--tdh-green); box-shadow: inset 0 0 0 1.5px var(--tdh-green); }
.tdh .tdh-btn-line:hover { background: var(--tdh-green-50); color: var(--tdh-green-d); }
.tdh .tdh-btn-ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.tdh .tdh-btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.tdh-num { font-variant-numeric: tabular-nums; }
.tdh-nw { white-space: nowrap; }
.tdh-cc { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 18px; padding: 0 5px; border-radius: 4px; background: var(--tdh-ink); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.tdh-preview { padding: 8px var(--tdh-gut); background: #1c1f12; color: #f5e88a; font-size: 13px; font-weight: 600; text-align: center; }

/* 1. first screen: text and the two ways on the left; behind them, right of the text up to the screen's edge, the route
   map Europe → the yard in Zvenyhorodka (it covers its box, so the land's cut edges stay outside) */
.tdh-hero { position: relative; overflow: hidden; background: radial-gradient(900px 560px at 76% 40%, #17472b 0%, rgba(23,71,43,0) 70%), linear-gradient(180deg, var(--tdh-deep) 0%, #0e2b1a 100%); color: #fff; }
.tdh-hero-in { position: relative; z-index: 1; padding-top: 36px; padding-bottom: 34px; }
.tdh-hero-in > * { position: relative; z-index: 1; max-width: 640px; }
.tdh-map-wide { position: absolute; top: 0; bottom: 0; left: 36%; right: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.tdh-map svg { display: block; width: 100%; height: 100%; }
.tdh-hero-in > .tdh-map-narrow { display: none; }
.tdh-map .tdh-arc { fill: none; stroke: rgba(245,217,10,.4); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 3 5; animation: tdh-flow 1.6s linear infinite; }
.tdh-map .tdh-arc.tdh-on { stroke: var(--tdh-yellow); stroke-width: 2.6; stroke-dasharray: none; animation: none; }
.tdh-map .tdh-src { fill: var(--tdh-yellow); fill-opacity: .8; }
.tdh-map .tdh-src-on { fill: none; stroke: var(--tdh-yellow); stroke-width: 2; }
.tdh-map .tdh-runner { fill: #fff; }
.tdh-map .tdh-home { fill: var(--tdh-yellow); stroke: var(--tdh-deep); stroke-width: 2.5; }
.tdh-map .tdh-home-ring { fill: none; stroke: var(--tdh-yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tdh-ring 2.2s ease-out infinite; }
@keyframes tdh-ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes tdh-flow { to { stroke-dashoffset: -16; } }
/* the flowing lines repaint the whole map every frame: home.js stops them after the first seconds on the narrow layout
   (tdh-calm) and pauses everything while the first screen is scrolled away (tdh-off) */
.tdh-calm .tdh-map .tdh-arc, .tdh-off .tdh-map .tdh-arc, .tdh-off .tdh-map .tdh-home-ring, .tdh-off .tdh-dot { animation-play-state: paused; }
.tdh-map text { font-family: Montserrat, sans-serif; paint-order: stroke; stroke: #0c2617; }
.tdh-map .tdh-clbl { font-size: 10.5px; font-weight: 700; fill: rgba(255,255,255,.72); stroke-width: 3px; }
.tdh-map .tdh-uslbl { font-size: 11px; font-weight: 800; fill: var(--tdh-yellow); stroke-width: 3px; }
.tdh-map .tdh-hlbl { font-size: 14px; font-weight: 800; fill: #fff; stroke-width: 4px; }
.tdh-map .tdh-hlbl2 { font-size: 11.5px; font-weight: 600; fill: rgba(255,255,255,.8); stroke-width: 3.5px; }

.tdh-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 13px; font-weight: 600; }
.tdh-eyebrow b { padding: 3px 9px; border-radius: 999px; background: var(--tdh-yellow); color: #1c1f12; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tdh .tdh-hero h1 { margin: 18px 0 14px; color: #fff; font-size: 48px; font-weight: 800; line-height: 1.07; }
.tdh-hero h1 em { font-style: normal; color: var(--tdh-yellow); }
.tdh .tdh-lead { color: rgba(255,255,255,.8); font-size: 16px; }

.tdh-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.tdh .tdh-door { display: flex; flex-direction: column; padding: 16px 18px; border-top: 5px solid var(--tdh-green); border-radius: 16px; background: #fff; color: var(--tdh-ink); box-shadow: 0 18px 40px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s; }
.tdh .tdh-door:hover { color: var(--tdh-ink); transform: translateY(-2px); box-shadow: 0 22px 48px rgba(0,0,0,.32); }
.tdh .tdh-door-agro { border-top-color: var(--tdh-yellow); }
.tdh-door-tag { color: var(--tdh-green-d); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tdh-door-agro .tdh-door-tag { color: #6d5a00; }
.tdh-door-tag .tdh-y { display: none; }
.tdh-door-num { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 2px; }
.tdh-door-num strong { color: var(--tdh-green); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.tdh-door-agro .tdh-door-num strong { color: var(--tdh-ink); }
.tdh-ava { display: flex; padding-left: 10px; }
.tdh .tdh-ava img { width: 38px; height: 38px; margin-left: -10px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: var(--tdh-tile); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.tdh-door-sub { color: var(--tdh-muted); font-size: 13px; font-weight: 600; }
.tdh-door-go { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--tdh-green); color: #fff; font-size: 14px; font-weight: 800; }
.tdh-door-agro .tdh-door-go { background: var(--tdh-yellow); color: #1c1f12; }
.tdh-door-go i { font-style: normal; transition: transform .15s; }
.tdh-door:hover .tdh-door-go i { transform: translateX(3px); }

.tdh-search { display: flex; gap: 8px; margin-top: 14px; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.tdh .tdh-search input[type="search"] { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; color: var(--tdh-ink); font: 600 14px Montserrat, sans-serif; box-shadow: none; }
.tdh .tdh-search input[type="search"]:focus { outline: 3px solid rgba(61,220,132,.45); }
.tdh-search .tdh-btn { min-height: 44px; }

/* the newest listing; its country's route lit up on the map */
.tdh-hero-in > .tdh-live { position: absolute; top: 40px; right: max(var(--tdh-gut), calc((100% - 1320px) / 2 + var(--tdh-gut))); width: 330px; }
.tdh .tdh-live { display: block; padding: 14px; border-radius: 16px; background: rgba(10,34,20,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px rgba(0,0,0,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; }
.tdh .tdh-live:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(245,217,10,.6), 0 18px 40px rgba(0,0,0,.3); }
.tdh-live-h { display: flex; align-items: center; gap: 8px; color: #3ddc84; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tdh-live-when { margin-left: auto; color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.tdh-live-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 10px; }
.tdh .tdh-live-row img { width: 84px; height: 63px; border-radius: 8px; object-fit: cover; background: #1d4a30; }
.tdh-live-t { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tdh-live-route { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 600; }
.tdh-live-route .tdh-cc { background: rgba(255,255,255,.16); }
.tdh-live-foot { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.tdh-live-foot > b { font-size: 18px; font-weight: 800; white-space: nowrap; }
.tdh-live-foot small { color: rgba(255,255,255,.6); font-size: 11px; white-space: nowrap; }
.tdh-live-count { margin-left: auto; color: rgba(255,255,255,.7); font-size: 12px; white-space: nowrap; }
.tdh-live-count b { color: #fff; }
.tdh-live-row, .tdh-live-when, .tdh-live-foot > b { transition: opacity .3s; }
.tdh-live.tdh-swap .tdh-live-row, .tdh-live.tdh-swap .tdh-live-when, .tdh-live.tdh-swap .tdh-live-foot > b { opacity: 0; }
.tdh-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: tdh-pulse 2s infinite; }
@keyframes tdh-pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* facts we can back up, at the foot of the first screen */
.tdh-proof { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); background: rgba(5,20,12,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tdh-proof .tdh-wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.tdh-proof .tdh-wrap > div { padding: 16px 18px; border-left: 1px solid rgba(255,255,255,.1); }
.tdh-proof .tdh-wrap > div:first-child { padding-left: 0; border-left: 0; }
.tdh-proof b { display: block; font-size: 20px; font-weight: 800; line-height: 1.15; }
.tdh-proof span { color: rgba(255,255,255,.65); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .tdh-map .tdh-arc, .tdh-map .tdh-home-ring, .tdh-dot { animation: none; } }

/* 2. how import works: six steps on a route from left to right, the zones above them (abroad, on the road, in Ukraine),
   arrows between the steps (dashed on the road), the fee as a bracket under all six */
.tdh-process { padding: 34px 34px 30px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--tdh-line), 0 20px 50px rgba(22,33,27,.07); }
.tdh-zones, .tdh .tdh-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tdh-zones { margin-bottom: 20px; }
.tdh-zones span { position: relative; margin-right: 18px; padding-bottom: 10px; color: var(--tdh-ink-2); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tdh-zones .tdh-z-abroad { grid-column: 1 / 4; }
.tdh-zones .tdh-z-ua { grid-column: 5 / 7; margin-right: 0; }
.tdh-zones span::after, .tdh-zone-m::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: #9fd0b0; }
.tdh .tdh-z-road::after { background: repeating-linear-gradient(90deg, #d9b800 0 8px, transparent 8px 13px); }
.tdh .tdh-z-ua::after { height: 6px; background: linear-gradient(#0057b7 50%, #ffd500 50%); }
.tdh-step { position: relative; padding-right: 18px; }
.tdh-zone-m { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tdh-step-ic { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--tdh-green-50); color: var(--tdh-green); box-shadow: inset 0 0 0 1.5px var(--tdh-green-100); }
.tdh-step-ic svg { display: block; width: 28px; height: 28px; }
.tdh-step-ic i { position: absolute; top: -5px; right: -7px; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; background: var(--tdh-ink); color: #fff; font-size: 12px; font-style: normal; font-weight: 800; line-height: 1; }
.tdh-st-road .tdh-step-ic { background: var(--tdh-yellow); color: #1c1f12; box-shadow: none; }
.tdh-st-ua .tdh-step-ic { background: var(--tdh-green); color: #fff; box-shadow: none; }
.tdh-step::after { content: ""; position: absolute; top: 22px; left: 72px; right: 12px; height: 12px;
  background: linear-gradient(#9fd0b0, #9fd0b0) 0 50% / calc(100% - 4px) 2px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12' fill='none' stroke='%23008032' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5L6.5 6l-5 4.5'/%3E%3C/svg%3E") 100% 50% / 8px 12px no-repeat; }
.tdh-step-3::after, .tdh-step-4::after {
  background: repeating-linear-gradient(90deg, #d9b800 0 7px, transparent 7px 12px) 0 50% / calc(100% - 4px) 2px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12' fill='none' stroke='%23a88f00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5L6.5 6l-5 4.5'/%3E%3C/svg%3E") 100% 50% / 8px 12px no-repeat; }
.tdh-step:last-child::after { display: none; }
.tdh .tdh-step > b { display: block; margin: 16px 0 6px; font-size: 17px; font-weight: 800; line-height: 1.25; }
.tdh-step-tx { display: block; color: var(--tdh-ink-2); font-size: 14px; line-height: 1.45; }
.tdh-opt { display: block; margin-top: 12px; padding: 8px 10px; border: 1.5px dashed #e3c84a; border-radius: 10px; background: var(--tdh-yellow-50); font-size: 13px; line-height: 1.35; }
.tdh-opt small { display: block; margin-bottom: 2px; color: #6d5a00; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tdh-opt b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.tdh-span { position: relative; height: 20px; margin: 22px 18px 0 0; border: 2px solid var(--tdh-yellow); border-top: 0; border-radius: 0 0 14px 14px; }
.tdh-span > span { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); padding: 7px 18px; border-radius: 999px; background: var(--tdh-yellow); color: #1c1f12; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tdh-span b { margin-right: 4px; font-size: 18px; font-weight: 800; }
.tdh-process-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }
.tdh-process-foot p { color: var(--tdh-muted); font-size: 14px; }

/* 3. two ways */
.tdh-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tdh-way { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--tdh-line), 0 12px 32px rgba(22,33,27,.06); overflow: hidden; }
.tdh-way::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--tdh-green); }
.tdh-way-agro::before { background: var(--tdh-yellow); }
.tdh-way-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: var(--tdh-green-50); color: var(--tdh-green-d); font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.tdh-way-agro .tdh-way-tag { background: var(--tdh-yellow-50); color: #6d5a00; }
.tdh .tdh-way h3 { margin: 16px 0 6px; font-size: 26px; font-weight: 800; }
.tdh-way-big { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.tdh-way-big strong { font-size: 52px; font-weight: 800; line-height: 1; color: var(--tdh-green); white-space: nowrap; }
.tdh-way-agro .tdh-way-big strong { color: var(--tdh-ink); }
.tdh-way-big span { color: var(--tdh-muted); font-weight: 600; }
.tdh .tdh-way-sub { margin: 0 0 18px; color: var(--tdh-muted); }
.tdh .tdh-ticks { display: grid; gap: 8px; margin: 0 0 20px; }
.tdh-ticks li { position: relative; padding-left: 28px; }
.tdh-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--tdh-green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008032' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tdh-way-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; }
.tdh .tdh-way-cats a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--tdh-tile); }
.tdh .tdh-way-cats a:hover { background: var(--tdh-green-50); }
.tdh-way-cats b { font-size: 18px; }
.tdh-way-cats span { color: var(--tdh-muted); font-size: 12px; font-weight: 600; line-height: 1.3; }
.tdh-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 14px; border-radius: 12px; background: var(--tdh-yellow-50); box-shadow: inset 0 0 0 1px var(--tdh-yellow-line); font-size: 14px; font-weight: 700; }
.tdh-formula span { padding: 6px 10px; border-radius: 8px; background: #fff; }
.tdh-formula i { font-style: normal; color: #8a7400; font-weight: 800; }
.tdh-formula .tdh-eq { background: var(--tdh-ink); color: #fff; }
.tdh-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.tdh-opts div { padding: 10px 12px; border-radius: 10px; background: var(--tdh-tile); font-size: 13px; }
.tdh-opts b { display: block; font-size: 15px; }
.tdh-way-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* 3. countries (the map itself is in the first screen) */
.tdh-countries { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--tdh-line); }
.tdh .tdh-clist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 24px; }
.tdh-clist li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; }
.tdh-bar { position: relative; display: flex; align-items: center; height: 22px; }
.tdh-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--tdh-green-50); }
.tdh-bar span { position: relative; padding-left: 8px; font-size: 13px; font-weight: 700; }
.tdh-clist .tdh-n { font-size: 13px; font-weight: 800; }
.tdh-cmore { margin-top: 12px; color: var(--tdh-muted); font-size: 13px; }

/* 4. feed */
.tdh-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--tdh-line); }
.tdh .tdh-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--tdh-muted); font: 700 14px Montserrat, sans-serif; white-space: nowrap; cursor: pointer; }
.tdh .tdh-tabs button[aria-selected="true"] { background: var(--tdh-ink); color: #fff; }
.tdh-tabs .tdh-short { display: none; }
.tdh-tabs small { padding: 2px 7px; border-radius: 999px; background: var(--tdh-tile); color: var(--tdh-ink-2); font-size: 11px; }
.tdh-tabs button[aria-selected="true"] small { background: rgba(255,255,255,.18); color: #fff; }
.tdh-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tdh .tdh-card { display: flex; flex-direction: column; border-radius: var(--tdh-r); background: #fff; box-shadow: 0 1px 0 var(--tdh-line), 0 0 0 1px var(--tdh-line); overflow: hidden; color: var(--tdh-ink); transition: box-shadow .15s, transform .15s; }
.tdh .tdh-card:hover { color: var(--tdh-ink); box-shadow: 0 0 0 1px #d3ddd7, 0 14px 30px rgba(22,33,27,.1); transform: translateY(-2px); }
.tdh-card-ph { position: relative; aspect-ratio: 4 / 3; background: #e3e9e5; overflow: hidden; }
.tdh .tdh-card-ph img { width: 100%; height: 100%; object-fit: cover; }
.tdh-card-from { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.96); font-size: 12px; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.tdh-card-from.tdh-from-stock { padding-left: 9px; background: var(--tdh-green); color: #fff; }
.tdh-card-from .tdh-cc { background: #1c1f12; }
.tdh-card-when { position: absolute; right: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(12,18,15,.72); color: #fff; font-size: 11px; font-weight: 700; }
.tdh-card-bd { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px; }
.tdh-card-t { display: -webkit-box; min-height: 2.6em; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tdh-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tdh-specs > span { padding: 5px 8px; border-radius: 8px; background: var(--tdh-tile); }
.tdh-specs small { display: block; color: var(--tdh-muted); font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.tdh-specs b { font-size: 13px; }
.tdh-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.tdh-price b { display: block; font-size: 19px; font-weight: 800; line-height: 1.1; }
.tdh-price small { color: var(--tdh-muted); font-size: 11px; font-weight: 600; }
.tdh-card-go { padding: 8px 12px; border-radius: 9px; background: var(--tdh-green); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tdh-card-go.tdh-go-agro { background: var(--tdh-yellow); color: #1c1f12; }
.tdh-feed-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 16px 20px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--tdh-line); }
.tdh-feed-foot p { color: var(--tdh-muted); }
.tdh-feed-foot b { color: var(--tdh-ink); }

/* 5. catalogue */
.tdh-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tdh-cat { display: flex; flex-direction: column; align-items: center; padding: 16px 12px 14px; border-radius: var(--tdh-r); background: #fff; box-shadow: inset 0 0 0 1px var(--tdh-line); text-align: center; transition: box-shadow .15s; }
.tdh-cat:hover { box-shadow: inset 0 0 0 1.5px var(--tdh-green), 0 10px 24px rgba(22,33,27,.08); }
.tdh .tdh-cat-main { display: flex; flex-direction: column; align-items: center; width: 100%; }
.tdh .tdh-cat-main img { width: 120px; height: 86px; object-fit: contain; }
.tdh-cat-main b { margin: 8px 0; font-size: 15px; line-height: 1.25; }
.tdh-cat-n { display: flex; gap: 6px; width: 100%; }
.tdh .tdh-cat-n a { flex: 1; padding: 6px 4px; border-radius: 8px; background: var(--tdh-tile); color: var(--tdh-muted); font-size: 11px; font-weight: 600; line-height: 1.25; }
.tdh .tdh-cat-n a:hover { background: var(--tdh-green-50); }
.tdh-cat-n b { display: block; color: var(--tdh-ink); font-size: 14px; }
.tdh-cat-n .tdh-s b { color: var(--tdh-green); }

/* 6. brands */
.tdh-brands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; }
.tdh-box { padding: 24px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--tdh-line); }
.tdh .tdh-box h3 { font-size: 18px; font-weight: 800; }
.tdh .tdh-box > p { margin: 6px 0 16px; color: var(--tdh-muted); font-size: 13px; }
.tdh-bchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tdh-bchips a, .tdh-bchips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--tdh-tile); font-size: 14px; font-weight: 700; }
.tdh .tdh-bchips a:hover { background: var(--tdh-green-50); }
.tdh-bchips small { color: var(--tdh-muted); font-weight: 600; }
.tdh-dealers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tdh-dealer { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--tdh-line); }
.tdh-dealer b { font-size: 15px; }
.tdh-dealer span { color: var(--tdh-muted); font-size: 12px; }
.tdh-dealer em { margin-top: 6px; color: var(--tdh-green-d); font-size: 11px; font-style: normal; font-weight: 700; }
.tdh-own { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--tdh-green-50); font-size: 13px; }
.tdh-own b { color: var(--tdh-green-d); }


/* 8. offices */
.tdh-offices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
.tdh-uamap { padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--tdh-line); }
.tdh-uamap svg { display: block; width: 100%; height: auto; }
.tdh-uamap .tdh-ualand { fill: #dcefe2; stroke: #9fd0b0; stroke-width: 1.5; }
.tdh-uamap .tdh-pin { fill: var(--tdh-green); stroke: #fff; stroke-width: 2; }
.tdh-uamap .tdh-pin-main { fill: var(--tdh-yellow); stroke: var(--tdh-ink); stroke-width: 2; }
.tdh-uamap .tdh-plbl { font: 700 15px Montserrat, sans-serif; fill: var(--tdh-ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.tdh-olist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.tdh-office { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--tdh-line); }
.tdh-office.tdh-office-main { grid-column: 1 / -1; box-shadow: inset 0 0 0 1.5px var(--tdh-green); }
.tdh .tdh-office h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.tdh-office p { color: var(--tdh-muted); font-size: 13px; }
.tdh .tdh-office a { display: inline-block; margin-top: 8px; color: var(--tdh-green-d); font-weight: 800; white-space: nowrap; }
.tdh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tdh-tags span { padding: 4px 9px; border-radius: 999px; background: var(--tdh-green-50); color: var(--tdh-green-d); font-size: 12px; font-weight: 700; }

/* 9. leasing + video */
.tdh-duo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.tdh-lease { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tdh-lease div { padding: 14px; border-radius: 12px; background: var(--tdh-tile); }
.tdh-lease b { display: block; font-size: 14px; }
.tdh-lease span { display: block; margin-top: 4px; color: var(--tdh-muted); font-size: 12px; }
.tdh-lease i { display: block; margin-top: 8px; color: var(--tdh-green-d); font-style: normal; font-weight: 800; }
.tdh .tdh-lease-more { margin-top: 14px; }
.tdh-media { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; border-radius: 18px; background: linear-gradient(135deg, #1c1f12, #3a3410); color: #fff; }
.tdh .tdh-media h3 { font-size: 20px; font-weight: 800; }
.tdh .tdh-media p { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 14px; }
.tdh-soc { display: flex; flex-wrap: wrap; gap: 8px; }

/* 10. request */
.tdh-request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: 36px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--tdh-line), 0 20px 50px rgba(22,33,27,.07); }
.tdh .tdh-request h2 { font-size: 28px; }
.tdh-request > div > p { margin-top: 10px; color: var(--tdh-muted); }
.tdh-request form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tdh-full { grid-column: 1 / -1; }
.tdh .tdh-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.tdh-field > span { color: var(--tdh-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tdh .tdh-field select, .tdh .tdh-field input { width: 100%; height: 46px; margin: 0; padding: 0 12px; border: 1px solid var(--tdh-line); border-radius: 10px; background: #fff; color: var(--tdh-ink); font: 600 14px Montserrat, sans-serif; box-shadow: none; }
.tdh .tdh-field select:focus, .tdh .tdh-field input:focus { outline: 2px solid var(--tdh-green-100); border-color: var(--tdh-green); }
.tdh-ch { display: flex; gap: 8px; }
.tdh .tdh-ch label { position: relative; flex: 1; margin: 0; }
.tdh-ch input { position: absolute; opacity: 0; }
.tdh-ch span { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--tdh-line); font-size: 13px; font-weight: 700; cursor: pointer; }
.tdh-ch input:checked + span { background: var(--tdh-green-50); color: var(--tdh-green-d); box-shadow: inset 0 0 0 2px var(--tdh-green); }
.tdh-ch input:focus-visible + span { outline: 2px solid var(--tdh-green); }
.tdh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tdh-promise { color: var(--tdh-muted); font-size: 13px; }
.tdh-promise.tdh-done { padding: 14px 16px; border-radius: 12px; background: var(--tdh-green-50); color: var(--tdh-green-d); font-weight: 700; }
.tdh-promise.tdh-error { color: #b42318; font-weight: 700; }

/* 11. about */
.tdh-about { padding: 28px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--tdh-line); color: var(--tdh-ink-2); }
.tdh .tdh-about h2 { margin-bottom: 10px; font-size: 22px; }
.tdh .tdh-about p { margin-bottom: 10px; }
.tdh-about summary { color: var(--tdh-green); font-weight: 700; cursor: pointer; }

/* small desktops: the backdrop starts further right, so its labels do not run under the text */
@media (min-width: 1024px) and (max-width: 1279px) {
  .tdh-map-wide { left: 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 25%); mask-image: linear-gradient(90deg, transparent 0, #000 25%); }
}
/* below 1024px the map and the newest listing stand in the flow under the headline instead of being a backdrop */
@media (max-width: 1023px) {
  .tdh-hero-in { display: flex; flex-direction: column; padding-top: 32px; padding-bottom: 28px; }
  .tdh-hero-in > * { max-width: none; }
  .tdh-eyebrow { order: 1; align-self: flex-start; }
  .tdh .tdh-hero h1 { order: 2; }
  .tdh-map-wide { display: none; }
  .tdh-hero-in > .tdh-map-narrow { display: block; order: 3; height: 300px; margin-top: 4px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
  .tdh-hero-in > .tdh-live { position: relative; top: auto; right: auto; order: 4; width: auto; margin-top: 10px; }
  .tdh-doors { order: 5; }
  .tdh .tdh-lead { order: 6; margin-top: 16px; }
  .tdh-search { order: 7; }
  /* the route turns downwards: icon and arrow on the left, text on the right, a zone label before steps 1, 4 and 5 */
  .tdh-zones { display: none; }
  .tdh .tdh-steps { grid-template-columns: 1fr; }
  .tdh-step { --tdh-top: 0px; min-height: calc(var(--tdh-top) + 92px); padding: 0 0 22px 64px; }
  .tdh-step-1, .tdh-step-4, .tdh-step-5 { --tdh-top: 36px; }
  .tdh-zone-m { position: relative; display: flex; width: auto; height: 22px; margin: 0 0 14px -64px; padding-bottom: 8px; overflow: visible; clip: auto; color: var(--tdh-ink-2); font-size: 11.5px; font-style: normal; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
  .tdh-step-ic { position: absolute; left: 0; top: var(--tdh-top); width: 48px; height: 48px; }
  .tdh-step-ic svg { width: 24px; height: 24px; }
  .tdh .tdh-step > b { margin: 0 0 4px; padding-top: 12px; }
  .tdh-step::after, .tdh-step-3::after, .tdh-step-4::after { top: calc(var(--tdh-top) + 56px); bottom: 8px; left: 18px; right: auto; width: 12px; height: auto;
    background: linear-gradient(#9fd0b0, #9fd0b0) 50% 0 / 2px calc(100% - 4px) no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23008032' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5L6 6.5l4.5-5'/%3E%3C/svg%3E") 50% 100% / 12px 8px no-repeat; }
  .tdh-step-3::after, .tdh-step-4::after {
    background: repeating-linear-gradient(180deg, #d9b800 0 7px, transparent 7px 12px) 50% 0 / 2px calc(100% - 4px) no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a88f00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5L6 6.5l4.5-5'/%3E%3C/svg%3E") 50% 100% / 12px 8px no-repeat; }
  .tdh-opt { display: inline-block; margin-top: 10px; }
  .tdh-span { height: auto; margin: 4px 0 0; border: 0; }
  .tdh-span > span { position: static; display: block; transform: none; padding: 12px 16px; border-radius: 14px; white-space: normal; text-align: center; }
  .tdh-span b { display: block; margin: 0; font-size: 22px; }
  .tdh-process-foot { margin-top: 16px; }
}
@media (max-width: 1100px) {
  .tdh-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tdh-ways, .tdh-brands, .tdh-offices, .tdh-duo, .tdh-request { grid-template-columns: 1fr; }
  .tdh-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tdh .tdh-clist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tdh-proof .tdh-wrap { display: flex; overflow-x: auto; scrollbar-width: none; }
  .tdh-proof .tdh-wrap::-webkit-scrollbar { display: none; }
  .tdh-proof .tdh-wrap > div { flex: 0 0 auto; padding: 12px 18px; }
  .tdh-dealers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tdh { --tdh-gut: 16px; font-size: 14px; }
  .tdh-sec { padding: 34px 0; }
  .tdh h2 { font-size: 24px; }
  .tdh-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .tdh-hero-in { padding-top: 20px; padding-bottom: 22px; }
  .tdh-eyebrow { font-size: 12px; }
  .tdh .tdh-hero h1 { margin: 12px 0; font-size: 27px; line-height: 1.12; }
  .tdh-hero-in > .tdh-map-narrow { height: 168px; margin: 0 -6px; }
  .tdh-hero-in > .tdh-live { margin-top: 8px; padding: 10px 12px; }
  .tdh-live-h { font-size: 11px; }
  .tdh-live-row { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; margin-top: 8px; }
  .tdh .tdh-live-row img { width: 64px; height: 48px; }
  .tdh-live-t { font-size: 13px; }
  .tdh-live-route { margin-top: 3px; }
  .tdh-live-foot { margin-top: 6px; padding-top: 6px; }
  .tdh-live-foot > b { font-size: 16px; }
  .tdh-doors { gap: 10px; margin-top: 12px; }
  .tdh .tdh-door { padding: 12px; border-top-width: 4px; border-radius: 14px; }
  .tdh-door-tag { font-size: 10.5px; letter-spacing: .02em; }
  .tdh-door-num { margin: 6px 0 2px; }
  .tdh-door-num strong { font-size: 30px; }
  .tdh-ava, .tdh-door-go .tdh-x, .tdh-door-tag .tdh-x { display: none; }
  .tdh-door-tag .tdh-y { display: inline; }
  .tdh-door-sub { font-size: 12px; line-height: 1.35; }
  .tdh-door-go { margin-top: 10px; padding: 10px; font-size: 13px; }
  .tdh .tdh-lead { margin-top: 14px; font-size: 14px; }
  .tdh-proof .tdh-wrap > div { padding: 10px 14px; }
  .tdh-proof .tdh-wrap > div:first-child { padding-left: 0; }
  .tdh-proof b { font-size: 16px; }
  .tdh-proof span { font-size: 12px; }
  .tdh .tdh-clist { grid-template-columns: 1fr; }
  .tdh-way { padding: 22px 18px; }
  .tdh .tdh-way h3 { font-size: 22px; }
  .tdh-way-big { flex-wrap: wrap; row-gap: 2px; }
  .tdh-way-big strong { font-size: 42px; }
  .tdh-way-cats { gap: 6px; }
  .tdh .tdh-way-cats a { padding: 8px; }
  .tdh-way-cats b { font-size: 16px; }
  .tdh-way-cats span { font-size: 11px; }
  .tdh-opts { grid-template-columns: 1fr; }
  .tdh-way-cta .tdh-btn { flex: 1 1 100%; }
  .tdh-tabs { display: flex; width: 100%; overflow-x: auto; }
  .tdh .tdh-tabs button { flex: 1 0 auto; padding: 0 12px; font-size: 13px; }
  .tdh-tabs small, .tdh-tabs .tdh-long { display: none; }
  .tdh-tabs .tdh-short { display: inline; }
  .tdh-grid4 { display: flex; gap: 12px; margin: 0 calc(-1 * var(--tdh-gut)); padding: 0 var(--tdh-gut) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tdh-grid4::-webkit-scrollbar { display: none; }
  .tdh .tdh-grid4 .tdh-card { flex: 0 0 78%; scroll-snap-align: start; }
  .tdh-feed-foot { flex-direction: column; align-items: stretch; text-align: center; }
  /* catalogue as a list: icon, name, the two numbers in one line */
  .tdh-cats { grid-template-columns: 1fr; gap: 8px; }
  .tdh-cat { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; row-gap: 5px; align-items: center; padding: 10px 12px; text-align: left; }
  .tdh .tdh-cat-main { display: contents; }
  .tdh .tdh-cat-main img { grid-row: 1 / 3; width: 64px; height: 46px; }
  .tdh-cat-main b { margin: 0; }
  .tdh-cat-n { grid-column: 2; }
  .tdh .tdh-cat-n a { display: inline-flex; flex: 0 0 auto; align-items: baseline; gap: 4px; padding: 3px 8px; }
  .tdh-cat-n b { display: inline; font-size: 13px; }
  .tdh-box { padding: 18px 16px; }
  .tdh-bchips { gap: 6px; }
  .tdh-bchips a, .tdh-bchips span { gap: 6px; padding: 7px 10px; font-size: 13px; }
  .tdh-dealers { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tdh-dealer { padding: 10px 12px; }
  .tdh-dealer b { font-size: 14px; }
  .tdh-dealer span { font-size: 11.5px; line-height: 1.35; }
  .tdh-dealer em { margin-top: 4px; }
  .tdh-process { margin: 0 calc(-1 * var(--tdh-gut)); padding: 24px 16px 22px; border-radius: 0; }
  .tdh .tdh-step > b { font-size: 16px; }
  .tdh-process-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .tdh-process-foot p { font-size: 13px; }
  .tdh-uamap { padding: 10px; }
  .tdh-olist { gap: 8px; }
  .tdh-office { padding: 12px 10px 12px 12px; }
  .tdh .tdh-office h3 { font-size: 14px; }
  .tdh-office:not(.tdh-office-main) p { display: none; }
  .tdh .tdh-office a { font-size: 13px; }
  .tdh-lease { grid-template-columns: 1fr; gap: 8px; }
  .tdh-lease div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 10px 12px; }
  .tdh-lease span { margin-top: 2px; }
  .tdh-lease i { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .tdh-request { padding: 22px 18px; }
  .tdh .tdh-request h2 { font-size: 24px; }
  .tdh-request form { grid-template-columns: 1fr; }
}
