/* Etap 7 — Kontakt */

.contact-redesign-section {
  padding: 28px 0 30px !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 29, 36, 0.045), transparent 31%),
    linear-gradient(180deg, #f5f8fa 0%, #edf3f6 100%);
}

.contact-redesign {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.7fr);
  gap: 52px;
  align-items: start;
}

.contact-redesign__heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.contact-redesign__heading h2 {
  margin: 0;
  color: #171717;
  font-family: 'Rubik', sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 700;
}

.contact-redesign__heading-icon {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ef1d24;
  color: #ffffff;
  box-shadow: 0 3px 9px rgba(239, 29, 36, 0.18);
}

.contact-redesign__heading-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-redesign__details {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contact-redesign__item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: #15191d;
  text-decoration: none;
}

a.contact-redesign__item {
  transition: color 0.17s ease, transform 0.17s ease;
}

a.contact-redesign__item:hover {
  color: #ef1d24;
  transform: translateX(2px);
}

.contact-redesign__item-icon {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ef1d24;
  color: #ffffff;
  box-shadow: 0 3px 9px rgba(239, 29, 36, 0.18);
}

.contact-redesign__item-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.contact-redesign__item-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-redesign__item-text strong {
  color: inherit;
  font-size: 1.03rem;
  line-height: 1.16;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-redesign__item-text small {
  color: #68727b;
  font-size: 0.76rem;
  line-height: 1.25;
}

.contact-redesign__facebook {
  width: fit-content;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #15191d;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.17s ease, transform 0.17s ease;
}

.contact-redesign__facebook:hover {
  color: #ef1d24;
  transform: translateX(2px);
}

.contact-redesign__facebook img {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.contact-redesign__form-wrap {
  min-width: 0;
  padding-top: 43px;
}

.contact-redesign__form {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.contact-redesign__honeypot {
  display: none !important;
}

.contact-redesign__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-redesign__field {
  position: relative;
  min-width: 0;
}

.contact-redesign__field > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-redesign__form input[type="text"],
.contact-redesign__form input[type="email"],
.contact-redesign__form input[type="tel"],
.contact-redesign__form textarea {
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #cfd9e0 !important;
  border-radius: 5px !important;
  outline: none;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #20252a !important;
  box-shadow: 0 1px 4px rgba(27, 39, 49, 0.035) !important;
  font-family: inherit;
  font-size: 0.86rem !important;
  line-height: 1.25;
  transition: border-color 0.17s ease, box-shadow 0.17s ease, background 0.17s ease;
}

.contact-redesign__form input[type="text"],
.contact-redesign__form input[type="email"],
.contact-redesign__form input[type="tel"] {
  height: 43px !important;
}

.contact-redesign__form textarea {
  min-height: 108px !important;
  height: 108px !important;
  resize: vertical;
  padding-bottom: 25px !important;
}

.contact-redesign__form input:focus,
.contact-redesign__form textarea:focus {
  border-color: #ef1d24 !important;
  box-shadow: 0 0 0 3px rgba(239, 29, 36, 0.08) !important;
  background: #ffffff !important;
}

.contact-redesign__form input::placeholder,
.contact-redesign__form textarea::placeholder {
  color: #89939c;
  opacity: 1;
}

.contact-redesign__counter {
  position: absolute;
  right: 10px;
  bottom: 7px;
  color: #9aa3aa;
  font-size: 0.66rem;
  line-height: 1;
  pointer-events: none;
}

.contact-redesign__consent {
  margin: 0 !important;
  padding: 1px 0 0 !important;
}

.contact-redesign__consent .rodo-label {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 0 !important;
  cursor: pointer;
}

.contact-redesign__consent input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px;
  margin: 2px 0 0 !important;
  accent-color: #ef1d24;
}

.contact-redesign__consent span {
  display: block;
  min-width: 0;
  color: #69737b;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.contact-redesign__consent a {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-decoration: underline;
}

.contact-redesign__submit {
  width: 100% !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0 !important;
  border-radius: 5px !important;
  background: #ef1d24 !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.88rem !important;
  line-height: 1;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 29, 36, 0.19);
  transition: background 0.17s ease, transform 0.17s ease, box-shadow 0.17s ease;
}

.contact-redesign__submit:hover:not(:disabled) {
  background: #d9161d !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(239, 29, 36, 0.24);
}

.contact-redesign__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-redesign__submit-arrow {
  font-size: 1.15rem;
  line-height: 1;
}

.contact-redesign__form-message {
  display: none;
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: 5px;
  color: #2f414d;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Dark mode */

html.theme-dark .contact-redesign-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 29, 36, 0.07), transparent 31%),
    linear-gradient(180deg, #151a1e 0%, #181e23 100%);
}

html.theme-dark .contact-redesign__heading h2,
html.theme-dark .contact-redesign__item,
html.theme-dark .contact-redesign__facebook {
  color: #f2f5f7;
}

html.theme-dark .contact-redesign__item-text small {
  color: #9da7af;
}

html.theme-dark .contact-redesign__form input[type="text"],
html.theme-dark .contact-redesign__form input[type="email"],
html.theme-dark .contact-redesign__form input[type="tel"],
html.theme-dark .contact-redesign__form textarea {
  background: #20272d !important;
  border-color: #3a444d !important;
  color: #f0f3f5 !important;
  box-shadow: none !important;
}

html.theme-dark .contact-redesign__form input:focus,
html.theme-dark .contact-redesign__form textarea:focus {
  background: #222a31 !important;
  border-color: #ef1d24 !important;
  box-shadow: 0 0 0 3px rgba(239, 29, 36, 0.10) !important;
}

html.theme-dark .contact-redesign__form input::placeholder,
html.theme-dark .contact-redesign__form textarea::placeholder {
  color: #929da5;
}

html.theme-dark .contact-redesign__consent span {
  color: #9ca7af;
}

html.theme-dark .contact-redesign__form-message {
  color: #dce4e9;
  background: #20272d;
}

/* Tablet */

@media (max-width: 920px) {
  .contact-redesign {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
  }
}

/* Mobile */

@media (max-width: 720px) {
  .contact-redesign-section {
    padding-top: 24px !important;
    padding-bottom: 26px !important;
  }

  .contact-redesign {
    display: block;
  }

  .contact-redesign__heading h2 {
    font-size: 1.47rem;
  }

  .contact-redesign__details {
    gap: 10px;
  }

  .contact-redesign__info {
    margin-bottom: 24px;
  }

  .contact-redesign__form-wrap {
    padding-top: 0;
  }

  .contact-redesign__row {
    grid-template-columns: 1fr;
  }

  .contact-redesign__form textarea {
    min-height: 125px !important;
    height: 125px !important;
  }

  .contact-redesign__facebook {
    margin-top: 7px;
  }
}

@media (max-width: 440px) {
  .contact-redesign__item-text strong {
    font-size: 0.96rem;
  }

  .contact-redesign__item-text small {
    font-size: 0.72rem;
  }

  .contact-redesign__form input[type="text"],
  .contact-redesign__form input[type="email"],
  .contact-redesign__form input[type="tel"],
  .contact-redesign__form textarea {
    font-size: 0.82rem !important;
  }
}


html.theme-dark .contact-redesign__consent a {
  color: inherit;
}


@media (max-width: 440px) {
  .contact-redesign__consent span {
    font-size: 0.80rem;
    line-height: 1.45;
  }
}
