/* ==========
   Базовые стили
   ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family:
    "Onest",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1f2933;
  background-color: #f5f7fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

/* ==========
   Layout
   ========== */

.specialist-card__badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(255, 255, 255, 0.92);
    color: #111827;
    font-family: Onest;
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}


.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.main {
  flex: 1 1 auto;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 0 16px; */
}

/* ==========
   Hero
   ========== */

  .specialists-page-doctor-card__photo {
    height: 140px;
    min-height: 375px;
  }

  .specialists-page-doctor-card__photo img {
    height: 375px;
  }

.hero {
  padding: 56px 0 64px;
}

.hero__inner {
  max-width: 720px;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111827;
}

.hero__subtitle {
  margin: 0;
  font-size: 16px;
  color: #4b5563;
}

/* ==========
   Contacts page
   ========== */

.contacts-page {
  padding: 40px 0 72px;
  background: #ECEDEE;

}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.breadcrumbs__item {
  color: inherit;
}

.breadcrumbs__item--current {
  color: #111827;
}

.pricing-table__unit {
    text-align: center;
}

.breadcrumbs__separator {
  color: #d1d5db;
}

.contacts-page__title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.contacts-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.contacts-card__map {
  border-radius: 18px;
  overflow: hidden;
}

.contacts-card__map-inner {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding-bottom: 100%; /* 550/670 * 100 для соотношения сторон */
  height: 100%;
}

.contacts-card__map-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.contacts-card__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 14px;
    color: #4b5563;
    padding-top: 37.5px;
    padding-right: 32px;
    padding-bottom: 37.5px;
}

.contacts-card__company {
  margin: 0 0 8px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  color: #212836;
}

.contacts-card__grid {
  display: grid;
  gap: 24px 40px;
}

.contacts-card__grid-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-card__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-card__row--address {
  margin-bottom: 8px;
}

.contacts-card__label {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  color: #212836;
  opacity: 0.4;
}

.contacts-card__value {
  flex: 1 1 auto;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: #212836;
}

.contacts-card__value.svyaz{
font-family: Onest;
font-weight: 400;
font-style: Regular;
font-size: 18px;
leading-trim: NONE;
line-height: 135%;
letter-spacing: -3%;
color: #111111;


}

.contacts-card__row--address .contacts-card__value {
  font-size: 20px;
  line-height: 120%;
}

.contacts-card__grid-col--right .contacts-card__value {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #212836;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-card__bank-account {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #212836;
}

.contacts-card__bank-name {
  font-family: 'Golos Text', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.03em;
  color: #212836;
  opacity: 0.6;
}

.contacts-card__phone {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  color: #212836;
  text-decoration: none;
}

.contacts-card__phone:hover {
    color: #fe862b;
}


.contacts-card__link:hover {
    color: #fe862b;
}

.contacts-card__icon-line {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 275px;
}

.contacts-card__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-card__icon--phone {
  background-image: url('../img/phone.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contacts-card__icon--mail {
  width: 20px;
  height: 20px;
}

.contacts-card__icon--mail::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #3448CC;
  clip-path: path('M10 0L0 6L0 18L20 18L20 6L10 0ZM2 8L10 13L18 8L18 16L2 16L2 8Z');
}

.contacts-card__bullet {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #16a34a;
  margin-right: 6px;
}

.contacts-card__hint {
  margin-top: 4px;
  font-family: 'Golos Text', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.03em;
  color: #212836;
  opacity: 0.6;
}

.contacts-card__link {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: #212836;
  text-decoration: none;
}

.contacts-card__social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.contacts-card__social-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  overflow: hidden;
}

