@charset "UTF-8";

/* ===========================
   HISTORIA · CSS específico
   =========================== */

#Historia::before {
  background: rgba(0, 0, 0, 0.20);
}


/* ===========================
   TIPOGRAFÁA AUXILIAR DE LA PÁGINA
   =========================== */

b2,
b3 {
  display: block;
  font-family: "Retro Voice", serif;
  text-transform: none;
}

b2 {
  color: #303642;
  font-size: 26px;
}

b3 {
  color: #fff;
  font-size: 30px;
}

/* ===========================
   HERO INTERIOR · HISTORIA
   =========================== */

.section-full-bleed-short {
  height: 50vh;
}

.section-full-bleed::before,
.section-full-bleed-short::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}

.section-full-bleed-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

#Historia {
  position: relative;
  height: 65vh;
  min-height: 0;
  overflow: hidden;
}

#Historia .section-full-bleed-bg {
  position: absolute;
  top: -2px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

#Historia .section-full-bleed-img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 2px);
  object-fit: cover;
  object-position: center bottom;
  transform-origin: center bottom;
}

#Historia .section-full-bleed-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 80px;
  text-align: center;
}

#Historia .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

#Historia .hero-title,
#Historia .hero-text h1 {
  max-width: 600px;
  margin: 0;
  padding: 10px;
}

.hero-text h1 {
  margin: 0;
  font-family: "Retro Voice", serif;
  font-size: 60px;
  font-weight: 100;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: none;
}

/* ===========================
   SECCIONES GENERALES
   =========================== */

.section-general {
  background-color: #fff;
}

.section-general-inner,
.section-centrado-inner {
  text-align: center;
}

.section-general-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "text media"
    "actions media";
  align-items: stretch;
  column-gap: 60px;
  row-gap: 20px;
}

.section-general-actions,
.section-centrado-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-general-actions {
  grid-area: actions;
  align-self: end;
}

.section-centrado-actions {
  justify-content: center;
  align-items: center;
  padding: 25px 40px;
  margin-top: 12px;
}

.section-eyebrow,
.section-eyebrow-white {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-eyebrow {
  color: #8b8f96;
}

.section-eyebrow-white {
  color: #fff;
}

.section-general-title {
  margin: 0 0 26px;
  color: #303642;
  font-family: "Retro Voice", serif;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.section-general-body p {
  margin: 0 0 14px;
  color: #303642;
  font-size: 14px;
  line-height: 1.5;
}

.section-general-body-white {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.section-general-body-white p {
  margin: 0 0 14px;
}

/* ===========================
   BOTONES PROPIOS DE HISTORIA
   =========================== */

.btn-outline {
  border: 0.7px solid #303642;
  background-color: transparent;
  color: #303642;
}

/* ===========================
   CARRUSEL
   =========================== */

.carrusel-slide {
  position: relative;
  overflow: hidden;
}

/* ===========================
   CTA FINAL CON IMAGEN
   =========================== */

.section-franja-text-white {
  display: block;
  margin: 0;
  color: #fff;
  font-family: "Retro Voice", serif;
  font-size: 40px;
  line-height: 1.1;
}

#imagen {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

#imagen .section-full-bleed-bg,
#imagen .section-full-bleed-img {
  position: absolute;
  inset: 0;
}

.section-full-bleed-inner-short {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  text-align: center;
}

.section-full-bleed-inner-short .section-centrado-actions {
  padding: 25px 0 0;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (min-width: 769px) and (max-width: 1024px) {
  .section-general-inner {
    grid-template-areas:
      "text media"
      "actions actions";
  }

  .section-general-actions {
    flex-wrap: nowrap;
  }

  .section-general-actions .btn-outline,
  .section-general-actions .btn-solid {
    padding: 15px 22px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  #Historia .section-full-bleed-inner {
    padding: 0 30px;
  }

  .hero-text h1 {
    font-size: 45px;
  }

  .section-general,
  .section-general-gris,
  .section-centrado {
    padding: 60px 0;
  }

  .section-general-inner,
  .section-centrado-inner {
    padding: 0 30px;
  }

  .section-general-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .section-general-text,
  .section-general-media,
  .section-general-actions {
    width: 100%;
  }

  .section-general-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-general-actions .btn-outline,
  .section-general-actions .btn-solid {
    align-self: flex-start;
    white-space: nowrap;
  }

  .section-centrado {
    padding: 30px;
  }

  .section-centrado-inner {
    padding: 0;
  }

  .section-centrado-actions {
    flex-wrap: wrap;
    justify-content: center;
    padding: 25px 0 0;
  }

  .section-franja-text-white {
    font-size: 30px;
  }

  .section-full-bleed-inner-short {
    padding: 30px;
  }
}