.medrano-home .medrano-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  color: #fff;
  font-family: "Nunito Sans", Arial, sans-serif;
}

.medrano-home .medrano-header-inner {
  width: min(100% - 40px, 1410px);
  min-height: 134px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.medrano-home .medrano-header-logo {
  display: flex;
  flex: 0 0 170px;
  align-items: center;
}

.medrano-home .medrano-header-logo img {
  display: block;
  width: 170px;
  height: auto;
}

.medrano-home .medrano-header-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(15px, 1.8vw, 28px);
  margin-left: 0;
}

.medrano-home .medrano-header-nav > a,
.medrano-home .medrano-nav-dropdown > summary {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.medrano-home .medrano-header-nav > a:hover,
.medrano-home .medrano-header-nav > a:focus-visible,
.medrano-home .medrano-nav-dropdown > summary:hover,
.medrano-home .medrano-nav-dropdown > summary:focus-visible {
  color: #52d4d2;
}

.medrano-home .medrano-nav-dropdown {
  position: relative;
}
.medrano-home .medrano-nav-dropdown > summary {
  list-style: none;
}
.medrano-home .medrano-nav-dropdown > summary::-webkit-details-marker {
  display: none;
}
.medrano-home .medrano-nav-dropdown > summary span {
  margin-left: 3px;
  font-size: 18px;
}
.medrano-home .medrano-nav-submenu {
  position: absolute;
  top: calc(100% + 21px);
  left: -20px;
  width: 230px;
  padding: 12px 0;
  background: #fff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}
.medrano-home .medrano-nav-submenu a {
  display: block;
  padding: 10px 20px;
  color: #202b31;
  font-size: 15px;
  font-weight: 700;
}
.medrano-home .medrano-nav-submenu a:hover,
.medrano-home .medrano-nav-submenu a:focus-visible {
  color: #077a7d;
}

.medrano-home .medrano-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}
.medrano-home .medrano-header-quote {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 16px 27px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  background: #077a7d;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.medrano-home .medrano-header-quote:hover,
.medrano-home .medrano-header-quote:focus-visible {
  background: #096669;
  color: #fff;
}

.medrano-home .medrano-menu-button {
  display: flex;
  width: 45px;
  height: 45px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.medrano-home .medrano-menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.medrano-home .medrano-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}
.medrano-home .medrano-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.medrano-home .medrano-menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.medrano-home .medrano-hero {
  position: relative;
  display: flex;
  min-height: 790px;
  height: 100vh;
  height: 100svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #283132;
  color: #fff;
}
.medrano-home .medrano-hero-images,
.medrano-home .medrano-hero-shade,
.medrano-home .medrano-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.medrano-home .medrano-hero-images {
  z-index: -2;
}
.medrano-home .medrano-hero-image {
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.medrano-home .medrano-hero-image.is-active {
  opacity: 1;
}
.medrano-home .medrano-hero-shade {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(8, 17, 20, 0.72) 0%,
    rgba(8, 17, 20, 0.46) 48%,
    rgba(8, 17, 20, 0.34) 100%
  );
}
.medrano-home .medrano-hero-content {
  width: min(100% - 48px, 1140px);
  margin: 0 auto;
  padding: 140px 0 55px;
  font-family: "Nunito Sans", Arial, sans-serif;
}
.medrano-home .medrano-hero-content h1 {
  max-width: 900px;
  margin: 0 0 17px;
  color: #fff;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.medrano-home .medrano-hero-content h1 span {
  color: #077a7d;
}
.medrano-home .medrano-hero-content p {
  max-width: 730px;
  margin: 0 0 43px;
  color: #e1e4e5;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
}
.medrano-home .medrano-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.medrano-home .medrano-hero-button {
  display: inline-flex;
  min-height: 59px;
  align-items: center;
  justify-content: center;
  padding: 17px 29px;
  border: 1px solid #fff;
  border-radius: 100px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.medrano-home .medrano-hero-button-primary {
  border-color: #077a7d;
  background: #077a7d;
}
.medrano-home .medrano-hero-button-primary:hover,
.medrano-home .medrano-hero-button-primary:focus-visible {
  border-color: #096669;
  background: #096669;
  color: #fff;
}
.medrano-home .medrano-hero-button-outline:hover,
.medrano-home .medrano-hero-button-outline:focus-visible {
  background: #fff;
  color: #183236;
}
.medrano-home .medrano-hero-count {
  position: absolute;
  bottom: 44px;
  left: max(24px, calc((100% - 1140px) / 2));
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.medrano-home .medrano-hero-count-line {
  width: 65px;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
}
.medrano-home .medrano-hero-dots {
  position: absolute;
  top: 50%;
  right: 52px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-50%);
}
.medrano-home .medrano-hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.medrano-home .medrano-hero-dots button.is-active {
  border-color: #077a7d;
  background: #077a7d;
}
.medrano-home .medrano-hero-dots button:focus-visible,
.medrano-home .medrano-menu-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.medrano-home .container-media .facebook2 {
  background-color: #077a7d;
}
.medrano-home .container-media .facebook2:hover,
.medrano-home .container-media .facebook2:focus-visible {
  background-color: #fff;
  color: #077a7d;
}

@media (max-width: 1280px) {
  .medrano-home .medrano-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    margin: 0;
    padding: 18px 24px;
    background: #132729;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  }
  .medrano-home .medrano-header-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .medrano-home .medrano-header-nav > a,
  .medrano-home .medrano-nav-dropdown > summary {
    display: block;
    padding: 12px 0;
  }
  .medrano-home .medrano-nav-submenu {
    position: static;
    width: 100%;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .medrano-home .container-media {
    display: none;
  }
  .medrano-home .medrano-header-inner {
    width: calc(100% - 36px);
    min-height: 90px;
  }
  .medrano-home .medrano-header-logo {
    flex-basis: 145px;
  }
  .medrano-home .medrano-header-logo img {
    width: 145px;
  }
  .medrano-home .medrano-header-quote {
    display: none;
  }
  .medrano-home .medrano-hero {
    min-height: 700px;
    height: 100svh;
  }
  .medrano-home .medrano-hero-shade {
    background: linear-gradient(
      90deg,
      rgba(8, 17, 20, 0.76),
      rgba(8, 17, 20, 0.5)
    );
  }
  .medrano-home .medrano-hero-content {
    width: calc(100% - 48px);
    padding: 95px 0 40px;
  }
  .medrano-home .medrano-hero-content h1 {
    font-size: clamp(39px, 9vw, 54px);
    line-height: 1.12;
  }
  .medrano-home .medrano-hero-content p {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.5;
  }
  .medrano-home .medrano-hero-actions {
    gap: 12px;
  }
  .medrano-home .medrano-hero-button {
    min-height: 52px;
    padding: 13px 20px;
    font-size: 15px;
  }
  .medrano-home .medrano-hero-count {
    left: 24px;
    bottom: 24px;
  }
  .medrano-home .medrano-hero-dots {
    right: 22px;
  }
}

@media (max-width: 420px) {
  .medrano-home .medrano-hero {
    min-height: 740px;
  }
  .medrano-home .medrano-hero-content {
    width: calc(100% - 40px);
  }
  .medrano-home .medrano-hero-content h1 {
    font-size: 39px;
  }
  .medrano-home .medrano-hero-button {
    width: 100%;
  }
  .medrano-home .medrano-hero-dots {
    right: 18px;
    top: auto;
    bottom: 33px;
    flex-direction: row;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medrano-home .medrano-hero-image,
  .medrano-home .medrano-hero-button,
  .medrano-home .medrano-header-quote {
    transition: none;
  }
}
