:root {
  --arapey-font: "Arapey", serif;
  --monserrat-font: "Montserrat", sans-serif;
  --text-color: #0B3D55;
  --color-primary: rgba(85, 131, 143, 1);
  --color-secondary: rgba(150, 105, 112, 1);
  --wine: rgba(91, 0, 0, 1);
  --teal: rgba(61, 113, 127, 1);
  --container-mw1140: 1140px;
  --container-mw1440: 1440px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--monserrat-font);
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

a {
  text-decoration: none;
}

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

body.modal-open,
body.page-template-page-group-therapy,
body.menu-open {
  overflow: hidden;
}

body.page-worshop {
  background-color: #FBFBFB;
}

.wine-title {
  color: var(--wine);
  font-family: var(--arapey-font);
  font-size: 60px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.mt-lg-34 {
  margin-top: 34px;
}

.mt-lg-100 {
  margin-top: 100px;
}

.mt-lg-150 {
  margin-top: 150px;
}

.container-sm {
  max-width: var(--container-mw1140);
  width: 90%;
  margin: 0 auto;
}

.container-lg {
  max-width: var(--container-mw1440);
}

/******Buttons******/
.mb_cta--center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mb_btn {
  background-color: var(--teal);
  border-radius: 30px;
  color: #FFF;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 53px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease-in;
}

.mb_btn:hover {
  filter: brightness(1.2);
}

.mb_btn.mb_btn--wine {
  background-color: #6C2F41;
}

.mb_btn.mb_btn--small {
  font-size: 14px;
  padding: 7.089px 12.152px;
}

.mb_cta-circle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.mb_cta-circle .circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: rgba(150, 105, 112, 0.7);
  position: relative;
  transition: transform 0.3s ease;
  z-index: -1;
  margin-left: -60px;
}

.mb_cta-circle .circle::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: -11px;
  left: -12px;
  border-radius: 50%;
  border: 2px solid rgba(150, 105, 112, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  transform: rotate(96deg);
}

.mb_cta-circle a {
  text-decoration: none;
  text-transform: uppercase;
  color: #343434;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.mb_cta-circle a:hover .circle {
  animation: pulse 0.8s ease-in-out;
}

.mb_cta-circle a:hover .circle::after {
  animation: wave 1s ease-out;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-width: 1px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(150, 105, 112, 0.3);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 10px 4px rgba(150, 105, 112, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(150, 105, 112, 0);
  }
}

@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.mb_quote-home {
  padding: 100px 0;
}

.mb_quote-home__text p {
  color: var(--wine);
  font-family: var(--arapey-font);
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 136%;
  text-align: center;
  text-transform: uppercase;
}

.mb_quote-home__text p.author {
  font-size: 40px;
  font-weight: 200;
  text-transform: none;
  font-family: var(--monserrat-font);
}

.mb_bottom-bg {
  position: relative;
}

.mb_bottom-bg::after {
  content: "";
  background: url(../img/bg-section.webp) no-repeat;
  background-size: cover;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -5%;
  left: 0;
  z-index: -1;
}

.mb_top-bg {
  position: relative;
}

.mb_top-bg::before {
  content: "";
  background: linear-gradient(to top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 8%), url(../img/bg-hero.webp) no-repeat;
  background-size: cover;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 1550px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/*------------------*/
/*--------NAV-------*/
/*------------------*/
header.main-header {
  width: 100vw;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease-in-out 0s;
  position: relative;
}

header.main-header .header-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
}

header.main-header .header-wrapper .logo-nav {
  position: absolute;
  top: 60px;
  z-index: 3;
}

header.main-header .header-wrapper .logo-nav img {
  width: 329px;
}

