/* =========================================================
   tailor-made.css — Tailor-made маягт (3 алхам)
   ========================================================= */
:root {
  --tm-line: #E3E6DD;
  --tm-soft: #F4F6F0;
  --tm-mint: #E9F2E6;
  --tm-muted: #69706B;
}
body { background: var(--ivory); }
.tm-card [hidden] { display: none !important; }

/* ===== Hero ===== */
.tm-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(120px, 14vw, 170px);
  color: #fff;
}
.tm-hero picture, .tm-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.tm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 30, 20, 0.82) 0%, rgba(10, 30, 20, 0.55) 55%, rgba(10, 30, 20, 0.25) 100%); }
.tm-hero-text { position: relative; z-index: 1; max-width: 1100px; }
.tm-kicker { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(217, 169, 108, 0.95); color: #1f2323; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tm-hero h1 { margin: 18px 0 14px; font-size: clamp(2.4rem, 5.6vw, 4.2rem); max-width: 20ch; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.tm-hero p { max-width: 560px; font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.7; color: rgba(255, 255, 255, 0.9); }
.tm-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; list-style: none; font-size: 0.92rem; font-weight: 700; }
.tm-trust li { display: flex; align-items: center; gap: 8px; }
.tm-trust svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--steppe-green); fill: none; stroke: #0f2a1c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Card ===== */
.tm-main { padding: 0 0 90px; margin-top: clamp(-120px, -10vw, -80px); position: relative; z-index: 2; }
.tm-card {
  max-width: 980px; margin: 0 auto;
  padding: clamp(20px, 4vw, 44px);
  border-radius: 24px; background: #fff;
  box-shadow: 0 30px 80px -30px rgba(15, 42, 28, 0.35), 0 2px 8px rgba(15, 42, 28, 0.05);
}

