/* ============================================================
   KONTAKT — modern page
   ============================================================ */

.kt-section {
  position: relative;
  padding: 180px 0 100px;
  min-height: 100vh;
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

/* Aurora background blobs */
.kt-section::before,
.kt-section::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.38;
  z-index: -1;
  pointer-events: none;
  animation: kt-blob 24s ease-in-out infinite alternate;
}
.kt-section::before {
  top: -220px;
  left: -220px;
  background: radial-gradient(circle, hsla(257, 100%, 70%, 0.9), transparent 60%);
}
.kt-section::after {
  bottom: -260px;
  right: -220px;
  background: radial-gradient(circle, hsla(47, 100%, 60%, 0.75), transparent 60%);
  animation-duration: 30s;
  animation-direction: alternate-reverse;
}
@keyframes kt-blob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(50px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 30px) scale(0.95); }
}

.kt-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.kt-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .kt-grid { grid-template-columns: 1fr; gap: 50px; }
  .kt-section { padding: 140px 0 80px; }
}

/* Left column — heading + info */
.kt-info {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.kt-info.kt-revealed { opacity: 1; transform: translateY(0); }

.kt-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #6D33FF;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  padding-left: 16px;
  border-left: 4px solid hsl(47, 100%, 55%);
}

.kt-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 800;
  color: #1e1a3e;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.kt-heading .kt-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.05em;
  margin: 0 -0.05em;
}
.kt-heading .kt-word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s ease;
}
.kt-info.kt-revealed .kt-heading .kt-word > span {
  transform: translateY(0);
  opacity: 1;
}
.kt-heading .kt-word:nth-child(1) > span { transition-delay: 0.05s; }
.kt-heading .kt-word:nth-child(2) > span { transition-delay: 0.15s; }
.kt-heading .kt-word:nth-child(3) > span { transition-delay: 0.25s; }
.kt-heading .kt-word:nth-child(4) > span { transition-delay: 0.35s; }

.kt-heading .kt-accent > span {
  background: linear-gradient(120deg, #6D33FF, hsl(47, 100%, 55%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.kt-lead {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #5b5a7a;
  margin: 0 0 40px 0;
  max-width: 480px;
}

/* Contact cards — email, phone, IČO/DIČ */
.kt-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kt-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(109, 51, 255, 0.1);
  text-decoration: none;
  color: #1e1a3e;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.kt-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(109, 51, 255, 0.06), rgba(255, 198, 64, 0.06));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.kt-contact:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 51, 255, 0.3);
  box-shadow: 0 12px 32px rgba(109, 51, 255, 0.15);
}
.kt-contact:hover::before { opacity: 1; }

.kt-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6D33FF, hsl(47, 100%, 55%));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(109, 51, 255, 0.3);
  position: relative;
  z-index: 1;
}

.kt-contact-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.kt-contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9c9ab5;
  margin-bottom: 2px;
}

.kt-contact-value {
  display: block;
  font-size: 1rem;
  color: #1e1a3e;
  font-weight: 600;
}

.kt-contact-arrow {
  color: #6D33FF;
  font-size: 1.2rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}
.kt-contact:hover .kt-contact-arrow { transform: translateX(6px); }

.kt-contact.kt-static { cursor: default; }

/* Copy-to-clipboard button */
.kt-copy {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 51, 255, 0.08);
  color: #6D33FF;
  border: 1px solid rgba(109, 51, 255, 0.12);
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kt-copy:hover {
  background: #6D33FF;
  color: #ffffff;
  border-color: #6D33FF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(109, 51, 255, 0.3);
}

.kt-copy:active {
  transform: translateY(0);
}

/* Feedback state — briefly show check mark */
.kt-copy.is-copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}
.kt-copy.is-copied i::before {
  content: '\eb7f'; /* uil-check */
}
.kt-copy::after {
  content: 'Skopírované';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1e1a3e;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.kt-copy.is-copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Right column — form card */
.kt-form-wrap {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
.kt-form-wrap.kt-revealed { opacity: 1; transform: translateY(0); }

.kt-form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(109, 51, 255, 0.12);
  border-radius: 28px;
  padding: 40px;
  box-shadow:
    0 1px 3px rgba(30, 10, 80, 0.04),
    0 20px 60px -10px rgba(109, 51, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.kt-form-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 198, 64, 0.25), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.kt-form-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e1a3e;
  margin: 0 0 28px 0;
  position: relative;
}

.kt-field {
  position: relative;
  margin-bottom: 20px;
}

.kt-field input,
.kt-field textarea {
  width: 100%;
  padding: 18px 22px;
  border: 1.5px solid #e7e5f0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  font: 500 0.95rem 'Poppins', sans-serif;
  color: #1e1a3e;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.kt-field textarea {
  min-height: 140px;
  resize: vertical;
}

.kt-field input::placeholder,
.kt-field textarea::placeholder {
  color: #9c9ab5;
  font-weight: 500;
}

.kt-field input:focus,
.kt-field textarea:focus {
  border-color: #6D33FF;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 51, 255, 0.12);
  transform: translateY(-1px);
}

.kt-submit {
  width: 100%;
  padding: 18px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #6D33FF, hsl(47, 100%, 55%));
  background-size: 200% 100%;
  background-position: 0% 0%;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px -5px rgba(109, 51, 255, 0.45);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.kt-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.kt-submit:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -5px rgba(109, 51, 255, 0.55);
}
.kt-submit:hover::before { transform: translateX(100%); }
.kt-submit:active { transform: translateY(0); }

.kt-submit i { font-size: 1rem; }
