/* Tarjouspyyntölomake */
.subpage .site-header .nav-cta[aria-current] { background: var(--talo-blue-deep); }
.tp { padding: 150px 0 120px; overflow-x: clip; }
.tp__wrap { max-width: 900px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); position: relative; }
.tp__lilac { top: 40px; right: -90px; width: 460px; transform: scaleX(-1) rotate(-8deg); }
.tp__h1 { margin: 8px 0 14px; font-family: var(--f-head); font-weight: 500; font-size: clamp(36px, 4.4vw, 50px); line-height: 1.12; }
.tp__lead { margin: 0 0 14px; max-width: 600px; }
.tp__alt { margin: 0 0 40px; max-width: 600px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.tp__alt a { color: var(--talo-blue); font-weight: 600; text-underline-offset: 4px; word-break: break-word; }

.tp__card { position: relative; z-index: 5; background: var(--paper); border-radius: var(--radius); padding: 48px 56px; box-shadow: var(--shadow-paper); }
.tp__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.tp__set + .tp__set { margin-top: 40px; }
.tp__step { padding: 0 0 12px; width: 100%; margin-bottom: 26px; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 23px; line-height: 30px; font-weight: 500; }
.tp__set:first-child .tp__step { border-bottom: 0; margin-bottom: 2px; padding-bottom: 0; }
.tp__hint { margin: 0 0 18px; font-size: 14px; color: var(--ink-muted); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { position: relative; display: flex; gap: 16px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .box { flex: none; width: 24px; height: 24px; border-radius: 3px; border: 1.5px solid #8f8073; display: flex; align-items: center; justify-content: center; margin-top: 2px; color: transparent; }
.choice b { display: block; font-size: 17px; margin-bottom: 4px; }
.choice b + span { display: block; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.choice:hover { border-color: #b9a995; }
.choice:has(input:checked) { border-color: var(--talo-blue); background: #f3f6f8; }
.choice input:checked + .box { background: var(--talo-blue); border-color: var(--talo-blue); color: var(--paper); }
.choice:has(input:focus-visible) { outline: 3px solid var(--honey); outline-offset: 2px; }

.route { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; font-size: 14px; line-height: 20px; color: var(--talo-blue); background: #e9eef1; border-radius: 4px; padding: 10px 14px; }
.route[hidden] { display: none; }
.route svg { flex: none; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .lbl { font-size: 14px; font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--ink-muted); }
.in { width: 100%; min-height: 50px; border: 1.5px solid #8f8073; border-radius: 4px; background: #fff; padding: 12px 16px; font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); -webkit-appearance: none; appearance: none; }
.in::placeholder { color: #8a7d72; }
.in:focus { outline: 3px solid var(--honey-light); outline-offset: 1px; border-color: var(--talo-blue); }
.in[aria-invalid="true"] { border-color: var(--berry); }
.in.area { min-height: 120px; resize: vertical; }
input[type="date"].in { min-height: 50px; }
.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.8px solid var(--ink-muted); border-bottom: 1.8px solid var(--ink-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel select { padding-right: 44px; cursor: pointer; }
.err { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--berry); }

.cater { border-left: 3px solid var(--honey); padding-left: 24px; margin: 0 0 28px; display: grid; gap: 22px; }
.cater[hidden] { display: none; }
.cater__tag { justify-self: start; font-size: 12px; font-weight: 600; color: var(--honey-deep); background: #f6ead1; border-radius: var(--pill); padding: 3px 10px; margin-bottom: -8px; }
.cater .lbl { margin-bottom: 12px; }
.chips-in { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-in label { position: relative; cursor: pointer; }
.chips-in input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips-in span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; font-size: 15px; transition: background-color .15s ease, border-color .15s ease; }
.chips-in label:hover span { border-color: #b9a995; }
.chips-in input:checked + span { border-color: var(--talo-blue); background: var(--talo-blue); color: var(--paper); }
.chips-in input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot p { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); max-width: 400px; }
.foot a { color: var(--ink-muted); text-underline-offset: 3px; }
.btn-big { min-height: 56px; padding: 0 32px; font-size: 17px; flex: none; }
.btn-ghost { background: transparent; color: var(--talo-blue); border: 1.5px solid var(--talo-blue); }
.btn-ghost:hover { background: #eef2f5; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.sent { position: relative; z-index: 5; background: var(--paper); border-radius: var(--radius); padding: 48px 56px; box-shadow: var(--shadow-paper); }
.sent:focus { outline: none; }
.sent__h { margin: 8px 0 14px; font-family: var(--f-head); font-weight: 500; font-size: 30px; line-height: 1.25; }
.sent p { margin: 0 0 12px; }
.sent__small { font-size: 15px; color: var(--ink-muted); margin-bottom: 24px !important; }
.sent__small b { color: var(--ink); word-break: break-word; }
.sent .lbl { display: block; margin: 20px 0 6px; }
.sent textarea { font-size: 15px; background: var(--linen); }
.sent__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.copied { min-height: 24px; margin-top: 10px !important; font-size: 14px; color: var(--talo-blue); font-weight: 600; }

.yht--compact { padding-top: 8px; }
.yht--compact .site-footer { margin-top: 0; border-top: 0; }
.site-footer .fh { margin: 0 0 12px; font-family: var(--f-head); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }

@media (max-width: 860px) {
  .tp { padding: 150px 0 80px; }
  .tp__lilac { width: 190px !important; top: 52px; right: -46px; transform: scaleX(-1) rotate(-14deg); }
  .tp__alt { margin-bottom: 28px; }
  .tp__card, .sent { padding: 28px 20px 26px; margin-inline: -4px; }
  .tp__step { font-size: 21px; }
  .choices { grid-template-columns: 1fr; gap: 12px; }
  .choice { padding: 16px 18px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .cater { padding-left: 16px; }
  .foot { flex-direction: column-reverse; align-items: stretch; text-align: center; gap: 18px; }
  .foot p { max-width: none; }
  .btn-big { width: 100%; }
  .sent__btns .btn { width: 100%; }
  .sent__h { font-size: 26px; }
}
.field .hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
