/* Home / Ortopedia — scoped premium card. */
.home-orthopedics {
  padding: clamp(60px, 7vw, 104px) 0;
  background: #f7f5ef;
}

.home-ortho-card {
  position: relative;
  width: min(1520px, calc(100% - clamp(32px, 5vw, 80px)));
  min-height: 600px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: clamp(30px, 3vw, 36px);
  color: #f7f5ef;
  background: #005b38;
  box-shadow: 0 28px 70px rgb(0 72 47 / 16%);
  isolation: isolate;
}

.home-ortho-card::before,
.home-ortho-card::after,
.home-ortho-orbit {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-ortho-card::before {
  z-index: -2;
  top: -175px;
  right: -115px;
  width: 610px;
  height: 610px;
  border: 92px solid rgb(8 114 69 / 62%);
}

.home-ortho-card::after {
  z-index: -3;
  right: 215px;
  bottom: -245px;
  width: 530px;
  height: 530px;
  background: rgb(0 72 47 / 44%);
}

.home-ortho-orbit {
  z-index: -1;
  right: 4%;
  bottom: 5%;
  width: 330px;
  height: 330px;
  border: 1px solid rgb(198 232 213 / 12%);
  box-shadow: 0 0 0 52px rgb(8 114 69 / 14%), 0 0 0 105px rgb(8 114 69 / 8%);
}

.home-ortho-content {
  position: relative;
  z-index: 3;
  width: min(66%, 900px);
  padding: clamp(55px, 5vw, 72px) 0 55px clamp(170px, 13vw, 200px);
}

.home-ortho-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: rgb(247 245 239 / 78%);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-ortho-kicker span {
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #8bc9a7;
}

.home-ortho-content h2 {
  width: min(850px, 100%);
  margin: 0;
  color: #f7f5ef;
  font-size: clamp(3rem, 3.35vw, 3.55rem);
  font-weight: 780;
  letter-spacing: -.052em;
  line-height: 1.07;
}

.home-ortho-content h2 > span {
  display: block;
}

.home-ortho-support {
  max-width: 770px;
  margin: 24px 0 0;
  color: rgb(247 245 239 / 88%);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.62;
}

.home-ortho-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.home-ortho-badges li {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgb(160 215 185 / 30%);
  border-radius: 14px;
  color: rgb(247 245 239 / 90%);
  background: rgb(0 72 47 / 18%);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.35;
  backdrop-filter: blur(3px);
}

.home-ortho-badges svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #9ed4b5;
  stroke-width: 1.65;
}

.home-ortho-doctor {
  margin: 25px 0 0;
  color: #f7f5ef;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.5;
}

.home-ortho-doctor strong {
  font-weight: 780;
}

.home-ortho-doctor span {
  color: rgb(247 245 239 / 70%);
  font-weight: 480;
}

.home-ortho-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.home-orthopedics .home-ortho-primary,
.home-ortho-secondary {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 22px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  will-change: transform;
  transition: color 420ms cubic-bezier(.16, 1, .3, 1), background-color 420ms cubic-bezier(.16, 1, .3, 1), border-color 420ms cubic-bezier(.16, 1, .3, 1), box-shadow 460ms cubic-bezier(.16, 1, .3, 1), transform 460ms cubic-bezier(.16, 1, .3, 1);
}

.home-orthopedics .home-ortho-primary {
  border-color: #f7f5ef;
  color: #00482f;
  background: #f7f5ef;
  box-shadow: 0 12px 28px rgb(0 46 29 / 22%);
}

.home-orthopedics .home-ortho-primary:hover {
  color: #00482f;
  background: #fff;
  box-shadow: 0 17px 34px rgb(0 46 29 / 28%);
  transform: translateY(-5px);
}

.home-ortho-primary svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
  transition: transform 460ms cubic-bezier(.16, 1, .3, 1);
}

.home-orthopedics .home-ortho-primary:hover svg {
  transform: translateY(-1px) rotate(-4deg);
}

.home-ortho-secondary {
  border: 1px solid rgb(247 245 239 / 34%);
  color: #f7f5ef;
  background: rgb(255 255 255 / 3%);
}

.home-ortho-secondary:hover {
  border-color: rgb(247 245 239 / 52%);
  color: #fff;
  background: rgb(255 255 255 / 9%);
  box-shadow: 0 16px 34px rgb(0 42 26 / 18%);
  transform: translateY(-5px);
}

.home-ortho-secondary > span {
  display: inline-block;
  transition: transform 460ms cubic-bezier(.16, 1, .3, 1);
}

.home-ortho-secondary:hover > span {
  transform: translateX(6px);
}

.home-orthopedics .home-ortho-primary:active,
.home-ortho-secondary:active {
  transform: translateY(-1px) scale(.985);
}

.home-ortho-primary:focus-visible,
.home-ortho-secondary:focus-visible {
  outline: 3px solid rgb(247 245 239 / 46%);
  outline-offset: 4px;
}

