/*! Kontakt — kontakt.css */

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}


/* Info sidebar */
.contact-info {
  padding-top: 8px;
}

.info-block {
  margin-bottom: 36px;
}

.info-block h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 18px;
  height: 18px;
}

.info-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 46px;
}

.info-block a {
  font-weight: 600;
}

.info-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 36px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 12px;
  text-align: center;
}

/* ── FILE UPLOAD ── */
.file-upload-area {
  border: 2px dashed var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
  position: relative;
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.file-upload-area.dragover {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.file-upload-icon svg {
  width: 20px;
  height: 20px;
}

.file-upload-text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.file-upload-text strong {
  color: var(--blue-500);
  font-weight: 600;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 6px;
}

/* File list */
.file-list {
  margin-top: 12px;
  max-height: 300px;
  overflow: auto;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  margin-bottom: 8px;
  animation: fileIn .3s ease;
}

@keyframes fileIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.file-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.file-item-icon.pdf {
  background: #DC2626;
}

.file-item-icon.img {
  background: #7C3AED;
}

.file-item-icon.doc {
  background: #2563EB;
}

.file-item-icon.xls {
  background: #16A34A;
}

.file-item-icon.zip {
  background: #EA580C;
}

.file-item-icon.other {
  background: var(--gray-500);
}

.file-item-info {
  flex: 1;
  min-width: 0;
}

.file-item-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item-size {
  font-size: 0.74rem;
  color: var(--gray-400);
  margin-top: 1px;
}

.file-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}

.file-item-remove:hover {
  background: var(--red-50);
  color: var(--red-500);
}

.file-item-remove svg {
  width: 16px;
  height: 16px;
}

.file-count {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.file-count svg {
  width: 14px;
  height: 14px;
}

.faq-section {
  /*background: var(--gray-50);*/
  border-top: 1px solid var(--gray-100);
}

.faq-section .section-label, .faq-section .section-title {
  text-align: center;
}


@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }
}

@media (max-width: 600px) {
  .form-card {
    padding: 28px;
  }
}


/**
 * Thank you
 */
.thankyou {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thankyou::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.thankyou-inner {
  max-width: 520px;
  position: relative;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-50);
  border: 2px solid var(--green-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: iconPop .6s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.thankyou-icon svg {
  width: 36px;
  height: 36px;
  color: var(--green-600);
}

.thankyou h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.2;
  opacity: 0;
  animation: fadeUp .6s .15s ease forwards;
}

.thankyou p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp .6s .25s ease forwards;
}

.thankyou-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  font-size: 0.85rem;
  color: var(--gray-500);
  opacity: 0;
  animation: fadeUp .6s .35s ease forwards;
}

.thankyou-meta svg {
  width: 16px;
  height: 16px;
  color: var(--blue-500);
}

.thankyou-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp .6s .45s ease forwards;
}


.confirm-card {
  margin-top: 40px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: fadeUp .6s .55s ease forwards;
}

.confirm-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.confirm-row:last-child {
  margin-bottom: 0;
}

.confirm-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.confirm-row-icon svg {
  width: 16px;
  height: 16px;
}

.confirm-row-text {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.confirm-row-text strong {
  color: var(--gray-900);
}