@import url('testimonial.css');
@import url('authors.css');

/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: #0B8246;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.text-link:hover,
.text-link:focus {
  color: #0f9f58;
}

.final-cta-card .button.header-cta {
  background: linear-gradient(135deg, rgb(215, 242, 123) 0%, rgb(115, 156, 30) 100%) !important;
  color: #071906 !important;
  border-bottom: 3px solid rgb(108, 155, 28) !important;
  box-shadow: 0 18px 38px rgba(115, 156, 30, 0.38) !important;
}

.final-cta-card .button.header-cta:hover,
.final-cta-card .button.header-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(115, 156, 30, 0.45) !important;
  filter: brightness(1.05);
  color: #041807 !important;
}

.button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #021D12;
  color: #fff;
  border: none;
  border-bottom: 3px solid #021D12;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #03291b;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 29, 18, 0.32);
}

.dark-button {
  background-color: #021D12;
  color: #fff;
  border-bottom: 3px solid #021D12;
}

/* Estilos para el header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  transition: padding 0.3s ease;
  height: 60px;
}

#logo-treebox {
  display: flex;
  align-items: center;
  height: 100%;
  transition: padding 0.3s ease;
}

#logo-treebox a {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

#logo-treebox a .metodo-destino-logo {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

#logo-treebox a .metodo-destino-logo span {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #000;
  text-transform: uppercase;
  position: relative;
  transition: font-size 0.3s ease;
}

#logo-treebox a .metodo-destino-logo span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 4px;
  height: 70%;
  background-color: #59329E;
  transform: translateY(-50%);
}

#menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  height: 100%;
}

#menu li {
  height: 100%;
  display: flex;
  align-items: center;
}

#menu li a.btn.btn-dark {
  display: flex;
  align-items: center;
  justify-content: center;
}

header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled nav {
  padding: 0.4rem 0;
}

header.scrolled #logo-treebox {
  padding: 0.3rem 0;
}

header.scrolled #logo-treebox .metodo-destino-logo span {
  font-size: 1.1rem;
}

header.scrolled .btn.btn-dark {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* Estilos para el logo SVG */
.logo-svg {
  max-width: 94px;
  height: auto;
  display: block;
}

.metodo-destino-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos para el hero section */
main {
  padding: 11% 0 8%;
  background-color: #FFFFFF;
}

