/* ==========================================================================
   Kontakt Page Styles
   ========================================================================== */

/* Hero full-width override */
.kontakt-page .compact-hero {
  max-width: 100%;
}

/* Content Section */
.kontakt-content {
  padding: 80px 0 100px;
  background: #f5f6f8;
}

.kontakt-content > .container {
  max-width: var(--max-content-width, 1456px);
  margin: 0 auto;
}

/* Grid: info + formularz obok siebie */
.kontakt-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

/* Contact Info Card */
.kontakt-info-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(33, 51, 97, 0.06);
  position: sticky;
  top: 120px;
}

.kontakt-info-card h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.21;
  letter-spacing: -0.5px;
  color: #213361;
  margin: 0 0 28px;
}

.kontakt-info-card__company {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(33, 51, 97, 0.08);
}

.kontakt-info-card__company .company-name {
  font-weight: 600;
  color: #213361;
  margin-bottom: 4px;
}

.kontakt-info-card__company p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(33, 51, 97, 0.65);
  margin: 0;
}

.kontakt-info-card__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.kontakt-info-card__item:last-child {
  margin-bottom: 0;
}

.kontakt-info-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(199, 71, 231, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt-info-card__icon img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.kontakt-info-card__label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(33, 51, 97, 0.45);
  margin-bottom: 4px;
}

.kontakt-info-card__item a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #213361;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kontakt-info-card__item a:hover {
  color: #c747e7;
}

/* Form Card */
.kontakt-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(33, 51, 97, 0.06);
}

.kontakt-form-card h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.21;
  letter-spacing: -0.5px;
  color: #213361;
  margin: 0 0 28px;
}

.kontakt-form-card .form-group {
  margin-bottom: 20px;
}

.kontakt-form-card .form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.21;
  color: #213361;
  margin-bottom: 10px;
}

.kontakt-form-card .form-group input,
.kontakt-form-card .form-group textarea {
  width: 100%;
  height: 52px;
  background: #f0f1f4;
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 0 20px;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #213361;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kontakt-form-card .form-group input:hover,
.kontakt-form-card .form-group textarea:hover {
  border-color: #d1d3d8;
}

.kontakt-form-card .form-group input:focus,
.kontakt-form-card .form-group textarea:focus {
  border-color: #c747e7;
  box-shadow: 0 0 0 3px rgba(199, 71, 231, 0.2);
}

.kontakt-form-card .form-group textarea {
  height: 120px;
  padding: 16px 20px;
  resize: none;
}

.kontakt-form-card .form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.kontakt-form-card .form-group-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  min-width: 24px;
  height: 24px;
  background-color: #e9ebef;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.kontakt-form-card .form-group-checkbox input:hover {
  border-color: #d1d3d8;
}

.kontakt-form-card .form-group-checkbox input:checked {
  background-color: #c747e7;
  border-color: #c747e7;
}

.kontakt-form-card .form-group-checkbox input:checked::before {
  content: '\2713';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
}

.kontakt-form-card .form-group-checkbox label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(33, 51, 97, 0.8);
}

.kontakt-form-card .btn {
  width: 100%;
  height: 50px;
  background: #c747e7;
  border-radius: 24px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.21;
  letter-spacing: 0.0032em;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.kontakt-form-card .btn:hover {
  background-color: #b336cf;
}

.kontakt-form-card .btn:active {
  transform: scale(0.98);
}

.kontakt-form-card .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.kontakt-form-card .btn.loading {
  background-color: #a43bbd;
}

.kontakt-form-card .btn-loader svg {
  fill: #ffffff;
}

/* Form messages */
.kontakt-form-card .form-messages {
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.kontakt-form-card .form-messages p {
  margin: 0;
}

.kontakt-form-card .form-messages.success {
  background-color: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  color: #1e8449;
}

.kontakt-form-card .form-messages.error {
  background-color: rgba(235, 87, 87, 0.1);
  border: 1px solid #eb5757;
  color: #c0392b;
}

/* Responsive */
@media (max-width: 1024px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kontakt-info-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .kontakt-content {
    padding: 48px 0 64px;
  }

  .kontakt-info-card,
  .kontakt-form-card {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .kontakt-info-card h2,
  .kontakt-form-card h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
}
