/* BLOQUE 001 */
.tf-bloque-001 {
  width: 100%;
  height: 80vh;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  font-family: 'Montserrat', sans-serif;
}

/* VIDEO DE FONDO */
.tf-bloque-001 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) brightness(80%) contrast(210%);
}

/* CAPA OSCURA */
.tf-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* LOGO */
.tf-logo {
  position: absolute;
  top: 50px;
  left: 50px;
  height: 80px;
  z-index: 2;
}

/* TEXTO PRINCIPAL Y COMPLEMENTARIO */
.tf-texto {
  position: absolute;
  top: 30%;
  left: 50px;
  max-width: 90%;
  text-align: left;
  z-index: 2;
}

.tf-texto h1 {
  font-size: 3.6rem;
  font-weight: 700;
  color: white;
  margin: 0 0 10px 0;
}

.tf-texto p {
  font-size: 1.62rem;
  color: white;
 }

/* ACCESOS "Ingresar | Contáctanos" */
.tf-accesos {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: right;
  z-index: 2;
}

.tf-accesos span {
  color: white;
  cursor: pointer;
  margin: 0 5px;
  text-decoration: none;
  transition: color 0.3s;
}

.tf-accesos span:hover {
  color: #cccccc;
}

/* BLOQUE 002 */
.tf-bloque-002 {
  width: 100%;
  background-color: white;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  padding-top: 30px;
  padding-bottom: 30px;
}

.tf-bloque-002 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.tf-bloque-002 h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111111;
  text-align: left;
}

.tf-bloque-002 .tf-descripcion {
  font-size: 1.17rem;
  line-height: 1.62;
  max-width: 100%;
  margin: 0;
  text-align: justify;
}

/* BLOQUE 003 */
.tf-bloque-003 {
  width: 100%;
  background-color: rgb(255, 55, 90);
  font-family: 'Montserrat', sans-serif;
  padding: 10px 0;
}

.tf-bloque-003 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.tf-bloque-003 h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: white;
  text-align: center;
}

/* Fila con flex y gap */
.tf-bloque-003 .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Tarjetas de beneficios */
.tf-beneficio-card {
  background-color: white;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s;
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 250px;
  max-height: 500px;
}

.tf-beneficio-card:hover {
  transform: translateY(-15px);
}

.tf-beneficio-card h4 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.tf-beneficio-card p {
  font-size: 0.99rem;
  line-height: 1.44;
  flex-grow: 1;
}

/* MEDIA QUERIES */
@media (max-width: 1200px) {
  .tf-bloque-001 .tf-texto {
    max-width: 70%;
  }
}

@media (max-width: 992px) {
  .tf-bloque-002 h2,
  .tf-bloque-003 h2 {
    text-align: center;
  }

  .tf-bloque-003 h2 {
    font-size: 1.8rem;
  }

  .tf-texto {
    top: 25%;
    left: 20px;
    max-width: 90%;
  }

  .tf-texto h1 {
    font-size: 2.5rem;
  }

  .tf-texto p {
    font-size: 1.2rem;
  }

  .tf-logo {
    height: 60px;
    top: 20px;
    left: 20px;
  }

  .tf-accesos {
    font-size: 1rem;
    top: 15px;
    right: 15px;
  }

  .tf-beneficio-card {
    flex: 1 1 calc(45% - 1rem);
  }
}

@media (max-width: 576px) {
  .tf-texto {
    top: 20%;
    left: 10px;
    max-width: 95%;
    text-align: center;
  }

  .tf-texto h1 {
    font-size: 1.8rem;
  }

  .tf-texto p {
    font-size: 1rem;
  }

  .tf-logo {
    height: 50px;
    top: 10px;
    left: 10px;
  }

  .tf-accesos {
    font-size: 0.9rem;
    top: 10px;
    right: 10px;
  }

  .tf-beneficio-card {
    flex: 1 1 100%;
  }
}

/* BLOQUE 004 - FOOTER */
/* Contenedor principal con logo, texto y redes en línea */
.tf-bloque-004 .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* texto alineado verticalmente con el logo */
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 20px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo */
.tf-bloque-004 .footer-logo {
  margin-left: 20px;
}
.tf-bloque-004 .footer-logo img {
  width: 100px;
  height: auto;
}

/* Resumen / CTA */
.tf-bloque-004 .footer-info {
  flex: 1; /* ocupa el espacio central */
  text-align: center;
  margin: 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #858585;
  font-family: 'Montserrat', sans-serif;
}

.tf-bloque-004 .footer-info a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.tf-bloque-004 .footer-info a:hover {
  text-decoration: underline;
}

/* Redes sociales */
.tf-bloque-004 .footer-socials a {
  color: #000000;
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.tf-bloque-004 .footer-socials a:hover {
  color: #0d6efd;
}

/* Copy centrado */
.tf-bloque-004 .footer-copy {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

.tf-bloque-004 .footer-copy a {
  color: #000000;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.tf-bloque-004 .footer-copy a:hover {
  color: #303030;
}

/* Responsive */
@media (max-width: 768px) {
  .tf-bloque-004 .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .tf-bloque-004 .footer-logo {
    margin-left: 0;
    margin-bottom: 15px;
  }
  .tf-bloque-004 .footer-info {
    margin: 0 0 15px 0;
  }
  .tf-bloque-004 .footer-socials {
    margin-bottom: 15px;
  }
}

/* ENLACES - unificación link y visited */
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}
