/* =========================================================
   STRÁNKA KONTAKT — rozměry převzaté z referenčního /contact
   ========================================================= */
.contact { position: relative; padding: 220px var(--gutter) 340px; min-height: 100vh; overflow: hidden; }
/* Stage = šířka karty; tvary se počítají od jejího levého horního rohu (pozice z reference) */
.contact__stage { position: relative; width: 680px; max-width: 100%; margin: 0 auto; }
.contact__shape { position: absolute; z-index: 0; display: block; height: auto; pointer-events: none; user-select: none; }
/* Rozměry a pozice podle reference (karta 680 × 711 px, levý horní roh = 0,0) */
.contact__shape--pillar {
  left: 242px;
  top: -91px;
  width: 487px; /* výška ≈ 667 px jako na referenci */
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
}
.contact__shape--slab {
  left: -247px;
  top: 700px;
  width: 1100px;
  max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}
.contact__card {
  position: relative;
  z-index: 1;
  width: 680px;
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 48px 0;
  border-radius: 12px;
  background: #f9f7ec;
  overflow: hidden;
}
.contact__title { margin: 0; font-size: 48px; font-weight: 600; line-height: 48px; letter-spacing: normal; text-align: center; color: #232323; }
.contact__lead { margin: 16px auto 0; max-width: 584px; font-size: 16px; line-height: 24px; color: #484848; text-align: center; }

.contact__form { margin-top: 56px; display: grid; gap: 24px; }
.contact__row { display: grid; grid-template-columns: 282px 282px; gap: 20px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 500; line-height: 14px; color: #484848; }
.req { color: #ff4d17; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 12px;
  border-radius: 8px;
  border: 1px solid #b2b2b2;
  background: #f9f7ec;
  font: 400 14px/20px var(--font-sans);
  color: #484848;
  transition: border-color .3s var(--ease-soft);
}
.field input { height: 46px; padding-block: 0; }
.field textarea { height: 130px; resize: none; padding: 12px 16px; }
.field input::placeholder,
.field textarea::placeholder { color: #b2b2b2; }
.field input:hover,
.field textarea:hover { border-color: #8a8a8a; }
.field input:focus-visible,
.field textarea:focus-visible { outline: none; border-color: #232323; }

.contact__submit { display: grid; gap: 12px; margin-top: 0; justify-items: start; }
.contact__btn { min-width: 163px; min-height: 48px; border-radius: 8px; }
.contact__note { margin: 0; font-size: 14px; line-height: 22px; color: #484848; min-height: 22px; }

.contact__ticker {
  margin: 64px -48px 0;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #1d2bd8, #ffcc00, #ff4d17) 1;
}
.contact__ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 23px;
  text-transform: uppercase;
  color: #b2b2b2;
  animation: ticker 28s linear infinite;
}
.contact__ticker-track span { flex: none; }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }

@media (max-width: 767px) {
  .contact { padding-top: 150px; padding-bottom: 160px; }
  .contact__shape--pillar { left: auto; right: -40px; top: -70px; width: 220px; }
  .contact__shape--slab { left: -25%; width: 150%; top: auto; bottom: -110px; }
  .contact__card { padding: 40px 20px 0; }
  .contact__title { font-size: 36px; line-height: 40px; }
  .contact__row { grid-template-columns: 1fr; }
  .contact__ticker { margin: 48px -20px 0; }
  .contact__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .contact__ticker-track { animation: none; }
}

.contact__facts { list-style: none; margin: 20px auto 0; padding: 0; max-width: 584px; display: grid; gap: 8px; font-size: 14px; line-height: 22px; color: #232323; text-align: center; }
.contact__facts li { padding: 10px 14px; border-radius: 8px; border: 1px solid #b2b2b2; }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