.home-ortho-crm {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(16px, 1.5vw, 24px);
  display: grid;
  width: clamp(136px, 10vw, 154px);
  height: clamp(136px, 10vw, 154px);
  border: 1px solid rgb(178 222 197 / 42%);
  border-radius: 50%;
  align-content: center;
  color: rgb(247 245 239 / 72%);
  justify-items: center;
  background: rgb(0 72 47 / 22%);
  box-shadow: inset 0 0 0 8px rgb(0 72 47 / 16%), 0 13px 34px rgb(0 45 28 / 12%);
  backdrop-filter: blur(3px);
  transform: translateY(-50%);
}

.home-ortho-crm::before {
  position: absolute;
  inset: 13px;
  border: 1px solid rgb(178 222 197 / 18%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-ortho-crm::after {
  position: absolute;
  top: 24px;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: #91cfad;
  content: "";
  pointer-events: none;
}

.home-ortho-crm span,
.home-ortho-crm small {
  position: relative;
  z-index: 1;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.2;
}

.home-ortho-crm strong {
  position: relative;
  z-index: 1;
  margin: 4px 0 3px;
  color: #f7f5ef;
  font-size: 1.7rem;
  letter-spacing: -.035em;
  line-height: 1;
}

.home-ortho-portrait {
  position: absolute;
  z-index: 2;
  right: -1.5%;
  bottom: 0;
  width: min(35%, 520px);
  height: 102%;
  margin: 0;
  pointer-events: none;
}

.home-ortho-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(-22px 14px 28px rgb(0 43 27 / 18%));
}

@media (min-width: 1500px) {
  .home-ortho-content {
    width: min(68%, 980px);
  }
}

@media (max-width: 1199px) {
  .home-ortho-card {
    min-height: 650px;
  }

  .home-ortho-content {
    width: 66%;
    padding: 52px 0 48px clamp(40px, 5vw, 68px);
  }

  .home-ortho-content h2 {
    font-size: clamp(2.7rem, 5vw, 3.55rem);
  }

  .home-ortho-crm {
    display: none;
  }

  .home-ortho-portrait {
    right: -3%;
    width: 35%;
    height: 92%;
  }
}

@media (max-width: 899px) and (min-width: 768px) {
  .home-ortho-card {
    min-height: 0;
  }

  .home-ortho-content {
    width: auto;
    padding: 52px 44px 0;
  }

  .home-ortho-content h2 {
    font-size: clamp(2.45rem, 5.2vw, 2.7rem);
  }

  .home-ortho-portrait {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(62%, 470px);
    height: 500px;
    margin: 30px 0 0 auto;
  }

  .home-ortho-badges {
    max-width: 650px;
  }
}

@media (max-width: 767px) {
  .home-orthopedics {
    padding-block: 54px;
  }

  .home-ortho-card {
    width: calc(100% - 28px);
    min-height: 0;
    border-radius: 27px;
  }

  .home-ortho-content {
    width: auto;
    padding: 38px 22px 0;
  }

  .home-ortho-content h2 {
    font-size: clamp(2.35rem, 10.5vw, 2.9rem);
    line-height: 1.07;
  }

  .home-ortho-content h2 > span {
    display: inline;
  }

  .home-ortho-support {
    margin-top: 20px;
    font-size: 1rem;
  }

  .home-ortho-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 24px;
  }

  .home-ortho-badges li {
    min-width: 0;
    min-height: 50px;
    padding: 9px 11px;
  }

  .home-ortho-badges li:last-child {
    grid-column: 1 / -1;
  }

  .home-ortho-actions {
    display: grid;
  }

  .home-orthopedics .home-ortho-primary,
  .home-ortho-secondary {
    width: 100%;
    min-height: 62px;
  }

  .home-ortho-portrait {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + 20px);
    height: clamp(355px, 112vw, 500px);
    margin: 25px -10px 0;
  }

  .home-ortho-card::before {
    top: auto;
    right: -170px;
    bottom: -40px;
    width: 480px;
    height: 480px;
    border-width: 70px;
  }

  .home-ortho-card::after {
    right: auto;
    bottom: 145px;
    left: -190px;
    width: 390px;
    height: 390px;
  }

  .home-ortho-orbit {
    right: -40px;
    bottom: 55px;
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 410px) {
  .home-ortho-badges {
    grid-template-columns: 1fr;
  }

  .home-ortho-badges li:last-child {
    grid-column: auto;
  }
}

@media (hover: none) {
  .home-orthopedics .home-ortho-primary:hover,
  .home-ortho-secondary:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .home-orthopedics .home-ortho-primary,
  .home-ortho-secondary {
    transition: color 420ms cubic-bezier(.16, 1, .3, 1), background-color 420ms cubic-bezier(.16, 1, .3, 1), border-color 420ms cubic-bezier(.16, 1, .3, 1), box-shadow 460ms cubic-bezier(.16, 1, .3, 1), transform 460ms cubic-bezier(.16, 1, .3, 1) !important;
  }

  .home-ortho-primary svg,
  .home-ortho-secondary > span {
    transition: transform 460ms cubic-bezier(.16, 1, .3, 1) !important;
  }

  .home-orthopedics .home-ortho-primary:hover,
  .home-ortho-secondary:hover {
    transform: translateY(-4px) !important;
  }

  .home-orthopedics .home-ortho-primary:hover svg {
    transform: translateY(-1px) rotate(-4deg) !important;
  }

  .home-ortho-secondary:hover > span {
    transform: translateX(6px) !important;
  }
}
