.medrano-services {
  padding: 100px 0 95px;
  overflow: hidden;
  background: #fff;
  color: #0b0b18;
  font-family: "Nunito Sans", Arial, sans-serif;
}

.medrano-services-container {
  width: min(calc(100% - 80px), 1360px);
  margin: 0 auto;
}

.medrano-services-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}

.medrano-services-heading h2 {
  max-width: 580px;
  margin: 0;
  color: #0b0b18;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.medrano-services-heading h2 span {
  display: block;
  color: #087c80;
}

.medrano-services-quote {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border: 1px solid #087c80;
  border-radius: 100px;
  color: #075e62;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}

.medrano-services-quote:hover,
.medrano-services-quote:focus-visible {
  background: #087c80;
  color: #fff;
}

.medrano-service-stage {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr);
  gap: 46px;
  min-height: 555px;
}

.medrano-service-slides {
  min-width: 0;
}

.medrano-service-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 48px;
  min-width: 0;
}

.medrano-service-slide[hidden] {
  display: none;
}

.medrano-service-photo,
.medrano-service-preview {
  width: 100%;
  height: 410px;
  overflow: hidden;
  background: #e7e7e3;
}

.medrano-service-photo img,
.medrano-service-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medrano-service-photo img {
  object-position: center;
}

.medrano-service-preview {
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: opacity .2s ease;
}

.medrano-service-preview:hover,
.medrano-service-preview:focus-visible {
  opacity: .82;
}

.medrano-service-copy {
  min-width: 0;
  padding-top: 0;
}

.medrano-service-copy h3 {
  margin: 0 0 17px;
  color: #0b0b18;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.medrano-service-copy h3 span {
  margin-right: 4px;
}

.medrano-service-copy p {
  margin: 0 0 29px;
  color: #6c6d72;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.medrano-service-copy ul {
  margin: 0 0 20px;
  padding-left: 30px;
  color: #6c6d72;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.56;
}

.medrano-service-copy li {
  padding-left: 0;
  margin: 0 0 2px;
}

.medrano-service-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 100px;
  background: #087c80;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  transition: background .2s ease;
}

.medrano-service-link:hover,
.medrano-service-link:focus-visible {
  background: #075e62;
  color: #fff;
}

.medrano-service-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding-left: 72px;
}

.medrano-service-arrow {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #087c80;
  border-radius: 50%;
  background: #fff;
  color: #087c80;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.medrano-service-arrow:hover,
.medrano-service-arrow:focus-visible {
  background: #087c80;
  color: #fff;
}

.medrano-service-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.medrano-service-position {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #172f32;
  font-size: 17px;
  font-weight: 800;
}

.medrano-service-position-rule {
  width: 48px;
  height: 1px;
  background: #087c80;
}

.medrano-service-dots {
  display: flex;
  gap: 9px;
  margin-left: auto;
}

.medrano-service-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid #087c80;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.medrano-service-dots button[aria-current="true"] {
  background: #087c80;
}

@media (max-width: 1200px) {
  .medrano-service-stage {
    grid-template-columns: 1fr;
  }
  .medrano-service-preview {
    display: none;
  }
}

@media (max-width: 760px) {
  .medrano-services {
    padding: 70px 0;
  }
  .medrano-services-container {
    width: calc(100% - 38px);
  }
  .medrano-services-heading {
    flex-direction: column;
    margin-bottom: 35px;
  }
  .medrano-services-heading h2 {
    font-size: clamp(36px, 8vw, 48px);
  }
  .medrano-services-quote {
    min-height: 49px;
    padding: 10px 22px;
    font-size: 15px;
  }
  .medrano-service-stage {
    min-height: 0;
  }
  .medrano-service-slide {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .medrano-service-photo {
    height: clamp(250px, 75vw, 410px);
  }
  .medrano-service-copy h3 {
    font-size: 28px;
  }
  .medrano-service-copy p {
    margin-bottom: 18px;
  }
  .medrano-service-controls {
    margin-top: 28px;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medrano-services-quote,
  .medrano-service-link,
  .medrano-service-arrow,
  .medrano-service-preview {
    transition: none;
  }
}