.contacts-card__social-btn--inst {
  background: radial-gradient(230.93% 230.93% at 102.01% 2.03%, #F9ED32 0%, #EE2A7B 36%, #D22A8A 44%, #8B2AB2 60%, #1B2AF0 83%, #002AFF 88%);
}

.contacts-card__social-btn--tt,
.contacts-card__social-btn--tg {
  background: #111111 !important;
  border-radius: 60px;
}

.contacts-card__social-icon {
  position: absolute;
  width: 50%;
  height: 50%;
  left: 25%;
  top: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-card__social-icon--inst {
  background: #FFFFFF;
  border-radius: 4px;
}

.contacts-card__social-icon--tt {
  width: 19.97px;
  height: 22.49px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../img/tiktok.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ==========
   Appointment block
   ========== */

.appointment {
  padding: 40px 0 72px;
  background: #ECEDEE;

}

.appointment__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  border-radius: 24px;
  overflow: hidden;
}

.appointment__image {
  background-position: center;
  background-size: cover;
  min-height: 260px;
}

.appointment__form {
  background-color: #1e64b5;
  color: #ffffff;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
}

.appointment__title {
  margin: 0 0 12px;
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 38px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;
}

.appointment__subtitle {
  margin: 0 0 20px;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.appointment-form__field {
  width: 100%;
}

.appointment-form__input {
  width: 100%;
  border-radius: 6px;
  border: none;
  padding: 12px 20px;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 180%;
  letter-spacing: 0%;
  outline: none;
}

.appointment-form__input--textarea {
  resize: vertical;
  min-height: 80px;
}

.appointment-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
}

.appointment-form__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.appointment-form__checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
}

.appointment-form__checkbox:checked + .appointment-form__checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
  border-right: 2px solid #1e64b5;
  border-bottom: 2px solid #1e64b5;
  transform: rotate(40deg);
}

.appointment-form__consent-text {
  line-height: 1.4;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
}

.appointment-form__submit {
    margin-top: 10px;
    align-self: flex-start;
    padding: 19px 32px;
    border-radius: 16px;
    border: none;
    background-color: #ff8a2a;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

.appointment-form__submit:hover {
  background-color: #fb7a0f;
}

/* ==========
   Services hero
   ========== */

.services-page-hero {
  padding: 32px 0 72px;
  background: #ECEDEE;

}

.services-page-hero .container {
  padding: 0;
}

.services-page-hero__card {
  background-color: #ffffff;
  background-image: url("../img/banner.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  border-radius: 64px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.services-page-hero__content {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.services-page-hero__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 48px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -3%;
}

.services-page-hero__subtitle {
  margin: 0;
  font-size: 16px;
  color: #2d71b0;
  font-weight: 500;
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;
  max-width: 525px;
}

.services-page-hero__text {
  margin: 0;
  color: #4b5563;
  max-width: 536px;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 1.3;
  letter-spacing: -0.03rem;
  margin-top: 97px;
}

.services-page-hero__button {
  margin-top: 8px;
  align-self: flex-start;
  padding: 25px 58px 27px 58px;
  border-radius: 16px;
  border: none;
  background-color: #ff8a2a;
  color: #ffffff;
  font-family: Golos Text;
  font-weight: 500;
  font-style: Medium;
  font-size: 17px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;

  cursor: pointer;
}

.services-page-hero__button:hover {
  background-color: #fb7a0f;
}

.services-page-hero__media {
  display: none;
}

.services-page-hero__media img {
  display: none;
}

.services-page-hero__overlay {
  position: relative;
}

.services-page-hero__overlay img {
  position: absolute;
  right: 0px;
  bottom: 0px;
  /* width: 420px; */
  max-width: none;
}

/* ==========
   Services grid
   ========== */

.services-page-grid {
  padding: 40px 0 72px;
}

.services-page-grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, 217px);
  gap: 16px;
  justify-content: center;
}

