/* ==========================
   GENERAL
========================== */
body {
  margin: 0;
  font-family: 'futura-pt', 'Inter', sans-serif; /* Futura PT como principal */
  background: #F7EFDF;
  color: #111;
  overflow-x: hidden; /* evitar scroll horizontal */
}

/* ==========================
   HEADER
========================== */
.header {
  text-align: center;
  position: relative;
}

.header-content {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #111;
}

/* Logos */
.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* Texto "XV FORO" */
.logo-text {
  font-weight: 300;   /* light */
  font-size: 26px;    /* desktop grande */
  letter-spacing: 3px;
}

/* Logo */
.logo {
  height: 60px;      /* desktop grande */
}

/* Título principal */
.title {
  font-size: 40px;    /* desktop grande */
  font-weight: 900;   /* bold */
  margin: 20px 0;
  line-height: 1.2;
}

/* Fecha */
.fecha {
  font-size: 24px;    /* desktop grande */
  margin-top: 10px;
}

.fecha strong {
  color: #d94b3f;
  font-size: 28px;    /* desktop grande */
}

/* Imagen ocupa ancho completo */
.header-image {
  width: 100%;
}

.main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .header-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    order: 1;
    padding: 20px 10px;
    text-align: center;
  }

  .header-image {
    order: 2;
    width: 100%;
  }

  .logos {
    flex-direction: column;
    gap: 8px;
  }

  .logo-text {
    font-size: 22px;
  }

  .logo {
    height: 50px;
  }

  .title {
    font-size: 32px;
  }

  .fecha {
    font-size: 20px;
  }

  .fecha strong {
    font-size: 24px;
  }
}

/* Móviles grandes (≤768px) */
@media (max-width: 768px) {
  .logo-text {
    font-size: 20px;
  }

  .logo {
    height: 45px;
  }

  .title {
    font-size: 28px;
  }

  .fecha {
    font-size: 18px;
  }

  .fecha strong {
    font-size: 22px;
  }
}

/* Móviles pequeños (≤600px) */
@media (max-width: 600px) {
  .logo-text {
    font-size: 18px;
  }

  .logo {
    height: 40px;
  }

  .title {
    font-size: 24px;
  }

  .fecha {
    font-size: 16px;
  }

  .fecha strong {
    font-size: 20px;
  }
}
