/*
 * Ścieżki kontaktu Centrum — wersja 1.10.59.
 * Zielony przycisk prowadzi do zespołu, złoty do formularza recepcji.
 */

.odns-route-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
}

body.odns-site .odns-route-button {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  padding: 0.78rem 1.35rem;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

body.odns-site .odns-route-button-primary {
  border-color: var(--odns-green);
  color: #fff !important;
  background: var(--odns-green);
  box-shadow: 0 8px 20px rgba(79, 117, 99, 0.2);
}

body.odns-site .odns-route-button-assist {
  border-color: #b98224;
  color: #284b40 !important;
  background: #f5dfad;
  box-shadow: 0 4px 0 rgba(169, 118, 31, 0.4), 0 10px 22px rgba(23, 59, 99, 0.12);
}

body.odns-site .odns-route-button:hover,
body.odns-site .odns-route-button:focus-visible {
  border-color: #3f6653;
  color: #fff !important;
  background: #3f6653;
  box-shadow: 0 11px 24px rgba(54, 93, 74, 0.24);
  transform: translateY(-1px);
}

body.odns-site .odns-route-button:focus-visible {
  outline: 3px solid rgba(214, 166, 82, 0.55);
  outline-offset: 3px;
}

.odns-route-button > span {
  flex: 0 0 auto;
  font-size: 1.12em;
  line-height: 1;
}

.odns-offer-route-actions {
  max-width: 610px;
  margin-top: 0.2rem;
}

.odns-offer-route-actions .odns-route-button-primary {
  min-width: 220px;
}

.odns-offer-reassurance-actions {
  flex-basis: 18.75rem;
}

.odns-offer-reassurance-actions .odns-route-button {
  width: 100%;
  max-width: 300px;
}

.odns-about-hero-actions {
  margin-top: 1.35rem;
}

.odns-about-hero-actions .odns-route-button {
  max-width: 390px;
}

.odns-about-specialists {
  scroll-margin-top: 110px;
}

/* Krótszy hero pozwala zobaczyć początek zespołu bez długiego przewijania. */
@media (min-width: 981px) {
  .odns-about-hero {
    padding-block: clamp(1.7rem, 2.2vw, 2.5rem);
  }

  .odns-about-hero-grid {
    grid-template-columns: minmax(340px, 0.86fr) minmax(520px, 1.14fr);
    gap: clamp(1.25rem, 2.4vw, 2.5rem);
  }

  .odns-about-hero-art {
    width: 100%;
    margin-left: 0;
  }

  .odns-about-hero-art img {
    width: min(100%, 700px);
    max-height: 410px;
    margin-inline: auto;
    object-fit: contain;
  }
}

@media (max-width: 980px) {
  .odns-offer-route-actions {
    justify-content: center;
  }

  .odns-offer-reassurance-actions {
    width: min(100%, 390px);
    flex-basis: auto;
  }

  .odns-about-hero {
    padding: 2.35rem 0 2rem;
  }

  .odns-about-hero-grid {
    gap: 1.15rem;
  }

  .odns-about-hero-actions {
    justify-content: center;
  }

  .odns-about-hero-art {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .odns-about-hero-art img {
    width: 100%;
    max-height: 355px;
    object-fit: contain;
  }
}

@media (max-width: 767px) {
  body.odns-site .odns-route-button {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.74rem;
  }

  .odns-offer-route-actions,
  .odns-about-hero-actions {
    width: min(100%, 390px);
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
  }

  .odns-about-hero-actions .odns-route-button {
    max-width: none;
  }

  .odns-about-hero {
    padding: 2rem 0 1.55rem;
  }

  .odns-about-hero-art img {
    max-height: 255px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.odns-site .odns-route-button {
    transition: none;
  }
}