main .row.container {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

main .small-9.medium-5 {
  margin-top: 15px;
}

main .small-9.medium-5 img {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transform: perspective(1000px) rotateY(-12deg) rotateX(3deg) rotateZ(-1deg);
  transition: transform 0.3s ease;
  margin-right: 0;
  max-width: 110%;
  width: 110%;
  transform-origin: center bottom;
  border-radius: 8px;
  box-shadow: none !important;
  filter: none !important;
}

main .small-9.medium-5 img:hover {
  transform: perspective(1000px) rotateY(-6deg) rotateX(1deg) rotateZ(-0.5deg);
  box-shadow: none !important;
  filter: none !important;
}

main article {
  padding-left: 1rem;
  padding-top: 15px;
}

main article h1 {
  margin-top: 0;
  margin-bottom: 25px;
}

main article p {
  margin-bottom: 18px;
}

main article .button {
  margin-top: 25px;
}

main:hover .hello1 {
  top: 0px;
}

main:hover .hello2 {
  top: 0px;
}

main:hover .hello3 {
  top: 0px;
}

main:hover .barita {
  left: -180px;
}

main h3 {
  margin: 1.5em 0 -3px 0;
}

main .button {
  margin-top: 1em;
}

/* Adjust font size for paragraphs in the hero article */
main article p {
  font-size: 1.2em;
}

/* Estilos para el footer */
footer {
  padding: 2em 0 2em;
  position: relative;
  background: url(https://treebox.co/wp-content/themes/treebox/images/treebox-footer-illustration-mobile.svg) repeat-x;
  height: 280px;
  background-position: bottom;
  background-size: 15%;
}

footer a {
  color: #000;
}

footer div {
  margin: 0 auto;
}

footer p {
  font-size: 0.8em;
  text-align: center;
  margin: 0;
}


footer .social {
  display: block;
  margin: 0 0 0 -6px;
  padding-bottom: 2em;
  text-align: center;
}

footer .social li {
  display: inline-flex;
  font-size: 1em;
  justify-content: space-around;
}

/* Estilos para botones generales */
header .btn.btn-dark,
header #menu li a.btn.btn-dark,
a.btn.btn-dark {
  background-color: #59329E !important;
  color: white !important;
  font-size: 0.95rem !important;
  padding: 0.6rem 1.3rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  font-family: Arial, sans-serif !important;
  text-decoration: none !important;
  display: inline-block !important;
}

header .btn.btn-dark:hover,
header #menu li a.btn.btn-dark:hover,
a.btn.btn-dark:hover {
  background-color: #4a297f !important; 
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Efectos decorativos del hero */
.hello1 {
  position: absolute;
  width: 30px;
  height: 6px;
  background: #F27A24;
  border-radius: 100px;
  z-index: -2;
  top: 100px;
  transform: rotate(70deg);
  transition: 0.4s;
}

.hello2 {
  position: absolute;
  width: 60px;
  height: 6px;
  background: #F27A24;
  border-radius: 100px;
  z-index: -2;
  top: 100px;
  transform: rotate(79deg);
  transition: 0.6s;
}

.hello3 {
  position: absolute;
  width: 90px;
  height: 6px;
  background: #F27A24;
  border-radius: 100px;
  z-index: -2;
  transform: rotate(85deg);
  top: 100px;
  transition: 0.8s;
}

.barita {
  width: 275px;
  height: 167px;
  top: 100px;
  background: url(../img/barita.svg) no-repeat;
  background-size: contain;
  position: absolute;
  z-index: -2;
  left: -80px;
  transition: 0.8s !important;
}

/* Estilos generales para encabezados */
h1, h2 {
  font-family: Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  color: #59329E;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: 3.6rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  color: #000;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

h1:after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background:transparent;
  margin-top: 12px;
  border-radius: 2px;
}

/* Estilos responsivos */
@media (max-width: 63em) {
  h1 {
    font-size: 1.8em;
    margin: 0 0 0.8em 0;
  }
  h1:after {
    width: 50px;
    margin-top: 8px;
  }
  
  h2, h3 {
    font-size: 1.5em;
  }
  
  main {
    padding: 18% 0 8%;
  }
  
  main .row.container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  
  main img {
    max-width: 80%;
    margin: 0 auto 1rem;
  }
  
  main article {
    padding: 0 1rem;
  }
  
  main .button {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 1.5em auto 0;
  }
  
  header nav #menu,
  header nav #social-menu-share {
    display: none;
  }
  
  header nav #logo-treebox {
    background-position: center;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 120px;
  }
}

/* Media queries para móviles */
@media (max-width: 40em) {
  main {
    padding: 20% 0 10%;
  }
  
  main img {
    max-width: 90%;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }
  
  footer {
    background-size: 75%;
  }
  
  h1 {
    font-size: 1.6em;
    margin: 1.3em 0 1em;
  }
}

/* Header más compacto en móviles */
@media (max-width: 639px) {
  header nav {
    padding: 0.5rem 0 !important;
  }
  
  header #logo-treebox {
    padding: 0.4rem 0 !important;
  }
  
  header #logo-treebox .metodo-destino-logo span {
    font-size: 1.2rem !important;
  }
  
  header .btn.btn-dark {
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* Media Queries para Mobile */
@media (max-width: 639px) {
  /* --- Header --- */
  header {
    position: static; /* Remove fixed position */
  }

  header nav {
    height: auto; /* Adjust height if needed */
    padding: 0.5rem 0;
  }

  #menu li a.btn {
      font-size: 0.9rem; /* Adjust button size */
      padding: 0.5rem 1rem;
  }

  /* --- Hero Section --- */
  /* Target the correct main ID and child elements */
  #ebook-presentation .row.container {
    flex-direction: column;
  }
  
  /* Target the image container */
  #ebook-presentation .small-9.medium-5 {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 100%;
  }
  
  /* Target the image directly */
  #ebook-presentation .small-9.medium-5 img {
    max-width: 75%; /* Make image larger on mobile */
    width: auto;
    margin: 0 auto;
    transform: none; /* Remove 3D transform */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  /* Left-align article content */
  #ebook-presentation article {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Make h1 larger */
  #ebook-presentation article h1 {
    font-size: 2rem; /* Larger font size */
    line-height: 1.2;
    text-align: left;
    margin-bottom: 1.5rem;
  }
  
  /* Left-align paragraphs */
  #ebook-presentation article p {
    text-align: left;
    margin-bottom: 1rem;
  }
  
  /* Adjust button - make it 100% width of article container */
  #ebook-presentation article #activate-potential-btn {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    margin-top: 1rem;
    box-sizing: border-box;
  }
}