/* Steps */
.tm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; }
.tm-steps button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 4px; border: 0; background: none; font: inherit; text-align: left; color: var(--tm-muted); cursor: pointer; }
.tm-steps button:disabled { cursor: default; }
.tm-steps i { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--tm-line); font-style: normal; font-weight: 700; transition: all 0.3s; }
.tm-steps span { display: grid; font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.tm-steps small { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #9aa09b; }
.tm-steps .is-now button { color: var(--charcoal); }
.tm-steps .is-now i { border-color: var(--altai-forest); background: var(--altai-forest); color: #fff; box-shadow: 0 0 0 5px var(--tm-mint); }
.tm-steps .is-done i { border-color: var(--steppe-green); background: var(--steppe-green); color: #fff; font-size: 0; }
.tm-steps .is-done i::before { content: "✓"; font-size: 1rem; }
.tm-bar { height: 4px; margin: 18px 0 8px; border-radius: 4px; background: var(--tm-soft); overflow: hidden; }
.tm-bar span { display: block; height: 100%; width: 33%; border-radius: 4px; background: linear-gradient(90deg, var(--steppe-green), var(--altai-forest)); transition: width 0.5s cubic-bezier(.2, .8, .2, 1); }

/* Step body */
.tm-step { border: 0; min-width: 0; padding: 0; margin: 0; }
.tm-step.is-active { animation: tm-in 0.45s cubic-bezier(.2, .8, .2, 1); }
@keyframes tm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tm-title { float: left; width: 100%; margin: 26px 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--altai-forest); }
.tm-title + * { clear: both; }
.tm-sub { color: var(--tm-muted); margin-bottom: 8px; }
.tm-q { margin-top: 30px; clear: both; }
.tm-label { margin-bottom: 14px; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--charcoal); }
.tm-label em, .tm-field em { margin-left: 6px; font-style: normal; font-weight: 400; font-size: 0.85rem; color: var(--tm-muted); }
.tm-hint { margin: 16px 0 12px; font-size: 0.9rem; color: var(--tm-muted); }
.tm-note { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--tm-mint); color: #24513a; font-weight: 700; font-size: 0.95rem; }
.tm-reveal:not([hidden]) { animation: tm-in 0.45s cubic-bezier(.2, .8, .2, 1); }

/* Hidden native inputs for every pickable card */
.tm-dest input, .tm-tile input, .tm-seg input, .tm-chips input, .tm-icons input, .tm-options input, .tm-budget input, .tm-months input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
:is(.tm-dest-card, .tm-tile, .tm-seg label span, .tm-chips span, .tm-icon, .tm-options span, .tm-budget span, .tm-month) { transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s; }
:is(.tm-dest-card, .tm-tile, .tm-seg label, .tm-chips label, .tm-icon, .tm-options label, .tm-budget label, .tm-month):has(input:focus-visible) { outline: 3px solid var(--sand-gold); outline-offset: 3px; border-radius: 16px; }

/* Destination cards */
.tm-dest { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tm-dest-card { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; cursor: pointer; border: 3px solid transparent; }
.tm-dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.tm-dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 25, 16, 0.85), rgba(8, 25, 16, 0.05) 65%); }
.tm-dest-card:hover img { transform: scale(1.05); }
.tm-dest-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: grid; color: #fff; }
.tm-dest-body strong { font-size: clamp(1.4rem, 2.8vw, 1.9rem); letter-spacing: -0.02em; }
.tm-dest-body small { font-size: 0.9rem; opacity: 0.9; }
.tm-tick { position: absolute; top: 16px; right: 16px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); background: rgba(0, 0, 0, 0.2); }
.tm-dest-card:has(input:checked) { border-color: var(--sand-gold); box-shadow: 0 14px 34px -14px rgba(217, 169, 108, 0.9); }
.tm-dest-card:has(input:checked) .tm-tick { background: var(--sand-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2323' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--sand-gold); }
.tm-card:has(.tm-dest-card input:checked) .tm-dest-card:not(:has(input:checked)) { opacity: 0.6; filter: saturate(0.6); }
.tm-card:has(.tm-dest-card input:checked) .tm-dest-card:not(:has(input:checked)):hover { opacity: 1; filter: none; }

/* Tiles: regions, countries */
.tm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tm-tile { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border: 2px solid var(--tm-line); border-radius: 16px; background: #fff; cursor: pointer; }
.tm-tile:hover { border-color: #c9d4c3; transform: translateY(-2px); }
.tm-tile > span:last-child { display: grid; line-height: 1.3; min-width: 0; }
.tm-tile strong { font-size: 0.95rem; }
.tm-tile small { font-size: 0.8rem; color: var(--tm-muted); }
.tm-photo img { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.tm-help-ic, .tm-flag { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; font-weight: 700; }
.tm-help-ic { background: var(--tm-soft); color: var(--altai-forest); font-size: 1.6rem; }
.tm-flag { color: #fff; font-size: 1.05rem; letter-spacing: 0.05em; }
.tm-kz .tm-flag { background: linear-gradient(135deg, #00AFCA, #0a8fa6); }
.tm-uz .tm-flag { background: linear-gradient(180deg, #1EB4E6 0 33%, #fff 33% 36%, #e4e4e4 36% 64%, #fff 64% 67%, #1EB53A 67%); color: #1f2323; }
.tm-kg .tm-flag { background: radial-gradient(circle at 50% 50%, #FFEF00 0 18%, #E8112D 19%); }
.tm-tile:has(input:checked) { border-color: var(--altai-forest); background: var(--tm-mint); box-shadow: 0 8px 22px -14px rgba(27, 94, 59, 0.8); }
.tm-tile::after { content: ""; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--tm-line); background: #fff; }
.tm-tile:has(input:checked)::after { border-color: var(--altai-forest); background: var(--altai-forest) 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 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tm-tiles-3 { grid-template-columns: repeat(2, 1fr); }

/* Segmented control */
.tm-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 16px; background: var(--tm-soft); }
.tm-seg label { cursor: pointer; }
.tm-seg span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 12px; font-weight: 700; font-size: 0.92rem; color: var(--tm-muted); text-align: center; }
.tm-seg svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-seg label:hover span { color: var(--charcoal); }
.tm-seg input:checked + span { background: #fff; color: var(--altai-forest); box-shadow: 0 4px 14px -6px rgba(15, 42, 28, 0.35); }
.tm-seg-sm { grid-template-columns: repeat(2, 1fr); max-width: 360px; }

/* Calendar */
.tm-when:not([hidden]) { animation: tm-in 0.35s ease; }
.tm-cal { margin-top: 18px; padding: 18px; border: 1px solid var(--tm-line); border-radius: 20px; }
.tm-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tm-cal-nav { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--tm-line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--charcoal); }
.tm-cal-nav:hover:not(:disabled) { border-color: var(--altai-forest); color: var(--altai-forest); }
.tm-cal-nav:disabled { opacity: 0.35; cursor: default; }
.tm-cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tm-cal-month h4 { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 10px; font-size: 1rem; }
.tm-cal-month h4 small { font-weight: 700; font-size: 0.7rem; padding: 2px 8px; border-radius: 99px; letter-spacing: 0.02em; }
.tm-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; text-align: center; }
.tm-cal-grid .dow { padding-bottom: 6px; font-size: 0.72rem; font-weight: 700; color: #9aa09b; text-transform: uppercase; }
.tm-day { position: relative; display: grid; place-items: center; width: 100%; height: 42px; padding: 0; border: 0; background: none; font: inherit; font-size: 0.9rem; cursor: pointer; color: var(--charcoal); }
.tm-day span { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.tm-day:hover:not(:disabled) span { background: var(--tm-soft); }
.tm-day:disabled { color: #c5c9c3; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.1); }
.tm-day.is-today span { box-shadow: inset 0 0 0 1px #b9c2b5; }
.tm-day.in-range::before { content: ""; position: absolute; inset: 2px 0; background: var(--tm-mint); }
.tm-day.is-start::before { left: 50%; } .tm-day.is-end::before { right: 50%; }
.tm-day.is-start.is-end::before { display: none; }
.tm-day.is-start span, .tm-day.is-end span { background: var(--altai-forest) !important; color: #fff; font-weight: 700; }
.tm-day.is-event span::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sand-gold); }
.tm-cal-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--tm-soft); font-size: 0.92rem; color: var(--tm-muted); }
.tm-cal-sum strong { color: var(--charcoal); }
.tm-cal-sum .tm-pill { padding: 3px 10px; border-radius: 99px; background: var(--altai-forest); color: #fff; font-weight: 700; font-size: 0.82rem; }
.tm-cal-sum .tm-event { color: #8a5a1c; font-weight: 700; }
.tm-cal-sum button { margin-left: auto; border: 0; background: none; color: var(--altai-forest); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

.s-peak { background: #DDEED6; color: #24513a; } .s-shoulder { background: #F6E8D4; color: #8a5a1c; } .s-winter { background: #DCE8F3; color: #2a557a; }

/* Months */
.tm-months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tm-year { grid-column: 1 / -1; margin-top: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: #9aa09b; }
.tm-month { position: relative; display: grid; gap: 2px; padding: 12px 6px 10px; border: 2px solid var(--tm-line); border-radius: 14px; text-align: center; cursor: pointer; background: #fff; }
.tm-month:hover { border-color: #c9d4c3; transform: translateY(-2px); }
.tm-month strong { font-size: 1rem; }
.tm-month small { font-size: 0.68rem; line-height: 1.25; color: var(--tm-muted); min-height: 1.7em; }
.tm-month i { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; }
.tm-month:has(input:checked) { border-color: var(--altai-forest); background: var(--altai-forest); color: #fff; }
.tm-month:has(input:checked) small { color: rgba(255, 255, 255, 0.85); }
.tm-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; list-style: none; font-size: 0.8rem; color: var(--tm-muted); }
.tm-legend li { display: flex; align-items: center; gap: 6px; }
.tm-legend i, .tm-month i.s-peak, .tm-month i.s-shoulder, .tm-month i.s-winter { width: 10px; height: 10px; border-radius: 50%; }
.tm-legend .s-peak, .tm-month i.s-peak { background: #6fae5c; } .tm-legend .s-shoulder, .tm-month i.s-shoulder { background: var(--sand-gold); } .tm-legend .s-winter, .tm-month i.s-winter { background: #6d9cc8; }

/* Chips */
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-chips label { cursor: pointer; }
.tm-chips span { display: inline-block; padding: 11px 18px; border: 2px solid var(--tm-line); border-radius: 99px; font-weight: 700; font-size: 0.92rem; background: #fff; }
.tm-chips label:hover span { border-color: #c9d4c3; }
.tm-chips input:checked + span { border-color: var(--altai-forest); background: var(--altai-forest); color: #fff; }
.tm-chips .is-auto span::after { content: " · from your dates"; font-weight: 400; font-size: 0.78rem; opacity: 0.85; }

/* People */
.tm-people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tm-stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 2px solid var(--tm-line); border-radius: 16px; }
.tm-stepper > span { display: grid; line-height: 1.3; }
.tm-stepper small { font-size: 0.8rem; color: var(--tm-muted); }
.tm-count { display: flex; align-items: center; gap: 4px; }
.tm-count button { width: 40px; height: 40px; border: 2px solid var(--tm-line); border-radius: 50%; background: #fff; font: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--altai-forest); }
.tm-count button:hover:not(:disabled) { border-color: var(--altai-forest); background: var(--tm-mint); }
.tm-count button:disabled { opacity: 0.35; cursor: default; }
.tm-count output { min-width: 34px; text-align: center; font-size: 1.25rem; font-weight: 700; }
.tm-ages { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--tm-soft); }
.tm-ages > span { font-weight: 700; font-size: 0.9rem; margin-right: 4px; }
.tm-ages select { padding: 8px 10px; border: 1px solid var(--tm-line); border-radius: 10px; font: inherit; font-size: 0.9rem; background: #fff; }

/* Interest icon tiles */
.tm-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tm-icon { display: grid; justify-items: center; gap: 8px; padding: 18px 8px 14px; border: 2px solid var(--tm-line); border-radius: 18px; cursor: pointer; text-align: center; background: #fff; }
.tm-icon:hover { border-color: #c9d4c3; transform: translateY(-3px); }
.tm-icon b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--tm-soft); font-size: 1.6rem; transition: transform 0.25s, background 0.25s; }
.tm-icon span { font-weight: 700; font-size: 0.85rem; line-height: 1.25; }
.tm-icon:has(input:checked) { border-color: var(--altai-forest); background: var(--tm-mint); }
.tm-icon:has(input:checked) b { background: #fff; transform: scale(1.12) rotate(-6deg); box-shadow: 0 6px 16px -8px rgba(27, 94, 59, 0.7); }

/* Option cards (stay, pace, arrangement) */
.tm-options { display: grid; gap: 12px; }
.tm-options-2 { grid-template-columns: repeat(2, 1fr); }
.tm-options-3 { grid-template-columns: repeat(3, 1fr); }
.tm-options label { cursor: pointer; display: flex; }
.tm-options span { flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border: 2px solid var(--tm-line); border-radius: 18px; background: #fff; }
.tm-options span > b, .tm-options span > i { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tm-soft); font-size: 1.4rem; font-style: normal; }
.tm-options strong { font-size: 0.98rem; align-self: end; }
.tm-options small { font-size: 0.82rem; line-height: 1.4; color: var(--tm-muted); align-self: start; }
.tm-options label:hover span { border-color: #c9d4c3; }
.tm-options input:checked + span { border-color: var(--altai-forest); background: var(--tm-mint); box-shadow: 0 8px 22px -14px rgba(27, 94, 59, 0.8); }
.tm-options input:checked + span > b, .tm-options input:checked + span > i { background: #fff; }
.tm-pace { display: flex !important; align-items: flex-end; justify-content: center; gap: 4px; padding-bottom: 12px; }
.tm-pace em { width: 7px; border-radius: 3px; background: #cfd6cb; }
.tm-pace em:nth-child(1) { height: 10px; } .tm-pace em:nth-child(2) { height: 17px; } .tm-pace em:nth-child(3) { height: 24px; }
.tm-pace[data-level="1"] em:nth-child(-n+1), .tm-pace[data-level="2"] em:nth-child(-n+2), .tm-pace[data-level="3"] em { background: var(--altai-forest); }

/* Budget */
.tm-budget { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tm-budget label { cursor: pointer; display: flex; }
.tm-budget span { flex: 1; display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border: 2px solid var(--tm-line); border-radius: 16px; font-weight: 700; font-size: 0.82rem; text-align: center; background: #fff; }
.tm-budget b { font-size: 1rem; color: var(--sand-gold); letter-spacing: 0.04em; }
.tm-budget label:hover span { border-color: #c9d4c3; }
.tm-budget input:checked + span { border-color: var(--altai-forest); background: var(--altai-forest); color: #fff; }
.tm-budget input:checked + span b { color: #f1d3a8; }

/* Inputs */
.tm-step textarea, .tm-field input, .tm-field textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--tm-line); border-radius: 14px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--charcoal); resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tm-step textarea:focus, .tm-field input:focus, .tm-field textarea:focus { outline: 0; border-color: var(--altai-forest); box-shadow: 0 0 0 4px var(--tm-mint); }
.tm-field input.is-invalid, .tm-consent.is-invalid { border-color: #c0392b; }
.tm-final { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; margin-top: 22px; align-items: start; }
.tm-fields { display: grid; gap: 18px; }
.tm-field { display: grid; gap: 8px; }
.tm-field > span { font-weight: 700; font-size: 0.92rem; }
.tm-hp { position: absolute; left: -9999px; }
.tm-consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid transparent; border-radius: 14px; background: var(--tm-soft); font-size: 0.9rem; cursor: pointer; }
.tm-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--altai-forest); }
.tm-consent a { color: var(--altai-forest); font-weight: 700; }

/* Summary */
.tm-summary { position: sticky; top: calc(var(--header-h) + 16px); padding: 24px; border-radius: 20px; background: linear-gradient(160deg, #1B5E3B, #123f28); color: #fff; overflow: hidden; }
.tm-summary::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(140, 191, 122, 0.18); }
.tm-summary h3 { position: relative; margin-bottom: 14px; font-size: 1.15rem; }
.tm-summary dl { position: relative; display: grid; gap: 12px; }
.tm-summary div { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; }
.tm-summary dt { grid-row: 1 / 3; font-size: 1.1rem; }
.tm-summary dd { font-size: 0.9rem; line-height: 1.45; }
.tm-summary dd small { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); font-weight: 700; }
.tm-summary button { margin-top: 2px; padding: 0; border: 0; background: none; color: #f1d3a8; font: inherit; font-size: 0.78rem; font-weight: 700; text-decoration: underline; cursor: pointer; justify-self: start; }

/* Nav */
.tm-error { margin-top: 22px; padding: 12px 16px; border-radius: 12px; background: #FBEAE8; color: #a12d22; font-weight: 700; font-size: 0.92rem; }
.tm-error a { color: inherit; }
.tm-nav { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--tm-line); }
.tm-back { display: inline-flex; align-items: center; gap: 4px; padding: 12px 8px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--tm-muted); cursor: pointer; }
.tm-back:hover { color: var(--charcoal); }
.tm-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tm-count-label { margin-left: auto; font-size: 0.85rem; color: var(--tm-muted); }
.tm-next, .tm-send { padding: 15px 26px; border-radius: 99px; box-shadow: 0 10px 24px -12px rgba(27, 94, 59, 0.9); }
.tm-next:hover svg { transform: translateX(3px); } .tm-next svg { transition: transform 0.2s; }
.tm-send:disabled { opacity: 0.7; cursor: wait; }

/* Done */
.tm-done { text-align: center; padding: 30px 0 10px; animation: tm-in 0.5s ease; }
.tm-done-ic { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--altai-forest); box-shadow: 0 0 0 12px var(--tm-mint); animation: tm-pop 0.6s cubic-bezier(.2, 1.6, .4, 1); }
.tm-done-ic svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: tm-draw 0.5s 0.3s forwards; }
@keyframes tm-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tm-draw { to { stroke-dashoffset: 0; } }
.tm-done h2 { max-width: 620px; margin: 0 auto; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--charcoal); }
.tm-next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 820px; margin: 30px auto; list-style: none; text-align: left; }
.tm-next-steps li { display: flex; gap: 12px; padding: 18px; border-radius: 18px; background: var(--tm-soft); }
.tm-next-steps b { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sand-gold); }
.tm-next-steps span { display: grid; font-size: 0.85rem; color: var(--tm-muted); line-height: 1.45; }
.tm-next-steps strong { font-size: 0.95rem; color: var(--charcoal); }
.tm-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tm-done-actions .btn { border-radius: 99px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .tm-icons { grid-template-columns: repeat(4, 1fr); }
  .tm-budget { grid-template-columns: repeat(3, 1fr); }
  .tm-months { grid-template-columns: repeat(4, 1fr); }
  .tm-final { grid-template-columns: 1fr; }
  .tm-summary { position: relative; top: auto; order: -1; }
}
@media (max-width: 720px) {
  .tm-steps span { font-size: 0.8rem; }
  .tm-steps small { display: none; }
  .tm-steps button { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .tm-dest { grid-template-columns: 1fr; }
  .tm-dest-card { aspect-ratio: 16 / 8; }
  .tm-tiles, .tm-tiles-3 { grid-template-columns: 1fr; }
  .tm-seg { grid-template-columns: 1fr; }
  .tm-seg-sm { grid-template-columns: 1fr 1fr; }
  .tm-cal { padding: 12px; }
  .tm-cal-months { grid-template-columns: 1fr; }
  .tm-cal-month + .tm-cal-month { display: none; }
  .tm-people { grid-template-columns: 1fr; }
  .tm-icons { grid-template-columns: repeat(3, 1fr); }
  .tm-options-2, .tm-options-3 { grid-template-columns: 1fr; }
  .tm-budget { grid-template-columns: repeat(2, 1fr); }
  .tm-months { grid-template-columns: repeat(3, 1fr); }
  .tm-next-steps { grid-template-columns: 1fr; }
  .tm-count-label { display: none; }
  .tm-nav { position: sticky; bottom: 0; z-index: 3; margin: 26px calc(-1 * clamp(20px, 4vw, 44px)) calc(-1 * clamp(20px, 4vw, 44px)); padding: 14px clamp(20px, 4vw, 44px); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px); border-radius: 0 0 24px 24px; }
  .tm-next, .tm-send { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Нуугдсан radio/checkbox өөрийн карт дотроо байрлана (хуудас хажуу тийш гүйхгүй) */
.tm-seg label, .tm-chips label, .tm-options label, .tm-budget label, .tm-icon, .tm-month { position: relative; }
.tm-hp { left: auto; right: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tm-fields { position: relative; }
@media (max-width: 480px) { .tm-hero h1 { font-size: 2.15rem; } }