header.main-header .header-wrapper .nav-wrapper {
  position: fixed;
  right: 5%;
  top: 70px;
  z-index: 99;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list {
  display: flex;
  border-radius: 66.806px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 5px 6px 20px 0 rgba(17, 71, 97, 0.07);
  backdrop-filter: blur(14.9792661667px);
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li {
  position: relative;
  padding: 16px 25px;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li a {
  color: var(--text-color);
  font-size: 21.5px;
  font-weight: 500;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li button {
  color: var(--text-color);
  font-size: 21.5px;
  font-weight: 500;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 35px 16px 25px;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children::before {
  display: inline-block;
  width: 21px;
  height: 14px;
  vertical-align: -0.125em;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230B3D55' d='M5.293 9.293a1 1 0 0 1 1.414 0L12 14.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414'/%3E%3C/svg%3E");
  position: absolute;
  right: 11px;
  top: 20px;
  pointer-events: none;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children.submenu-open .navigation_submenu {
  display: block;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li:hover a,
header.main-header .header-wrapper .nav-wrapper .navigation_list li.is-active a {
  font-weight: 600;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li:not(:last-of-type)::after {
  content: "";
  width: 7px;
  height: 7px;
  background-color: #964405;
  border-radius: 50%;
  display: block;
  position: absolute;
  right: 0;
  top: 45%;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFF;
  border-radius: 14.731px;
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.05);
  width: 230px;
  z-index: 999;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li {
  padding: 0;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  padding: 8.5px 25px;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li::after {
  display: none;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li:not(:last-of-type) {
  border-bottom: 0.21px solid var(--teal);
}

eader.main-header .header-wrapper .nav-wrapper .navigation_list li button.navigation_toggle,
header.main-header .header-wrapper .nav-wrapper .navigation_list li button.submenu-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text-color);
  font-size: 21.5px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  text-align: left;
}

/* 2. Ocultar el <span class="submenu-caret"> del Walker.
      Tu ::before ya pinta una flecha, no queremos dos. */
header.main-header .navigation_list .submenu-caret {
  display: none;
}

/* 3. Bonus de UX: rotar la flecha cuando el submenú está abierto.
      Indica el estado al usuario sin gastar pixeles extra. */
header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children::before {
  transition: transform 0.2s ease;
  transform-origin: center;
}

header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children.submenu-open::before {
  transform: rotate(180deg);
}

/* 4. Focus visible en el button (accesibilidad — keyboard users).
      Si tu :focus-visible global ya cubre esto, podés borrar este bloque. */
header.main-header .navigation_list button.navigation_toggle:focus-visible,
header.main-header .navigation_list button.submenu-toggle:focus-visible {
  outline: 3px solid var(--text-color);
  outline-offset: 4px;
  border-radius: 2px;
}


header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children:hover .navigation_submenu,
header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children.submenu-open .navigation_submenu {
  display: block;
}

header.main-header .header-wrapper .nav-wrapper .mb_search .search-btn {
  appearance: none;
  border: none;
  border-radius: 50%;
  padding: 14px 15px;
  border-radius: 66.806px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 5px 6px 20px 0 rgba(17, 71, 97, 0.07);
  backdrop-filter: blur(14.9792661667px);
  cursor: pointer;
}

header.main-header .header-wrapper .nav-wrapper .mb_search .search-btn img {
  width: 28px;
  height: 28px;
}

header.main-header .header-wrapper .mobile-nav {
  display: none;
}

header.main-header .mb_search-wrapper {
  position: fixed;
  top: 16%;
  right: 5%;
  z-index: 300;
  background-color: #FFF;
  border-radius: 22.806px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 5px 6px 20px 0 rgba(17, 71, 97, 0.07);
  backdrop-filter: blur(14.9792661667px);
  width: 68%;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 60px;
  opacity: 0;
  transform: translateY(-160%);
  transition: all 0.3s ease-in;
  pointer-events: none;
}

header.main-header .mb_search-wrapper .mb_search-form input[type=text] {
  appearance: none;
  border: 1px solid var(--text-color);
  border-radius: 41px;
  color: var(--text-color);
  font-family: var(--monserrat-font);
  font-size: 17px;
  margin-right: 10px;
  padding: 15px 17px;
  width: 80%;
  outline: none;
}

header.main-header .mb_search-wrapper .mb_search-form input[type=text]:hover,
header.main-header .mb_search-wrapper .mb_search-form input[type=text]:active {
  outline: none;
}

header.main-header .mb_search-wrapper .mb_search-form input[type=text]::placeholder {
  color: var(--text-color);
  font-family: var(--monserrat-font);
  font-weight: 400;
}

header.main-header .mb_search-wrapper .mb_search-form button.mb_search-button {
  background-color: var(--text-color);
  border-radius: 30px;
  border: none;
  color: #FFF;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 53px;
  transition: all 0.3s ease-in;
}

header.main-header .mb_search-wrapper .mb_search-form button.mb_search-button:hover {
  filter: brightness(1.2);
}

header.main-header .mb_search-wrapper.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/*------------------*/
/*-------FORM-------*/
/*------------------*/
.mb_footer-form {
  padding: 80px 0;
}

.mb_footer-form .mb_form-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 55px 20px;
  border-radius: 34px;
  border: 2.505px solid rgba(10, 13, 23, 0.05);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6.3000001907px);
  width: 90%;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--text-color);
  gap: 85px;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col {
  width: 50%;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col h3 {
  font-family: var(--arapey-font);
  font-size: 52px;
  font-weight: 400;
  text-transform: uppercase;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col p {
  font-size: 20px;
  margin: 10px 0 40px;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper {
  width: 100%;
  margin-bottom: 18px;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper input,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper textarea,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper select {
  appearance: none;
  border: 1px solid var(--text-color);
  border-radius: 41px;
  color: var(--text-color);
  font-family: var(--monserrat-font);
  font-size: 17px;
  padding: 15px 17px;
  width: 100%;
  outline: none;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper input:hover,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper input:active,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper textarea:hover,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper textarea:active,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper select:hover,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper select:active {
  outline: none;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper input::placeholder,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper textarea::placeholder,
.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper select::placeholder {
  color: var(--text-color);
  font-family: var(--monserrat-font);
  font-weight: 400;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper textarea {
  border-radius: 20px;
  height: 110px;
  resize: none;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper input[type=submit] {
  background-color: var(--text-color);
  color: #FFF;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease-in;
}

.mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-wrapper input[type=submit]:hover {
  filter: brightness(1.2);
}

/*------------------*/
/*------FOOTER------*/
/*------------------*/
footer {
  position: relative;
  padding-top: 90px;
}

footer::before {
  content: "";
  background: url("../img/footer-bg-darker.svg");
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

footer .mb_footer {
  background-color: #3D717F;
  position: relative;
  z-index: 2;
}

footer .mb_footer .mb_footer-content {
  max-width: 1480px;
  margin: 0 auto;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #FFF;
  padding: 30px 0 50px;
}

footer .mb_footer .mb_footer-content .footer_logo img {
  max-width: 400px;
}

footer .mb_footer .mb_footer-content p {
  font-size: 18px;
  font-weight: 600;
}

footer .mb_footer .mb_footer-content ul {
  list-style: none;
  margin-bottom: 20px;
}

footer .mb_footer .mb_footer-content ul li {
  font-weight: 600;
  font-size: 17px;
  line-height: 150%;
}

footer .mb_footer .mb_footer-content ul li a {
  color: #FFF;
  font-weight: 400;
  text-decoration: none;
}

footer .mb_footer .mb_footer-content ul.hours li {
  font-weight: 400;
}

footer .mb_footer .mb_footer-content .footer-newsletter {
  width: 20%;
}

footer .mb_footer .mb_footer-content .footer-newsletter .newsletter-wrapper {
  margin-top: 8px;
  background-color: rgba(168, 199, 205, 0.27);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 44px;
  padding: 4px 8px;
  display: flex;
  justify-content: space-around;
}

footer .mb_footer .mb_footer-content .footer-newsletter .newsletter-wrapper input[type=email] {
  appearance: none;
  background-color: transparent;
  border: none;
  outline: none;
  color: #FFF;
  width: 80%;
  padding-right: 25px;
}

footer .mb_footer .mb_footer-content .footer-newsletter .newsletter-wrapper input[type=email]:hover,
footer .mb_footer .mb_footer-content .footer-newsletter .newsletter-wrapper input[type=email]:active {
  outline: none;
}

footer .mb_footer .mb_footer-content .footer-newsletter .newsletter-wrapper input[type=email]::placeholder {
  color: #FFF;
}

footer .mb_footer .mb_footer-content .footer-newsletter .newsletter-wrapper input[type=submit] {
  background: #FFF;
  border: 0;
  border-radius: 44px;
  color: #3D717F;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 26px;
  outline: none;
}

footer .mb_footer .mb_footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(168, 199, 205, 0.37);
  padding: 15px 100px 14px;
  color: #FFF;
}

footer .mb_footer .mb_footer-bottom .copyright {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .mb_footer .mb_footer-bottom .copyright .powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-left: 10px;
  border-left: 1px solid #FFF;
}

footer .mb_footer .mb_footer-bottom .social-media ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  list-style: none;
}

footer .mb_footer .mb_footer-bottom .social-media ul li a img {
  width: 42.667px;
  height: 42.667px;
}

@media (min-width: 2000px) {
  header.main-header .mb_search-wrapper {
    width: 45%;
  }

  footer::before {
    background-size: cover;
    top: -10%;
  }
}

@media (max-width: 1670px) {
  header.main-header .header-wrapper {
    padding: 0 20px;
  }

  header.main-header .header-wrapper .nav-wrapper {
    right: 2%;
  }
}

@media (max-width: 1540px) {
  header.main-header .header-wrapper .logo-nav {
    top: 50px;
  }

  header.main-header .header-wrapper .logo-nav img {
    width: 280px;
  }

  header.main-header .header-wrapper .nav-wrapper {
    top: 55px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li a {
    font-size: 20px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li button {
    font-size: 20px;
  }

  header.main-header .mb_search-wrapper {
    padding: 30px 20px;
    top: 15%;
    right: 2%;
    width: 72%;
  }

  footer .mb_footer .mb_footer-content {
    width: 95%;
  }
}

@media (max-width: 1280px) {
  header.main-header .header-wrapper .logo-nav {
    top: 50px;
  }

  header.main-header .header-wrapper .logo-nav img {
    width: 250px;
  }

  header.main-header .header-wrapper .nav-wrapper {
    top: 55px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li {
    padding: 15px 20px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li a {
    font-size: 18px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li button {
    font-size: 18px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li:not(:last-of-type)::after {
    top: 39%;
  }

  header.main-header .mb_search-wrapper {
    width: 78%;
  }

  .mb_quote-home {
    padding: 100px 20px;
  }

  footer .mb_footer .mb_footer-content .footer_logo img {
    max-width: 300px;
  }
}

/*Tablet Medias*/
@media (max-width: 1080px) {
  header.main-header {
    /*------ Open Nav ------*/
  }

  header.main-header .header-wrapper .nav-wrapper {
    top: 30px;
    transform: translateX(140%);
    opacity: 0;
    transition: all 0.4s ease;
    max-height: 80vh;
    overflow: scroll;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list {
    background-color: #FFF;
    border: 1.142px solid var(--Radial, #FFF);
    border-radius: 30px;
    flex-direction: column;
    padding: 88px 40px 190px;
    height: 100%;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li {
    width: 100%;
    min-width: 280px;
    padding: 17px 10px;
    border-bottom: 0.5px solid #0B2839;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children {
    padding: 17px 10px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children::before {
    top: 15px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li a {
    font-size: 16px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li button {
    font-size: 16px;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li:not(:last-of-type)::after {
    display: none;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children a {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    width: 0;
    margin: 16px 0;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li {
    font-size: 16px;
    padding: 0;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li a {
    padding: 17px 0;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li:last-child {
    border-bottom: none;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li:last-child a {
    padding: 17px 0 0;
  }

  header.main-header .header-wrapper .nav-wrapper .mb_search {
    display: block;
    position: absolute;
    left: 5%;
    top: 25px;
    border-radius: 66.806px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 5px 6px 20px 0 rgba(17, 71, 97, 0.07);
    backdrop-filter: blur(14.9792661667px);
  }

  header.main-header .header-wrapper .mobile-nav {
    display: block;
    position: fixed;
    right: 5%;
    top: 50px;
    z-index: 100;
  }

  header.main-header .header-wrapper .mobile-nav .btn-mobile-menu {
    appearance: none;
    border: none;
    border-radius: 50%;
    padding: 14px 15px;
    border-radius: 66.806px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 5px 6px 20px 0 rgba(17, 71, 97, 0.07);
    backdrop-filter: blur(14.9792661667px);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
  }

  header.main-header .header-wrapper .mobile-nav .btn-mobile-menu span {
    display: block;
    width: 18px;
    height: 2.2px;
    margin: 4px 0;
    background-color: var(--text-color);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  header.main-header .header-wrapper .mobile-nav .btn-mobile-menu span:last-of-type {
    width: 14px;
    margin: 4px 0 4px auto;
  }

  header.main-header .mb_search-wrapper {
    top: 52%;
    right: 2%;
    width: 40%;
  }

  header.main-header .mb_search-wrapper .mb_search-form input[type=text] {
    width: 100%;
    margin-bottom: 8px;
  }

  header.main-header .mb_search-wrapper .mb_search-form button.mb_search-button {
    width: 100%;
  }

  header.main-header.open .header-wrapper {
    position: relative;
  }

  header.main-header.open .header-wrapper .nav-wrapper {
    opacity: 1;
    transform: translateX(0);
  }

  header.main-header.open .header-wrapper .mobile-nav .btn-mobile-menu {
    border: 1.5px solid var(--text-color);
    padding: 13.7px;
  }

  header.main-header.open .header-wrapper .mobile-nav .btn-mobile-menu span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    width: 20px;
    height: 2px;
  }

  header.main-header.open .header-wrapper .mobile-nav .btn-mobile-menu span:nth-child(2) {
    opacity: 0;
  }

  header.main-header.open .header-wrapper .mobile-nav .btn-mobile-menu span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 20px;
    margin: 0;
    height: 2px;
  }

  header.main-header.open .mb_search-wrapper {
    top: 75%;
    right: 2%;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  header.main-header.open .mb_search-wrapper .mb_search-form input[type=text] {
    width: 100%;
    margin-bottom: 8px;
  }

  header.main-header.open .mb_search-wrapper .mb_search-form button.mb_search-button {
    width: 100%;
  }

  .mb_footer-form .mb_form-wrapper .mb_contact-form {
    gap: 50px;
  }

  footer .mb_footer .mb_footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr;
  }

  footer .mb_footer .mb_footer-content .footer-newsletter {
    width: 100%;
    padding-top: 10%;
  }

  footer .mb_footer .mb_footer-bottom {
    padding: 15px 30px 14px;
  }


  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    width: 100%;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }

  /* Cuando el button del padre marca el submenu abierto, se expande. */
  header.main-header .navigation_list li.navigation_has-children.submenu-open .navigation_submenu {
    max-height: 1000px;
    /* suficientemente grande; max-height: none rompe la transición */
    margin: 16px 0;
  }

  /* 2. El button toggle tiene que ocupar todo el ancho del <li> en móvil
      (como antes lo hacía el <a>). */
  header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children button.navigation_toggle,
  header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children button.submenu-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    /* matchea tu li a en móvil */
    padding: 0;
  }

  /* 3. La regla vieja `li.navigation_has-children a { width: 100%; ... }`
      sigue siendo válida para items dropdown que SÍ tienen URL (caso 2 del Walker:
      <a> + <button class="submenu-toggle">). Pero ahora ese <a> es flex item del
      <li>, no del button. Lo reseteamos para que el layout no rompa. */
  header.main-header .header-wrapper .nav-wrapper .navigation_list li.navigation_has-children>a {
    flex: 1;
    width: auto;
  }

  /* 4. Items del submenú: un por fila, layout columna. */
  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu {
    display: flex;
    flex-direction: column;
  }

  header.main-header .header-wrapper .nav-wrapper .navigation_list .navigation_submenu li {
    width: 100%;
    border-bottom: 0.5px solid #0B2839;
  }

  /* 5. La flecha ::before del padre — en móvil, rotarla cuando abre el submenú. */
  header.main-header .navigation_list li.navigation_has-children.submenu-open::before {
    transform: rotate(180deg);
  }
}

@media (max-width: 600px) {
  .mt-lg-100 {
    margin-top: 54px;
  }

  .mt-lg-150 {
    margin-top: 0;
  }

  .mb_btn {
    font-size: 13px;
    padding: 11.083px 22.167px;
  }

  .mb_cta-circle {
    justify-content: center;
  }

  .mb_cta-circle a {
    font-size: 16px;
  }

  .mb_cta-circle .circle {
    width: 72px;
    height: 72px;
    margin-left: -45px;
  }

  .mb_cta-circle .circle::after {
    width: 90px;
    height: 90px;
  }

  .wine-title {
    margin-top: 24px;
    font-size: 40px;
  }

  .mb_quote-home {
    padding: 10px 15px 20px;
  }

  .mb_quote-home__text p {
    font-size: 22px;
  }

  .mb_quote-home__text p.author {
    font-size: 18px;
    font-weight: 300;
  }

  .mb_footer-form .mb_form-wrapper {
    padding: 40px 23px;
  }

  .mb_footer-form .mb_form-wrapper .mb_contact-form {
    flex-direction: column;
    gap: 0;
  }

  .mb_footer-form .mb_form-wrapper .mb_contact-form .form-col {
    width: 100%;
  }

  .mb_footer-form .mb_form-wrapper .mb_contact-form .form-col h3 {
    font-size: 34px;
    text-align: center;
  }

  .mb_footer-form .mb_form-wrapper .mb_contact-form .form-col p {
    font-size: 14px;
    text-align: center;
  }

  .mb_footer-form .mb_form-wrapper .mb_contact-form .form-col .input-row {
    flex-direction: column;
  }

  footer .mb_footer .mb_footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  footer .mb_footer .mb_footer-content .footer_logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    order: 1;
  }

  footer .mb_footer .mb_footer-content .footer-content {
    text-align: center;
    order: 3;
  }

  footer .mb_footer .mb_footer-content .footer-newsletter {
    order: 2;
    text-align: center;
    padding: 5% 0 10%;
  }

  footer .mb_footer .mb_footer-bottom {
    padding: 10px 20px 8px;
    flex-direction: column-reverse;
    text-align: center;
    gap: 10px;
  }

  footer .mb_footer .mb_footer-bottom .copyright {
    flex-direction: column;
  }

  footer .mb_footer .mb_footer-bottom .copyright .powered-by {
    border-left: none;
    padding-left: 0;
  }

  footer::before {
    background: url("../img/mobile-wave-darker.svg");
    background-size: cover;
  }
}

/* =========================================================================
   MB Connections — Accessibility additions

   ========================================================================= */


/* -----------------------------------------------------------
   Screen reader only text (visually hidden but available to AT)
   Used for: form labels, "opens in new tab" hints, etc.
   ----------------------------------------------------------- */
.screen-reader-text,
.visually-hidden {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
  white-space: nowrap;
}


/* -----------------------------------------------------------
   Skip-to-main-content link (WCAG 2.4.1)
   Hidden until focused.
   ----------------------------------------------------------- */
.skip-link {
    position: fixed;
    top: 40px;
    left: 2%;
    transform: translate(-115%, -100%);
    z-index: 100000;
 
    /* Visual design — prominent and clearly readable */
    padding: 1rem 2rem;
    background: #0B3D55;        /* brand dark teal */
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0 0 8px 8px;
 
    /* Smooth reveal */
    transition: transform 0.15s ease-out;
}
 
/* Revealed when focused — slides down from top of viewport */
.skip-link:focus,
.skip-link:focus-visible {
    transform: translate(0%, 0);
    outline: 3px solid #ffbf00;
    outline-offset: 3px;
}

@media (min-width: 2000px) {
  .skip-link{
    left: -2%;
  }
  .skip-link:focus,
  .skip-link:focus-visible {
      transform: translate(2%, 0);
  }
}


/* -----------------------------------------------------------
   Focus indicators (WCAG 2.4.7)
   Use :focus-visible so mouse clicks don't show outlines but
   keyboard navigation does.
   Replace the color with your brand accent if needed.
   ----------------------------------------------------------- */
*:focus {
  outline: none;
  /* fallback browsers will use :focus-visible below */
}

*:focus-visible {
  outline: 3px solid #6e1f30;
  /* wine/brand accent — adjust to match your CSS vars */
  outline-offset: 2px;
  border-radius: 2px;
}

/* Light surfaces: keep dark outline. Dark surfaces: lighter outline. */
.footer *:focus-visible,
.mb_bottom-bg *:focus-visible {
  outline-color: #ffffff;
  outline-offset: 3px;
}


/* -----------------------------------------------------------
   Submenu caret button (the "▼" toggle next to parent links)
   Pair with global-header.php / class-mb-accessible-nav-walker.php
   ----------------------------------------------------------- */
.submenu-toggle,
.navigation_toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.submenu-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.navigation_has-children.submenu-open .submenu-caret {
  transform: rotate(180deg);
}


/* -----------------------------------------------------------
   Newsletter status (live region)
   ----------------------------------------------------------- */
.newsletter-status {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  min-height: 1.25em;
  /* reserve space so the layout doesn't jump */
}


/* -----------------------------------------------------------
   Footer headings (the new <h2> labels)
   These were <li>s before; style them so the visual stays the same.
   Adjust to match your design system.
   ----------------------------------------------------------- */
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: inherit;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}


/* -----------------------------------------------------------
   Reduced motion preference
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
     /* Keep the skip link instantly visible for reduced-motion users */
    .skip-link {
        transition: none;
    }

}