/*---------------------------------*/
/*------------ H1 -----------------*/
/*---------------------------------*/
/* Video */
.video-section {
  position: relative;
  width: 100vw;               /* Toda la pantalla de ancho */
  height: 100vh;   
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #ffffff;
}

.fullscreen-video {
   width: 500px;        /* Tamaño fijo */
  max-width: 100%;
  height: auto;
  object-fit: contain;

  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  .video-section {
    width: 60%;
    height: auto;
    padding: 30px 15px;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .video-section {
    width: 90%;
    height: auto;
    padding: 20px 10px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .fullscreen-video {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}


/*---------------------------------*/
/*------------ H2 -----------------*/
/*---------------------------------*/

.secction-1\2e {
  background-color: #1a1a1a;
  padding: 40px 20px;
}

/* Encabezado */
.inicio__encabezado {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Título */
.inicio__titulo {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #f0f0f0; /*hsl(33, 49%, 53%);*/
  flex: 1 1 auto;
  margin: 0;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Botones */
.inicio__contacto-btn,
.inicio__whatsapp-link {
  list-style: none;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background-color: hsl(33, 49%, 53%);
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0.8px;
}

.inicio__contacto-btn:hover,
.inicio__whatsapp-link:hover {
  background-color: hsl(33, 49%, 45%);
  transform: translateY(-2px);
}

/* Servicios */
.inicio__servicios {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.inicio__servicio {
  flex: 1 1 30%;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  border: 1px solid hsl(33, 49%, 53%);
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.inicio__servicio:hover {
  transform: translateY(-5px);
}

.inicio__servicio img {
  display: block;
  margin: 0 auto 10px auto;
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(65%) sepia(56%) saturate(456%) hue-rotate(4deg) brightness(93%) contrast(90%);
}

.inicio__servicio h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: hsl(33, 49%, 53%);
}

.inicio__servicio p {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  color:hsl(33, 49%, 53%);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .inicio__encabezado {
    flex-direction: column;
    align-items: flex-start;
  }

  .inicio__titulo {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .inicio__servicios {
    flex-direction: column;
  }

  .inicio__servicio {
    flex: 1 1 100%;
  }
}
/*---------------------------------*/
/*------------ H3 -----------------*/
/*---------------------------------*/
.sobre-nosotros {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px; /* reducido para acercar imagen y texto */
  padding: 60px 20px;
}

/* Imagen del abogado ampliada y centrada */
.doctor-img {
  flex: 1 1 380px;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.doctor-img:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}


/* Contenido alineado */
.sobre-nosotros__contenido {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px; 
  max-width: 600px;
}

/* Título */
.sobre-nosotros__titulo {
  font-size: 1.8rem;
  color: hsl(33, 49%, 53%);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Descripción */
.sobre-nosotros__descripcion {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  /*font-weight: bold;*/
}

/* Botón */
.sobre-nosotros__enlaces {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sobre-nosotros__enlaces li a {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background-color: hsl(33, 49%, 53%);
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.8px;
}

.sobre-nosotros__enlaces li a:hover {
  background-color: hsl(33, 49%, 45%);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .sobre-nosotros {
    flex-direction: column;
    text-align: center;
    gap: 30px; /* en móviles separamos un poco más */
  }

  .sobre-nosotros__contenido {
    align-items: center;
  }

  .sobre-nosotros__titulo,
  .sobre-nosotros__descripcion {
    text-align: center;
  }

  .sobre-nosotros__enlaces li a {
    margin-top: 10px;
  }
}

/* Beneficios (ajustado al nuevo nombre de clase) */
.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.beneficios__titulo {
  font-size: 45px;
  text-transform: uppercase; /* Texto en mayúsculas */
  color: hsl(33, 49%, 53%); 
  letter-spacing: 1.5px;
  animation: fadeInUp 1s ease-out both;
  font-weight: 700;
}



.beneficio {
  /*background: #f9fbfd;*/

  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.beneficio:hover {
  transform: translateY(-5px);
}

