/* Apartmani Mostar — enquiry page: form + copper key tag summary */
.up-main { padding: 132px 0 var(--sec); }
.up-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.up-head .h2 { font-size: clamp(34px, 1.8rem + 2.4vw, 60px); }
.up-g { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 100px); align-items: start; }

.fs { margin: 0 0 40px; padding: 0; border: 0; min-width: 0; }
.lg { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font: 400 22px/1.2 var(--f-d); }
.lg-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--copper); color: var(--copper-d); font: 600 13px var(--f-b); }

.apt-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 10px 32px 10px 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opt:hover { border-color: rgba(35, 33, 29, .45); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .th { width: 84px; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: var(--stone-2); }
.opt .th img { width: 100%; height: 100%; object-fit: cover; }
.opt .th-any { display: grid; place-items: center; color: var(--copper-d); }
.opt .th-any svg { width: 40px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.opt b { display: block; font: 400 15.5px/1.25 var(--f-d); }
.opt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--copper); outline-offset: 2px; }
.opt::after { content: ''; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); transition: background-color .2s, border-color .2s; }
.opt:has(input:checked)::after { background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4 7.8 12 13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--copper); }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 7px; margin-bottom: 12px; }
.fl { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.fld input, .fld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(28, 111, 96, .15); }
.fld.is-bad input, .fld.is-bad textarea { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.stp { display: grid; grid-template-columns: 1fr auto 36px auto; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.stp-l b { display: block; font-weight: 600; font-size: 15px; }
.stp-l small { font-size: 12.5px; color: var(--ink-2); }
.stp .round { width: 38px; height: 38px; font-size: 20px; line-height: 1; }
.stp output { text-align: center; font: 400 22px var(--f-d); font-variant-numeric: tabular-nums; }
.check { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--emerald); }

.err { min-height: 1.4em; margin: 0 0 10px; color: #b3261e; font-weight: 600; font-size: 15px; }
.send { padding-top: 28px; border-top: 1px solid var(--line); }
.send-l { margin: 0 0 12px; font: 400 22px var(--f-d); }
.send-b { display: flex; flex-wrap: wrap; gap: 10px; }
.send .btn-line { color: var(--ink); }
.send .btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.note { margin: 16px 0 0; font-size: 13px; color: var(--ink-2); max-width: 60ch; }

/* ---------- copper key tag ---------- */
.tag-col { position: sticky; top: 92px; display: grid; justify-items: center; padding-top: 8px; }
.hook { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0c9a5, #9a5a30 60%, #5d3215); box-shadow: 0 2px 4px rgba(0, 0, 0, .25); position: relative; z-index: 2; }
.keytag { position: relative; margin-top: -10px; transform-origin: 50% 0; filter: drop-shadow(0 22px 26px rgba(70, 38, 16, .25)); }
.keytag.swing { animation: swing 1.6s var(--ease); }
@keyframes swing { 0% { transform: rotate(0); } 18% { transform: rotate(5deg); } 40% { transform: rotate(-3.4deg); } 62% { transform: rotate(1.8deg); } 82% { transform: rotate(-.8deg); } 100% { transform: rotate(0); } }
.ring { width: 56px; height: 56px; margin: 0 auto -30px; border-radius: 50%; border: 5px solid #b07444; box-shadow: inset 0 1px 1px rgba(255, 230, 200, .6), 0 1px 2px rgba(0, 0, 0, .2); position: relative; z-index: 1; }
.tag-body { position: relative; width: min(300px, 78vw); padding: 64px 28px 26px; border-radius: 150px 150px 26px 26px / 150px 150px 26px 26px; background: linear-gradient(135deg, #d4926a 0%, #b4673b 34%, #e0a67a 52%, #a35a2c 72%, #c67f52 100%); color: #4c2208; text-align: center; overflow: hidden; }
.tag-body::before { content: ''; position: absolute; inset: 8px; border-radius: 142px 142px 20px 20px / 142px 142px 20px 20px; border: 1px solid rgba(76, 34, 8, .35); box-shadow: inset 0 0 0 1px rgba(255, 222, 190, .25); pointer-events: none; }
.tag-body::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 240, 225, .35) 45%, transparent 58%); transform: translateX(-60%); transition: transform 1.4s var(--ease); pointer-events: none; }
.keytag.swing .tag-body::after { transform: translateX(60%); }
.tag-hole { position: absolute; top: 20px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--stone); box-shadow: inset 0 2px 3px rgba(60, 25, 5, .55); }
.tag-body p, .tag-body dt, .tag-body dd { text-shadow: 0 1px 0 rgba(255, 224, 196, .45); }
.tag-brand { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.tag-no { margin: 0; font: 400 76px/1 var(--f-d); letter-spacing: -.02em; }
.tag-name { margin: 8px 0 18px; min-height: 2.6em; font: 400 18px/1.3 var(--f-d); text-wrap: balance; }
.tag-dl { display: grid; gap: 0; margin: 0; padding-top: 12px; border-top: 1px solid rgba(76, 34, 8, .3); text-align: left; }
.tag-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(76, 34, 8, .25); }
.tag-dl dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tag-dl dd { margin: 0; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.tag-arch { width: 92px; margin: 18px auto 0; display: block; fill: none; stroke: #4c2208; stroke-opacity: .5; stroke-width: 2; }
.tag-cap { margin: 20px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }

.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 15px; transform: translate(-50%, calc(100% + 40px)); transition: transform .45s var(--ease), visibility 0s .45s; }
.toast.is-on { visibility: visible; transform: translate(-50%, 0); transition: transform .45s var(--ease); }

@media (max-width: 960px) {
  .up-g { grid-template-columns: 1fr; }
  .tag-col { position: static; order: -1; }
  .tag-body { width: min(280px, 80vw); padding-top: 58px; }
  .tag-no { font-size: 60px; }
}
@media (max-width: 560px) {
  .up-main { padding-top: 104px; }
  .apt-pick { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .send-b .btn { flex: 1 1 calc(50% - 5px); }
}