/* Ajustes adicionales para móviles */
@media (max-width: 639px) {
  /* Ajustes para el modal en móviles */
  .modal-content {
    flex-direction: column;
    gap: 0; /* Eliminar espacio entre secciones */
  }
  
  .modal-left, .modal-right {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
  }
  
  /* Eliminar espacio excesivo */
  .modal-left {
    padding-bottom: 0; /* Reducir padding inferior */
  }
  
  .modal-right {
    padding-top: 0; /* Reducir padding superior */
    margin-top: -94px; /* Aumentar el margen negativo según lo solicitado */
    justify-content: flex-end;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    display: flex;
  }
  
  /* Ajustar el tamaño y posición de la imagen */
  .modal-right img {
    max-width: 76%; /* Aumentar el ancho según lo solicitado */
    margin: 0 auto;
    display: block;
  }
  
  /* Ajustar el texto de privacidad */
  .privacy-notice {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #888;
  }
  
  /* Estilos específicos para el botón principal - asegurando ancho completo */
  #ebook-presentation article #activate-potential-btn,
  article.columns #activate-potential-btn,
  article #activate-potential-btn.button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: 1.2em;
  }
  
  /* Eliminar posibles márgenes del contenedor */
  #ebook-presentation article,
  article.columns {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }


  /* Imagen más pequeña en el modal para mejor visualización */
  .modal-right img {
    max-width: 65%;
    margin: 0 auto;
    display: block;
  }
  
  /* Centrar contenido del modal en móviles */
  .modal-content {
    flex-direction: column;
  }
  
  .modal-left, .modal-right {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
  }
}

/* Estilos para la sección de descarga - Restaurados para coincidir con la tabla de contenidos */
#download {
  background-color: #000 !important; /* Mantener fondo negro */
  padding: 5rem 0;
}

#download .container {
  max-width: 1200px; /* Mismo max-width que la tabla de contenidos */
  margin: 0 auto;
  padding: 0 2rem;
}

#download .free-chapter-card {
  background-color: #59329F; /* Color morado igual que las tarjetas de contenido */
  border-radius: 12px;
  box-shadow: 0 18px 35px 0 rgba(50,50,93,0.10); /* Misma sombra que la tabla de contenidos */
  padding: 3.5rem; /* Mismo padding que la tabla de contenidos */
  max-width: 90%;
  width: 900px; /* Mismo ancho que la tabla de contenidos */
  margin: 0 auto;
  color: white;
}

#download .card-content {
  text-align: left; /* Alineación a la izquierda como en la tabla de contenidos */
  margin-bottom: 2rem;
}

#download h2 {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.2rem 0;
  text-align: left; /* Alineación a la izquierda como en la tabla de contenidos */
}

#download p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: left; /* Alineación a la izquierda como en la tabla de contenidos */
}

#download .card-action {
  text-align: center; /* Centrar el botón */
}

#download .button {
  background-color: #FCB728; /* Color amarillo para el botón según el diseño */
  color: #000;
  font-weight: 600;
  padding: 1rem 1.6rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  display: inline-block; /* Para centrar el botón adecuadamente */
}

#download .button:hover {
  background-color: #F27A24; /* Cambio a naranja al pasar el mouse */
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 29, 18, 0.32);
}

/* Estilos para el modal */
.reveal {
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 900px;
  width: 100%;
  overflow: hidden;
}

.modal-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

.modal-left {
  flex: 1;
  padding: 2.5rem;
  min-width: 300px;
  background-color: #fff;
}

.modal-right {
  flex: 1;
  background: linear-gradient(135deg, #083623 0%, #021b12 100%);
  min-width: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-right img {
  width: 90%;
  max-width: 400px;
  display: block;
  transform: perspective(1000px) rotateY(-10deg) rotateX(3deg);
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: none;
}

.modal-right img:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  box-shadow: none;
}

/* Ajustes para dispositivos móviles */
@media screen and (max-width: 768px) {
  #download .container {
    padding: 0 1rem;
  }
  
  #download h2 {
    font-size: 1.8rem;
  }
  
  footer {
    background-size: 75%;
  }
  
  h1 {
    font-size: 1.6em;
    margin: 1.3em 0 1em;
  }
}

/* Mejora del espaciado en el artículo principal para móviles */
@media (max-width: 639px) {
  main article {
    padding: 0 1.8rem; /* Aumento del padding lateral */
  }
  
  main h1 {
    font-size: 1.9rem; /* Ligeramente más grande para mejor legibilidad */
  }
  
  main p {
    font-size: 1.05rem; /* Texto ligeramente más grande */
    line-height: 1.6; /* Mejora el espaciado entre líneas */
  }
  
  /* Título más pequeño */
  #ebook-presentation h1 {
    font-size: 1.6rem; /* Reducido de 1.9rem */
    margin-bottom: 1rem;
  }
  
  /* Ocultar el segundo párrafo en mobile */
  #ebook-presentation article p:nth-of-type(2) {
    display: none;
  }
}

/* Estilos específicos para el botón de activar potencial */
#activate-potential-btn {
  font-size: 1.2rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(215, 242, 123) 0%, rgb(115, 156, 30) 100%) !important;
  color: #071906 !important;
  font-weight: 700;
  border: none !important;
  border-bottom: 3px solid rgb(108, 155, 28) !important;
  box-shadow: 0 18px 38px rgba(115, 156, 30, 0.38) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#activate-potential-btn:hover,
