.page-hero-contact {
  background: transparent;
  border-radius: 0;
}

.page-hero-contact .page-hero-grid {
  display: block;
  opacity: 0.14;
}

.page-hero-contact-content {
  max-width: none;
  margin: 0;
  text-align: left;
}

.page-hero-contact .badge {
  margin-bottom: 18px;
  color: #0B8570;
}

.contact-hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.06;
  font-weight: 700;
  color: #062B25;
  max-width: 14ch;
}

.contact-hero-title span {
  font-style: italic;
  font-weight: 500;
  color: #008D73;
}

.page-hero-contact-content p {
  margin: 0;
  max-width: 460px;
  font-size: 1rem;
  color: #355E56;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .page-hero-contact-content {
    text-align: center;
  }
  .page-hero-contact-content p {
    max-width: none;
    margin: 0 auto;
  }
  .contact-hero-title {
    margin: 0 auto 16px;
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .page-hero-contact {
    padding-bottom: 40px;
  }
}

#kontakt-form {
  padding-top: 48px;
}

#kontakt-form .contact-layout {
  gap: 36px;
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-panel-modern {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.contact-card.contact-card-modern {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(62, 143, 117, 0.13);
  background: linear-gradient(180deg, rgba(255,255,255,0.93), rgba(239,248,243,0.9));
  box-shadow: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7FD9BC, #53C39E);
  color: #06382f;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-copy {
  display: grid;
  gap: 2px;
}

.contact-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5d746b;
}

.contact-main,
.contact-main a {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: #0f1f1b;
}

.contact-sub {
  margin: 0;
  font-size: 0.86rem;
  color: #63746f;
}

.contact-quick-box {
  margin-top: 26px;
  padding: 26px 24px;
  border-radius: 28px;
  background: linear-gradient(105deg, #BFE9D6 0%, #A2DEC6 56%, #D5C48F 100%);
  color: #072821;
  box-shadow: none;
}

.contact-quick-box h3 {
  margin: 0 0 8px;
  font-size: 1.95rem;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.contact-quick-box p {
  margin: 0;
  color: rgba(7, 40, 33, 0.88);
  max-width: 42ch;
}

.form-panel.form-panel-modern {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(238, 247, 242, 0.9));
  border: 1px solid rgba(62, 143, 117, 0.16);
  box-shadow: none;
}

.form-panel-modern > .badge,
.form-panel-modern > h3,
.form-panel-modern > p {
  display: none;
}

.form-panel-modern.form-sent .contact-form {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.form-panel-modern.form-sent #formSuccess {
  display: block !important;
  visibility: visible !important;
  margin-bottom: 0;
}

.form-panel-modern .contact-form {
  gap: 16px;
}

.form-panel-modern .form-row {
  gap: 18px;
}

.form-panel-modern .field {
  gap: 8px;
}

.form-panel-modern .field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f1f1b;
}

.form-panel-modern .field input,
.form-panel-modern .field select,
.form-panel-modern .field textarea {
  border: none;
  background: #EAF1EE;
  box-shadow: inset 0 0 0 1px rgba(62, 143, 117, 0.18);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 0.95rem;
}

.form-panel-modern .field textarea {
  border-radius: 22px;
  min-height: 116px;
  resize: vertical;
}

.form-panel-modern .field input:focus,
.form-panel-modern .field select:focus,
.form-panel-modern .field textarea:focus {
  box-shadow: inset 0 0 0 1px rgba(62, 143, 117, 0.28), 0 0 0 3px rgba(127, 217, 188, 0.2);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  min-height: 56px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-actions .btn {
  width: 100%;
  min-height: 50px;
}

.contact-note {
  margin-top: 8px;
  font-size: 0.84rem;
  color: #5b6d67;
}

.consent-field {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #244740;
  font-size: 0.92rem;
  line-height: 1.55;
}

.consent-label input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #0B8570;
  flex-shrink: 0;
}

.consent-label a {
  color: #0B8570;
  font-weight: 600;
}

.field-error {
  min-height: 18px;
}

.submit-icon {
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 1040px) {
  #kontakt-form .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-panel.form-panel-modern {
    padding: 24px;
  }
}

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

  .contact-card.contact-card-modern {
    padding: 18px;
    border-radius: 20px;
  }

  .contact-quick-box {
    border-radius: 22px;
    padding: 20px;
  }

  .form-panel-modern .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
