@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Brown', 'Inter', sans-serif;
  color: #333;
}

p {
  line-height: 1.5;
  font-size: 1.1rem;
}

/* HEADER */
.header {
  background: #003ca3;
  color: #fff;
  padding: 1rem 2rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  height: 100px;
}

.nav a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.nav a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* relación 16:9 */
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  /*pointer-events: none;  evita clics sobre el video */
  /*filter: brightness(0.6);*/
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.7);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* INTRO */
.intro {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: auto;
}

.intro h2 {
  color: #003ca3;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.intro p {
  text-align: center;
  color: #003ca3;
}

/* BLOQUES FAMILIAS */
.familia {
  display: flex;
  align-items: stretch;
  width: 100%;
  color: #fff;
  min-height: 500px;
}

.familia .columna {
  flex: 0 0 50%;
  width: 50%;
  box-sizing: border-box;
  border: 1px solid;
}

.familia .columna.imagen {
  overflow: hidden;
}

.familia .columna.imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ Ocupa todo el espacio visible */
  display: block;
}

.familia .columna.texto {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.azuloscuro{
  background: #070850;
}

.turquesa {
  background: #52a095;
}

.azulprincipal {
  background: #003ca3;
}

.azulcielo {
  background: #188ff1;
}

.malva {
  background: #755b77;
}

.familia h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
}

.btn {
  
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  /* background: #fff; */
  color: #fff;
  text-decoration: none;
  font-weight: lighter;
  border-radius: 25px;
  display: inline-block;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  width: fit-content;
}

.btn:hover {
  background: #f0f0f02d;
}

/* OUTRO */
.outro {
  background: #070850;
  text-align: left;
  padding: 3rem 2rem;
  margin: auto;
  box-sizing: border-box;
  border-bottom: 1px solid #fff;
}

.outro h2 {
  color: #ffffff;
  font-size: 4rem;
  text-align: center;
}

.outro h2 span {
  font-size: 8rem;
  line-height: 0;
}

.outro p {
  color: #ffffff;
  font-size: 2rem;
}

/* FOOTER */
.footer {
  background: #003ca3;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
}

.footer p {
  max-width: 800px;
  margin: 0.5rem auto;
}

.social {
  margin: 1.5rem 0;
}

.social a img {
  width: 24px;
  margin: 0 0.5rem;
  filter: invert(1);
}

.copy {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .nav {
    display: flex;
    flex-direction: row;
    /*gap: 0.8rem;*/
  }

  .nav a {
    display: inline-flex;
    border-top: 1px solid;
    padding-top: 1rem;
    margin: 1rem 1rem 0;
  }
  .hero {
    height: 50vh;
  }
  .hero-text {
    font-size: 1.5rem;
  }
  .familia {
    flex-direction: column;
  }

  .familia .columna {
    width: 100%;
    flex: 0 0 100%;
  }

  .familia .columna.texto {
    order: 2;
    padding: 2rem;
  }

  .familia .columna.imagen img {
    height: auto;
  }
}