.services-page-card {
  height: 200px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.services-page-card:hover {
  background-color: #ff8a2a;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 138, 42, 0.2);
}

.services-page-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.services-page-card__title {
  margin: 0;
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 130%;
  letter-spacing: -3%;
}

.services-page-card__icon {
  margin-top: 24px;
  align-self: flex-end;
}

.services-page-card__icon img {
  width: 80px;
  height: 80px;
  filter: grayscale(1) brightness(0);
  transition: filter 0.2s ease-in-out;
}

.services-page-card:hover .services-page-card__icon img {
  filter: brightness(0) invert(1);
}

.services-page-card--soon {
  background-color: #f5f7fa;
  border: 1px dashed #d1d5db;
  box-shadow: none;
  cursor: default;
  position: relative;
}

.services-page-card--soon:hover {
  background-color: #f5f7fa;
  color: inherit;
  transform: none;
  box-shadow: none;
}

.services-page-card__soon-badge {
  position: absolute;
  top: 12px;
  background: #0dc267;
  color: #ffffff;
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;

  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.services-page-card--soon .services-page-card__title {
  margin-top: 16px;
}

.services-page-card--soon .services-page-card__icon img {
  filter: grayscale(1) brightness(0.7);
}

.services-page-card--soon:hover .services-page-card__icon img {
  filter: grayscale(1) brightness(0.7);
}

/* ==========
   Footer (дизайн клиники)
   ========== */

.site-footer {
  margin-top: 80px;
  background-color: #1e64b5;
  color: #ffffff;
}

.site-footer__top {
  padding: 26px 0 24px;
}

.contacts-page .container {
  padding: 0;
}

.services-page-appointment .container {
  padding: 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 40px;
}

.site-footer__col--brand {
  font-size: 13px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.site-logo__icon--footer {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.site-footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-footer__logo-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.site-footer__logo-subtitle {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-footer__worktime {
  margin-bottom: 8px;
  font-family: Golos Text;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;
  color: #ffffff;
  opacity: 0.6;
}

.site-footer__phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.site-footer__phone {
  font-family: Space Grotesk;
  font-weight: 500;
  font-style: Medium;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
  color: #ffffff;
}

.site-footer__address {
  margin-bottom: 8px;
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
}

.site-footer__email {
  color: #ffffff;
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;

  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 13px;
  margin-top: 32px;
}

.footer-nav__link {
  color: #ffffff;
  font-family: Golos Text;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;
}

.site-footer__col--legal {
  font-size: 11px;
  margin-top: 22px;
}

.site-footer__social {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  justify-content: end;
}

.site-footer__social-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: transparent;
  cursor: pointer;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: end;
}

.site-footer__link {
  color: #f3f4ff;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 0%;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  font-size: 11px;
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.site-footer__dev-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========
   Responsive
   ========== */

@media (max-width: 1100px) {
  .services-page-hero__card {
    background-size: auto 100%;
  }
}

@media (max-width: 1370px) {
  .services-page-hero__card {
    background-image: url("../img/banner-yslyga-mobile.png");
    background-position: right center;
    background-size: auto 100%;
  }
  .services-page-hero__overlay {
    display: none;
  }
}

@media (max-width: 768px) {
  .contacts-page__title {
    padding-left: 8px;
  }
  .breadcrumbs {
    padding-left: 8px;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .site-footer {
    margin-top: 48px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contacts-page {
    padding: 24px 0 48px;
  }

  .contacts-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contacts-card__row {
    flex-direction: column;
  }

  .contacts-card__label {
    flex: 0 0 auto;
  }

  .contacts-card__row--split {
    gap: 16px;
  }

  .contacts-card__map {
    order: 2;
    margin-top: 16px;
    border-radius: 0;
  }

  .contacts-card__map-inner {
    padding-bottom: 100%; /* 280/360 * 100 для мобилки */
  }

  .contacts-card__info {
    order: 1;
  }

  .contacts-card__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contacts-card__grid-col {
    gap: 12px;
  }

  .contacts-card__label {
    font-size: 18px;
  }

  .contacts-card__phone {
    font-size: 20px;
  }

  .contacts-card__link {
    font-size: 18px;
  }

  .contacts-card__hint {
    font-size: 14px;
    line-height: 17px;
  }

  .contacts-card__company {
    font-size: 22px;
  }

  .contacts-card__value {
    font-size: 18px;
  }

  .contacts-card__row--address .contacts-card__value {
    font-size: 16px;
  }

  .contacts-card__bank-account {
    font-size: 18px;
  }

  .contacts-card__bank-name {
    font-size: 14px;
    line-height: 17px;
  }

  .contacts-card__grid-col--right .contacts-card__value {
    font-size: 18px;
  }

  .contacts-card__social-btn {
    width: 36px;
    height: 36px;
  }

  .appointment {
    padding: 24px 0 48px;
  }

  .appointment__card {
    grid-template-columns: 1fr;
  }

  .appointment__form {
    padding: 24px 20px 28px;
  }

  .services-page-appointment {
    padding: 24px 0 48px;
  }

  .services-page-appointment__card {
    grid-template-columns: 1fr;
  }

  .services-page-appointment__form {
    padding: 24px 20px 28px;
  }

  .services-page-hero {
    padding: 24px 0 48px;
  }

  .services-page-hero__card {
    grid-template-columns: 1fr;
    border-radius: 0;
    box-shadow: none;
  }

  .services-page-hero__content {
    padding: 20px 16px 16px;
  }

  .services-page-grid {
    padding: 24px 0 48px;
  }

  .services-page-grid__inner {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }

  .services-page-card {
    height: auto;
    min-height: 100px;
    padding: 12px 8px;
  }

  .services-page-card__content {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  .services-page-card__title {
    order: 2;
    font-size: 12px;
    font-weight: 500;
  }

  .services-page-card__icon {
    order: 1;
    margin-top: 0;
    margin-bottom: 8px;
    align-self: center;
  }

  .services-page-card__icon img {
    width: 32px;
    height: 32px;
  }

  .services-page-card--soon .services-page-card__title {
    margin-top: 0;
  }

  .services-page-card__soon-badge {
    font-size: 9px;
    padding: 2px 6px;
    top: 8px;
  }
}

.contacts-about {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.contacts-about__inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  min-height: 495px;
  background: #f6f6f6;
  border-radius: 32px;
display: flex;
  gap: 20px;
  overflow: hidden;
}

/* Левая колонка с текстом */
.contacts-about__content {
  max-width: 690px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin: 0;
      padding: 77px 40px 76px 118px;
}

.contacts-about__title {
  font-family: 'Onest', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 110%;
  letter-spacing: -0.03em;
  color: #06549d;
    margin: 0;

}

.contacts-about__text {
  font-family: 'Onest', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #212836;
    margin: 0;

}

/* Правая часть с фото и плашками */
.contacts-about__media {
  position: relative;
  flex: 1 0 auto;
  min-width: 0;
  padding: 16px;
}

.contacts-about__photo {
/*   position: absolute;
inset: -16px; */
  border-radius: 16px;
  overflow: hidden;
}

.contacts-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Декоративные прямоугольники */
.contacts-about__decor {
  position: absolute;
  width: 167px;
  height: 167px;
  border-radius: 24px;
  opacity: 0.8;
}

.contacts-about__decor--1 {
  left: -96px;
  bottom: 79px;
  background: #fbb784;
  transform: scaleX(-1);
}

.contacts-about__decor--2 {
  left: -96px;
  bottom: -104px;
  background: #dddddf;
  transform: scaleX(-1);
}

.contacts-about__decor--3 {
  left: 87px;
  bottom: -104px;
  background: #b5c9f6;
  transform: scaleX(-1);
}

.contacts-about__decor--4 {
    right: -95px;
    top: 55px;
    height: 166px;
    background: #a8c0f8;
    transform: scaleY(-1);
    z-index: 2;
}

.contacts-about__decor--5 {
right: -95px;
    top: -125px;
    background: #d9d9db;
    transform: scaleY(-1);
    z-index: 2;
}

/* Адаптация для узких экранов */
@media (max-width: 1024px) {
  .contacts-about__inner {
    flex-direction: column;
    min-height: auto;
  }

  .contacts-about__media {
    min-height: 260px;
    margin-top: 24px;
  }
  
  /* Левая колонка с текстом */
.contacts-about__content {
  max-width: 690px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin: 0;
      padding: 77px 40px 76px 118px;
}
.contacts-about__content {
    max-width: 690px;
    display: flex;
    flex-direction: column;
    gap: 23px;
    margin: 0;
    padding: 30px 10px 30px 10px;
        order: 2;
    }
.contacts-about__decor--5 {
    display: none;
}

.contacts-about__decor--4 {
    display: none;
}
.contacts-about__decor--3 {
    display: none;
}
.contacts-about__decor--2 {
    display: none;
}
.contacts-about__decor--1 {
    display: none;
}
}

    /* Базовый (как в фигме, десктоп) */
.worktime-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 24px;
  gap: 8px;

  width: 400px;
  height: 97px;

  background: #fe862b;
  border-radius: 16px;

  box-sizing: border-box;
}

.worktime-card__title {
  width: 352px;
  height: 31px;
  margin: 0;

  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  color: #ffffff;
}

.worktime-card__text {
  width: 352px;
  height: 26px;
  margin: 0;

  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #ffffff;
}

.worktime-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 24px;
  gap: 8px;

  width: 400px;
  height: 97px;

  background: #fe862b;
  border-radius: 16px;

  box-sizing: border-box;
}

.worktime-card__title {
  width: 352px;
  height: 31px;

  font-family: 'Onest', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%; /* 31px */
  color: #ffffff;

  margin: 0;
}

.worktime-card__text {
  width: 352px;
  height: 26px;

  font-family: 'Onest', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%; /* 26px */
  color: #ffffff;

  margin: 0;
}

/* Планшет */
@media (max-width: 1024px) {
  .worktime-card {
    width: 100%;
    max-width: 400px;
  }

  .worktime-card__title,
  .worktime-card__text {
    width: 100%;
  }
}

/* Мобильные */
@media (max-width: 600px) {
  .worktime-card {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    gap: 4px;
    height: auto;
  }

  .worktime-card__title {
    font-size: 18px;
    line-height: 130%;
    height: auto;
  }

  .worktime-card__text {
    font-size: 16px;
    line-height: 130%;
    height: auto;
  }
  .site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: start;
}
}
