/* Contact section */

#contact {
  padding: 100px 0;
}

.contact-layout {
  display: grid;
  gap: 30px;
  margin-top: 0;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

/* Lewa karta - ciemna */
.contact-info-card {
  background: linear-gradient(135deg, #18181b 0%, #0a0a0a 100%);
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #6366f1;
  margin-bottom: 24px;
}

.contact-badge-icon {
  color: #6366f1;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 1rem;
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.contact-tag {
  padding: 8px 16px;
  border: 1px solid #3f3f46;
  border-radius: 20px;
  font-size: 0.8125rem;
  color: #d4d4d8;
  background: transparent;
  transition: all 0.3s ease;
}

.contact-tag:hover {
  border-color: #6366f1;
  color: #6366f1;
}

.contact-tag-accent {
  border-color: #6366f1;
  color: #6366f1;
}

/* Prawa karta - formularz */
.contact-form-card {
  background: #1f1f23;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #3f3f46;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-card .form-row-single {
  margin-top: 0;
  margin-bottom: 20px;
}

.contact-form-card label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #e4e4e7;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #3f3f46;
  background: #27272a;
  color: #ffffff;
  font: inherit;
  font-size: 0.9375rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #71717a;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-consent {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #6366f1;
}

.checkbox-text {
  font-size: 0.75rem;
  color: #71717a;
  line-height: 1.5;
}

.checkbox-text a {
  color: #6366f1;
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

.btn-contact-submit {
  width: 100%;
  padding: 16px 24px;
  background: #6366f1;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-contact-submit:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-info-card {
    padding: 40px 30px;
  }

  .contact-title {
    font-size: 1.75rem;
  }

  .contact-form-card {
    padding: 30px;
  }
}
