@font-face {
  font-family: 'Chronicle Display';
  src: url('/avantages-exclusifs/assets/fonts/Chronicle-Display-Roman.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham Book';
  src: url('/avantages-exclusifs/assets/fonts/Gotham-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  font-family: 'Gotham Book', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.main-container {
  display: flex;
  align-items: center; /* Centra texto respecto a la imagen */
  justify-content: center;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 60px;
  
}

.image-container{
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-container{
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;   /* ✅ clave: apila párrafos */
  justify-content: center;  /* ✅ centra vertical */
  align-items: center;      /* ✅ centra horizontal */
  padding: 0 20px;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  max-width: 480px; /* 🔽 Aquí la hacemos más pequeña */
  height: auto;
  display: block;
  border-radius: 4px;
}

.text-container {
  flex: 0 0 50%;
}

.text-container p {
  margin-bottom: 1.5em;
  text-align: center;
}

.intro {
  font-family: 'Chronicle Display', serif;
  font-style: italic;
  font-weight: bold;
  font-size: 1.5em;
  margin-top: 0 !important;
  

}

.welcome {
  font-family: 'Chronicle Display', serif;
  font-style: normal;
  font-size: 1.8em;
  margin-bottom: 0.0em !important;
}

.bottom-image {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-image img {
  max-width: 300px;
  height: auto;
}

/* Invertir orden: texto a la izquierda, imagen a la derecha */
.main-container.reverse {
  flex-direction: row-reverse;
}

.main-container.column {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-container.column .image-container,
.main-container.column .text-container {
  width: 100%;
  max-width: 700px;
}


@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .image-container,
  .text-container {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .text-container {
    text-align: center;
    padding: 0;
  }

.welcome {
  font-size: 1.0em;
  margin-bottom: 0.0em !important;
 }
.intro {
  font-size: 1.1em;
  margin-top: 0 !important;
 }
}
