/* Contact-page component. Shared header, hero and footer remain in clean-master.css. */
.kontakt-page .contact-page-section {
  width: calc(100% - 48px);
  max-width: var(--content);
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.kontakt-page .contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 35%) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  width: 100%;
}

.kontakt-page .contact-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 480px;
}

.kontakt-page .contact-intro > p {
  margin: 0 0 8px;
  line-height: 1.35;
}

.kontakt-page .contact-subheading {
  margin: 0 0 18px;
  color: var(--orange);
  font: 700 24px/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.kontakt-page .contact-intro .footer-social {
  margin: 8px 0 20px;
}

.kontakt-page .contact-photo {
  display: block;
  width: 78%;
  height: auto;
  margin-top: 24px;
  border: 1px solid var(--orange);
  object-fit: contain;
  object-position: left bottom;
}

.kontakt-page .contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #303030;
  background: #101010;
  box-sizing: border-box;
}

.kontakt-page .contact-form label {
  width: 100%;
  color: #eee;
  font-size: 18px;
  line-height: 1.3;
  text-align: left;
}

.kontakt-page .contact-form input,
.kontakt-page .contact-form select,
.kontakt-page .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  border: 1px solid #646464;
  border-radius: 0;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 18px;
  text-align: left;
  box-sizing: border-box;
}

.kontakt-page .contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.kontakt-page .contact-form input:focus,
.kontakt-page .contact-form select:focus,
.kontakt-page .contact-form textarea:focus {
  outline: 1px solid var(--orange);
  border-color: var(--orange);
}

.kontakt-page .contact-form .button {
  align-self: flex-start;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.kontakt-page .contact-form[data-submit-state="sent"] .button {
  background: #166534;
  color: #fff;
  opacity: 1;
  cursor: default;
}

.kontakt-page .contact-form__status {
  width: 100%;
  margin: 0;
  color: #eee;
  font-size: 18px;
  line-height: 1.5;
}

.kontakt-page .contact-form__advice {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.kontakt-page .contact-call-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin-top: 44px;
  padding: 28px;
  border: 1px solid #3a3936;
  border-top-color: var(--orange);
  background: linear-gradient(180deg, #171717, #0b0b0b);
  box-sizing: border-box;
}

.kontakt-page .contact-call-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--orange);
  color: var(--orange);
}

.kontakt-page .contact-call-card__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.kontakt-page .contact-call-card__content {
  min-width: 0;
}

.kontakt-page .contact-call-card__title {
  margin: 0 0 6px;
  color: var(--white);
  font: 800 30px/0.95 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.kontakt-page .contact-call-card__content p:last-child {
  margin: 0;
  color: #d1cfca;
  font: 400 16px/1.4 "Barlow", sans-serif;
}

.kontakt-page .contact-call-card__phone {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--black);
  font: 800 19px/1 "Barlow Condensed", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.kontakt-page .contact-call-card__phone:hover {
  background: #ff7a00;
}

.kontakt-page .contact-call-card__phone:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .kontakt-page .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .kontakt-page .contact-intro,
  .kontakt-page .contact-form {
    max-width: 760px;
  }

  .kontakt-page .contact-call-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .kontakt-page .contact-call-card__phone {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .kontakt-page .contact-page-section {
    width: 100%;
    padding: 24px;
  }

  .kontakt-page .contact-grid {
    gap: 28px;
  }

  .kontakt-page .contact-form {
    gap: 13px;
    padding: 20px;
  }

  .kontakt-page .contact-photo {
    width: 78%;
  }

  .kontakt-page .contact-call-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    margin-top: 30px;
    padding: 18px;
  }

  .kontakt-page .contact-call-card__icon {
    width: 50px;
    height: 50px;
  }

  .kontakt-page .contact-call-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .kontakt-page .contact-call-card__title {
    font-size: 25px;
  }

  .kontakt-page .contact-call-card__content p:last-child {
    font-size: 14px;
  }

  .kontakt-page .contact-call-card__phone,
  .kontakt-page .contact-form .button {
    width: 100%;
    justify-content: space-between;
  }

  .kontakt-page .contact-call-card__phone {
    min-height: 50px;
    font-size: 18px;
  }
}