#activate-potential-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(115, 156, 30, 0.45) !important;
  filter: brightness(1.05);
  color: #041807 !important;
}

/* Estilos para el botón de cierre del modal */
.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-modal-btn:hover {
  background-color: #000;
  /* transform: scale(1.1); - Zoom effect removed per user request */
}

/* Ajustes del botón de cierre para móviles */
@media (max-width: 639px) {
  .close-modal-btn {
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    font-size: 28px;
    background-color: rgba(0, 0, 0, 0.8);
  }
}

/* Estilos para la imagen principal del hero section */
#ebook-presentation .small-9.medium-5.medium-left.columns img {
  transform: perspective(1200px) rotateY(10deg) rotateX(4deg) rotateZ(-1deg);
  transition: transform 0.4s ease;
  border-radius: 12px;
  cursor: pointer;
  filter: none !important;
  box-shadow: none !important;
}

#ebook-presentation .small-9.medium-5.medium-left.columns img:hover {
  transform: perspective(1200px) rotateY(4deg) rotateX(1deg) rotateZ(0deg);
  filter: none !important;
  box-shadow: none !important;
}

/* Mantener efectos en móvil */
@media (max-width: 639px) {
  #ebook-presentation .small-9.medium-5.medium-left.columns img {
    transform: perspective(1200px) rotateY(15deg) rotateX(5deg) rotateZ(-2deg); /* Mantener el mismo efecto en móvil */
    margin: 0 auto 2rem; /* Margen inferior aumentado para móvil */
    max-width: 75%; /* Tamaño ajustado para móvil */
    filter: none !important;
    box-shadow: none !important;
  }
}

/* Estilos del formulario para el modal - Unificados con el formulario de descarga */
#Modal .form-container {
  margin-bottom: 1.5rem;
}

#Modal .form-fields {
  margin-bottom: 1.5rem;
}

#Modal .form-fields .field {
  position: relative;
  margin-bottom: 1.5rem;
}

#Modal .form-fields .field:last-child {
  margin-bottom: 0;
}

#Modal .form-fields .field input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#Modal .form-fields .field input:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  outline: none;
}

#Modal .form-fields .field input::placeholder {
  color: #aaa;
}

#Modal .form-fields .field[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 15px;
  top: -10px;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.7);
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: white;
  padding: 0 5px;
  transform-origin: left top;
  font-weight: 500;
  z-index: 2;
}

#Modal .action-container {
  margin-top: 2rem;
}

#Modal .action-container .button {
  background-color: #000;
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#Modal .action-container .button:hover {
  background-color: #03291b;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 29, 18, 0.32);
}

#Modal p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
}

#Modal .privacy-notice {
  font-size: 0.9rem;
  color: #777;
  margin-top: 1.5rem;
}

/* Asegurar coherencia entre ambos botones */
#Modal .button.dark-button,
#download .button.dark-button {
  background-color: #000;
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#Modal .button.dark-button:hover,
#download .button.dark-button:hover {
  background-image: linear-gradient(135deg, rgb(200, 235, 108) 0%, rgb(99, 135, 25) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 29, 18, 0.32);
}

/* Add border-radius to ebook cover image */
main#ebook-presentation .columns img {
  border-radius: 22px;
}

/* Mejoras para la versión móvil */
@media (max-width: 639px) {
  /* Título aún más pequeño y más cercano a la imagen */
  #ebook-presentation h1 {
    font-size: 1.4rem; /* Reducido aún más para móvil */
    margin-top: -.2rem;
    
    margin-bottom: 0.8rem; /* Reducir también el margen inferior */
  }
  
  /* Ocultar el segundo párrafo en mobile */
  #ebook-presentation article p:nth-of-type(2) {
    display: none;
  }
  
  /* Ajustar tamaño y espaciado de la columna de la imagen */
  #ebook-presentation .small-9.medium-5.medium-left.columns {
    margin-bottom: 0.5rem; /* Reducir margen inferior */
  }
  
  /* Ajustar estructura del contenedor principal */
  main#ebook-presentation .row.container {
    gap: 0; /* Eliminar espaciado entre columnas */
  }
}

/* Ocultar header completamente en móviles */
@media (max-width: 639px) {
  header {
    display: none !important;
  }
  
  /* Ajustar el main para compensar la falta de header */
  main#ebook-presentation {
    padding-top: 1.5rem; /* Reducir el padding superior */
  }
}
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #F5F5F5;
}

#ebook-presentation .eyebrow-tag + h1 {
  margin-top: 0.2rem;
}

@media (max-width: 639px) {
  .eyebrow-tag {
    margin-bottom: 0.35rem;
  }

  #ebook-presentation .eyebrow-tag + h1 {
    margin-top: 0.05rem;
  }
}
