/* Growth Digital - Custom Mobile Drawer Menu v2 */
/* Menú mobile global desde la izquierda */

#gd-mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.28);
  z-index: 999998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

#gd-mobile-drawer-overlay.gd-open {
  opacity: 1;
  pointer-events: auto;
}

#gd-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 999999;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  padding: 28px 28px 42px;
  box-sizing: border-box;
  overflow-y: auto;
}

#gd-mobile-drawer.gd-open {
  transform: translateX(0);
}

#gd-mobile-drawer.gd-closing {
  transform: translateX(-100%);
}

.gd-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 90px;
}

.gd-drawer-logo {
  max-width: 175px;
  height: auto;
  display: block;
}

.gd-drawer-close {
  width: 48px;
  height: 48px;
  border: 1.5px solid #a98b75;
  border-radius: 999px;
  background: #ffffff;
  color: #a98b75;
  font-size: 30px;
  line-height: 42px;
  cursor: pointer;
  transition: transform .28s ease, background .28s ease, color .28s ease;
}

.gd-drawer-close.gd-spin-close {
  transform: rotate(180deg) scale(.86);
  background: #a98b75;
  color: #ffffff;
}

.gd-drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46vh;
}

.gd-drawer-nav a {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 34px;
  line-height: 1.15;
  color: #434343;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  padding: 2px 0;
}

.gd-drawer-nav a:hover {
  color: #a98b75;
}

.gd-drawer-cta {
  margin: 34px auto 0;
  display: block;
  width: 190px;
  background: #a98b75;
  color: #ffffff !important;
  text-align: center;
  padding: 14px 18px;
  border-radius: 4px;
  font-family: Arial, sans-serif !important;
  font-weight: 700;
  font-size: 13px !important;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  #gd-mobile-drawer,
  #gd-mobile-drawer-overlay {
    display: none !important;
  }
}

@media screen and (max-width: 390px) {
  .gd-drawer-nav a {
    font-size: 31px;
  }

  .gd-drawer-header {
    margin-bottom: 70px;
  }
}

/* Growth Digital - Drawer global desktop/mobile v4 */

#gd-mobile-drawer,
#gd-mobile-drawer-overlay {
  display: block;
}

@media screen and (min-width: 768px) {
  #gd-mobile-drawer,
  #gd-mobile-drawer-overlay {
    display: block !important;
  }

  #gd-mobile-drawer {
    width: 100vw;
    max-width: 100vw;
    left: 0;
    right: auto;
    transform: translateX(-100%);
  }

  #gd-mobile-drawer.gd-open {
    transform: translateX(0);
  }

  .gd-drawer-header {
    max-width: 1120px;
    margin: 34px auto 120px;
    padding: 0 24px;
  }

  .gd-drawer-logo {
    max-width: 210px;
  }

  .gd-drawer-nav {
    min-height: auto;
    gap: 18px;
  }

  .gd-drawer-nav a {
    font-size: 42px;
  }

  .gd-drawer-cta {
    margin-top: 30px;
  }
}

/* Botón hamburguesa para la página blog */
.gd-blog-menu-button {
  width: 48px;
  height: 48px;
  border: 1.5px solid #a98b75;
  border-radius: 999px;
  background: #ffffff;
  color: #a98b75;
  font-size: 28px;
  line-height: 42px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Growth Digital - Blog header hamburger global v5 */

.blog-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
}

.blog-header > a:first-of-type {
  margin-right: auto !important;
}

.gd-blog-menu-button {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border: 1.5px solid #a98b75 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #a98b75 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gd-blog-menu-button:hover {
  background: #f8f4f1 !important;
}

@media screen and (max-width: 767px) {
  .blog-header {
    padding: 22px 16px 12px !important;
    gap: 10px !important;
  }

  .gd-blog-menu-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    font-size: 24px !important;
  }

  .blog-header img {
    max-width: 138px !important;
  }

  .blog-cta {
    padding: 12px 16px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
}

/* Growth Digital - Blog global header v6 */
.gd-blog-global-header {
  width: 100%;
  background: #ffffff;
  padding: 34px 24px 20px;
  box-sizing: border-box;
}

.gd-blog-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gd-blog-logo-link {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.gd-blog-header-logo {
  width: 210px;
  max-width: 210px;
  height: auto;
  display: block;
}

.gd-blog-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.gd-blog-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  color: #434343;
  font-family: Arial, sans-serif;
}

.gd-blog-phone a {
  color: #434343;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
}

.gd-blog-phone span {
  font-size: 13px;
  color: #434343;
}

.gd-blog-cta {
  background: #a98b75 !important;
  color: #ffffff !important;
  padding: 18px 34px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-family: Arial, sans-serif !important;
  white-space: nowrap !important;
}

/* Botón hamburguesa del blog, mismo estilo global */
.gd-blog-menu-button {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border: 1.5px solid #a98b75 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #a98b75 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gd-blog-menu-button:hover {
  background: #f8f4f1 !important;
}

/* Quitar menú horizontal viejo del blog */
.gd-blog-nav,
.blog-nav,
.blog-header nav {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .gd-blog-global-header {
    padding: 18px 16px 10px !important;
  }

  .gd-blog-header-inner {
    gap: 9px !important;
  }

  .gd-blog-menu-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    font-size: 24px !important;
  }

  .gd-blog-header-logo {
    width: 126px !important;
    max-width: 126px !important;
  }

  .gd-blog-phone {
    display: none !important;
  }

  .gd-blog-header-right {
    gap: 0 !important;
  }

  .gd-blog-cta {
    padding: 13px 16px !important;
    font-size: 12px !important;
  }
}

@media screen and (max-width: 390px) {
  .gd-blog-header-logo {
    width: 112px !important;
    max-width: 112px !important;
  }

  .gd-blog-cta {
    padding: 12px 13px !important;
    font-size: 11px !important;
  }
}

/* Growth Digital - Force blog hamburger header v7 */

.gd-blog-global-header {
  width: 100% !important;
  background: #ffffff !important;
  padding: 34px 24px 20px !important;
  box-sizing: border-box !important;
}

.gd-blog-header-inner {
  max-width: 1180px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.gd-blog-menu-button {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border: 1.5px solid #a98b75 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #a98b75 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 20 !important;
}

.gd-blog-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  margin-right: auto !important;
}

.gd-blog-header-logo {
  width: 210px !important;
  max-width: 210px !important;
  height: auto !important;
  display: block !important;
}

.gd-blog-header-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 28px !important;
}

.gd-blog-phone {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  line-height: 1.2 !important;
  color: #434343 !important;
  font-family: Arial, sans-serif !important;
}

.gd-blog-phone a {
  color: #434343 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 17px !important;
}

.gd-blog-phone span {
  font-size: 13px !important;
  color: #434343 !important;
}

.gd-blog-cta {
  background: #a98b75 !important;
  color: #ffffff !important;
  padding: 18px 34px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-family: Arial, sans-serif !important;
  white-space: nowrap !important;
}

@media screen and (max-width: 767px) {
  .gd-blog-global-header {
    padding: 18px 16px 10px !important;
  }

  .gd-blog-header-inner {
    gap: 9px !important;
  }

  .gd-blog-menu-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    font-size: 24px !important;
  }

  .gd-blog-header-logo {
    width: 126px !important;
    max-width: 126px !important;
  }

  .gd-blog-phone {
    display: none !important;
  }

  .gd-blog-header-right {
    gap: 0 !important;
  }

  .gd-blog-cta {
    padding: 13px 16px !important;
    font-size: 12px !important;
  }
}
