/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Times New Roman', Times, serif;
  color: #00263E;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url('../img/fondo_marmol.svg');
  background-size: 500px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.6;
  /* Ajusta aquí la opacidad deseada */
  z-index: -1;
}


/* HEADER */
.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-image: url('../img/fondo_marmol.svg');
  background-size: 500px;
  background-repeat: repeat;
  background-position: center;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

/* Contenedor flexible del logo y menú */
.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Logo */
.logo {
  height: 90px;
  /* Tamaño aumentado */
  width: auto;
  margin-left: 0;
}

/* MENÚ */
.menu ul {
  display: flex;
  gap: 25px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: #00263E;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.menu a:hover {
  color: #004080;
}

/* CONTENIDO PRINCIPAL */
.contenido {
  background-color: transparent;
  padding: 60px 20px;
  min-height: 70vh;
}

/* Carrusel de noticias y publicaciones */
.carousel {
  display: flex;
  justify-content: center;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.carousel-item {
  background-color: white;
  border: 2px solid #00204a;
  border-radius: 8px;
  padding: 15px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.carousel-titulo {
  text-transform: uppercase;
  font-size: 1.2em;
  margin: 10px 0;
  color: #00204a;
  text-align: center;
}


.carousel-descripcion {
  font-size: 0.9em;
  line-height: 1.5;
  text-align: justify;
  color: #00204a;
}


/* FOOTER */
.footer {
  background-color: #0A143A;
  color: white;
  padding: 40px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer h4 {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: white;
  text-decoration: none;
}

.footer ul li a:hover {
  text-decoration: underline;
}

/* Redes sociales */
.social-icons a {
  color: white;
  margin-right: 10px;
  font-size: 1.4em;
  text-decoration: none;
}

.social-icons a:hover {
  color: #44464e;
}

/* Formulario de suscripción */
.footer form {
  display: flex;
  flex-direction: column;
}

.footer input[type="email"] {
  padding: 8px;
  margin-bottom: 10px;
  border: none;
  font-size: 14px;
}

.footer button {
  background: #0066cc;
  color: white;
  border: none;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
}

.footer button:hover {
  background: #004ea2;
}

/* Línea inferior del footer */
.autoria {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
}

.franja-imagen-carrusel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -40px;
}

.franja-imagen-carrusel .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a143c99;
  z-index: 2;
}

.franja-carrusel {
  position: relative;
  /* Necesario para que el overlay se posicione sobre este contenedor */
  width: 50%;
  max-height: 320px;
  border-radius: 10px;
  overflow: hidden;
  /* Oculta el overlay si se desborda */
  order: -1;
}

.carousel-casos-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.franja-carrusel .overlay-casos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* Que cubra toda la imagen */
  height: 100%;
  background: #0a143c99;
  z-index: 2;
  pointer-events: none;
}


.carrusel-imagenes {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carrusel-imagenes img {
  position: absolute;
  top: 26%;
  left: 0;
  width: 100%;
  height: 75%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carrusel-imagenes img.imagen-activa {
  opacity: 1;
}

.franja-contenido {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.franja-contenido h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.franja-contenido p {
  font-size: 1.2em;
}

/* BOTÓN MENÚ (SOLO PARA MÓVILES) */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  color: #00263E;
  cursor: pointer;
}

.menu-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.menu-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  /* opcional para espaciado */
  list-style: none;
  padding: 20px;
  margin: 0;
  text-align: center;
}

.menu-nav li {
  padding: 0 20px;
  border-left: 1px solid #1a1a40;
}

.menu-nav li:first-child {
  border-left: none;
}

.menu-nav a {
  text-decoration: none;
  color: #00263E;
  font-weight: bold;
  font-size: 20px;
  transition: color 0.3s;
}

.menu-nav a:hover {
  color: #0f2332;
}


.logo-container {
  padding-left: 50px;
  /* nuevo valor agregado */
}




.especialidades {
  padding: 80px 20px;
  background-color: transparent;
}

.especialidades-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.titulo-especialidades {
  text-transform: uppercase;
  font-size: 2.2rem;
  font-weight: bold;
  color: #1a1a40;
}

.logo-especialidades {
  height: 80px;
  object-fit: contain;
}

/* Distribución visual tipo triángulo */
.especialidades-grid {
  position: relative;
  min-height: 400px;
}

.especialidad {
  position: absolute;
  width: 260px;
  text-align: center;
  font-size: 0.95rem;
  color: #1a1a40;
}

.especialidad h3 {
  font-weight: bold;
  margin-bottom: 10px;
}

/* Posiciones según tu diseño */
.top-left {
  top: 0;
  left: 5%;
}

.center {
  top: 35%;
  left: 35%;
}

.bottom-right {
  bottom: 0;
  right: 5%;
}


.equipo a.nombre-abogado {
  text-decoration: none !important;
  color: #1a1a40;
}

.equipo a.nombre-abogado:hover {
  text-decoration: underline;
}


.equipo {
  padding: 20px 40px;
  /* Márgenes más amplios a los lados */
  background-color: transparent;
}

.equipo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.titulo-equipo {
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a40;
}

.equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 60px;
}

.miembro-equipo {
  display: flex;
  align-items: center;
  gap: 30px;
}

.foto-equipo {
  max-width: none;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.foto-equipo:hover {
  transform: scale(1.03);
}

.info-equipo {
  max-width: 400px;
}

.nombre-abogado {
  color: #1a1a40;
  /* O usa el azul que estás aplicando */
  text-decoration: none;
  font-weight: bold;
}


.nombre-abogado:hover {
  text-decoration: underline;
}

.especialidad-abogado {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a40;
  margin-bottom: 5px;
}

.descripcion-abogado {
  font-size: 0.95rem;
  color: #444;
}



.casos-relevantes {
  padding: 0px 10px;
  background-color: transparent;
}

.titulo-casos {
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 60px;
}

.caso {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.caso-imagen {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  object-fit: cover;
}

.caso-info {
  flex: 1;
  max-width: 45%;
}

.numero-caso {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 5px;
}

.subtitulo-caso {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.titulo-extra {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 10px;
}

.parrafo-extra {
  font-size: 0.95rem;
  color: #444;
  text-align: justify;
}




.formacion-continua {
  padding: 0px 40px;
  background-color: transparent;
}

.titulo-formacion {
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 40px;
}


.formacion-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Esto centra todo horizontalmente */
  text-align: center;
}

.nombre-clase {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 5px;
}

.subtitulo-clase {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.texto-doble-columna {
  font-size: 0.95rem;
  color: #1a1a40;
  text-align: justify;
  margin-bottom: 30px;
}

.titulo-extra {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 10px;
  text-align: left;
  /* 👈 esto es lo que faltaba */
  align-self: flex-start;
  /* 👈 opcional para reforzar en flex container */
}


.parrafo-extra {
  font-size: 0.95rem;
  color: #444;
  text-align: justify;
  margin-bottom: 30px;
}

.formacion-imagen {
  flex: 1;
  min-width: 300px;
  max-height: 300px;
}

.formacion-imagen img {
  width: 90%;
  border-radius: 8px;
  object-fit: cover;
}

.bloque-imagen-inferior {
  margin-top: 20px;
}





.contenido-especialidades {
  padding: 80px 40px;
  background-color: transparent;
}

.titulo-especialidades-container {
  padding: 0 60px;
  margin-top: 120px;
  /* Aumenta separación desde el header */
}

.titulo-especialidades {
  font-size: 2rem;
  font-weight: bold;
  text-align: left;
  color: #1a1a40;
  margin-bottom: 40px;
}

.bloque-especialidades {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  padding: 0 60px 80px;
}

.imagen-especialidades img {
  max-width: 100%;
  width: 600px;
  border-radius: 10px;
}

.texto-especialidades {
  flex: 1;
  min-width: 280px;
}

.nombre-especialidad {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #1a1a40;
}

.descripcion-especialidad {
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
  text-align: justify;
  max-width: 500px;
}


/* CONTENEDOR PRINCIPAL */
.contenido-equipo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}

/* TÍTULO */
.titulo {
  text-transform: uppercase;
}

.titulo-equipo {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a40;
  margin: 0 0 30px 0;
}

/* BLOQUE GENERAL */
.bloque-abogado,
.bloque-abogado.invertido {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin: 0 auto 80px auto;
  max-width: 1000px;
  width: 100%;
  flex-wrap: nowrap;
}

/* INVERTIR ORDEN DE ELEMENTOS */
.bloque-abogado.invertido {
  flex-direction: row-reverse;
}

/* IMAGEN */
.foto-abogado {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* TEXTO GENERAL */
.texto-abogado {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  max-width: 600px;
  text-align: left;
}

/* ALINEACIÓN A LA DERECHA CUANDO ESTÁ INVERTIDO */
.bloque-abogado.invertido .texto-abogado {
  text-align: right;
  align-items: flex-end;
}

/* TITULOS */
.texto-abogado h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 5px;
}

.texto-abogado h3,
.texto-abogado h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1a1a40;
}

.texto-abogado p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}



.contenido-casos {
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 40px;
}

.titulo-casos {
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #1a1a40;
  margin-top: 100px;
  /* ← Aquí bajamos más el título */
  margin-bottom: 60px;
}


.titulo-casos-relevantes {
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #1a1a40;
  margin-top: 120px;
  /* ← Aquí bajamos más el título */
  margin-bottom: 60px;
}

.titulo-videos {
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #1a1a40;
  /* ← Aquí bajamos más el título */
  margin-bottom: 60px;
}

.videos-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.video-casos {
  padding: 40px 20px;
}

.video-item {
  text-align: center;
  max-width: 360px;
}

.video-item {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
  font-weight: 600;
}

.video-relacionado {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff4d;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-relacionado p {
  margin-top: 25px;
  font-weight: bold;
  text-align: right;
  color: #333;
}

/* GRILLA DE CASOS */
.grid-casos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 30px;
  justify-items: center;
}

/* TARJETA DE CASO */
.caso-item {
  /* Convertimos cada tarjeta en un contenedor con fondo semitransparente */
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 100%);
  border-radius: 10px;
  padding: 16px;
  max-width: 260px;
  margin: 0 auto;

  /* Sutil sombra para destacarlo sobre el fondo marmolado */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Aseguramos que el texto quede “encima” del fondo degradado */
  position: relative;
  z-index: 1;

  /* Centramos el contenido interior */
  text-align: center;
}



.caso-item .imagen-caso {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.titulo-caso {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 15px;
  color: #1a1a40;
}

.descripcion-caso {
  font-size: 0.95rem;
  color: #444;
  margin-top: 8px;
  line-height: 1.4;
}

.titulo-caso {
  text-decoration: none;
  color: #1a1a40;
}

.titulo-caso:hover {
  text-decoration: underline;
}



.contenido-caso {
  max-width: 900px;
  margin: 100px auto 0px auto;
  padding: 20px;
  color: #1a1a40;
  background-color: transparent;
}

.titulo-caso-principal {
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 40px;
}

.detalle-caso p,
.detalle-caso ul {
  margin-bottom: 20px;
  line-height: 1.6;
}

.detalle-caso blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  background: #f5f5f5;
  border-left: 4px solid #1a1a40;
  font-style: italic;
}

.contenido-perfil {
  padding: 0px 40px;
  max-width: 1200px;
  margin: auto;
  margin-top: 40px;
}

.titulo-perfil {
  font-size: 2.2rem;
  color: #1a1a40;
  font-weight: bold;
  margin-bottom: 0;
}

.subtitulo-perfil {
  font-size: 1.2rem;
  color: #1a1a40;
  margin-bottom: 30px;
}

.perfil-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.perfil-imagen img {
  max-width: 420px;
  /* Aumenta el tamaño visible */
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Sombra suave opcional */
}

.perfil-info {
  flex: 1;
  min-width: 280px;
}

.perfil-info h2,
.perfil-info h3 {
  color: #1a1a40;
  margin-top: 20px;
}

.perfil-info p {
  margin-bottom: 15px;
  text-align: justify;
}

.perfil-info ul {
  margin-left: 20px;
  list-style-type: disc;
}




.contacto-container {
  max-width: 700px;
  margin: 100px auto;
  padding: 40px;
  background-color: #ffffffdd;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  font-family: 'Times New Roman', Times, serif;
  text-transform: uppercase;
  color: #1a1a40;
}

.contacto-container h1 {
  font-size: 2rem;
  color: #1a1a40;
  margin-bottom: 30px;
  text-align: center;
}

.contacto-container p {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

form label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

form button {
  margin-top: 30px;
  width: 100%;
  padding: 12px;
  background-color: #1a1a40;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #2e2e6f;
}

.vzo-header {
  text-align: center;
  margin-bottom: 30px;
}

.vzo-logo {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.vzo-titulo {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a40;
}

.vzo-intro {
  font-size: 1.05rem;
  text-align: justify;
  margin-bottom: 30px;
  color: #1a1a40;
}

.vzo-bloque {
  margin-bottom: 30px;
}

.vzo-bloque h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1a1a40;
  margin-bottom: 10px;
}

.vzo-bloque ul {
  padding-left: 20px;
  list-style-type: disc;
  color: #333;
  line-height: 1.6;
}

.vzo-bloque p {
  font-size: 1rem;
  color: #333;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 15px;
}

.vzo-eslogan {
  margin-top: 40px;
  text-align: center;
}

.vzo-eslogan h3 {
  font-style: italic;
  font-weight: bold;
  color: #004080;
}

.vzo-logo-grande {
  width: 300px;
  /* Ajusta el tamaño según te parezca mejor */
  height: auto;
  margin: 30px auto 20px;
  display: block;
}

/*----------------------------------
  1) Fuente global en Times New Roman
-----------------------------------*/
body {
  font-family: "Times New Roman", serif !important;
}

/*----------------------------------
  2) Ajuste de espacios entre secciones
     (reduce paddings/margins excesivos)
-----------------------------------*/
main[class="contenido"],
.contenido-equipo,
.contenido-casos,
.contenido-especialidades,
.formacion-continua {
  padding-top: 0px;
  /* suaviza el “aire” interior */
}

/* Si tienes contenedores .container, .container-default… */
.container,
.container-default,
.equipo-container {
  padding-bottom: 20px;
}

/*----------------------------------
  3) Bloques de texto VZO en todo el sitio
-----------------------------------*/
.vzo-intro,
.vzo-bloque,
.formacion-info,
.caso-info,
.tipo-bloque,
/* si tienes otros bloques genéricos */
.equipo-grid,
.contenido-equipo .bloque-abogado {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/*----------------------------------
  4) Línea separadora “shine” entre secciones
-----------------------------------*/
.separador-vzo {
  position: relative;
  height: 10px;
  background: #1a1a40;
  margin: 0;
  overflow: hidden;
}

.separador-vzo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -60%;
  }

  100% {
    left: 100%;
  }
}

/*----------------------------------
  5) Correcciones puntuales de color y tipografía
-----------------------------------*/
/* Asegura que tus títulos sigan el mismo color */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1a1a40;
}

/* Links dentro de bloques no subrayados */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------
   Desplaza TODO el main de perfil por debajo del header
   --------------------------------------------------- */
:root {
  --header-height: 120px;
  /* ajústalo al alto real de tu header */
}

main.contenido-perfil,
main.contenido,
/* si reutilizas main.contenido */
main.contenido-caso,
/* y otros mains fijos */
.contenido-equipo {
  margin-top: var(--header-height);
}

/* ------------------------------------------------------------------
   1) Compensa la cabecera fija
   ------------------------------------------------------------------*/

:root {
  /* Ajusta este valor si cambias la altura de .header */
  --altura-header: 120px;
}

.contenido-perfil {
  /* Empuja el contenido hacia abajo */
  margin-top: var(--altura-header);
  /* Si ya tenías padding, conserva las otras reglas: */
  /* padding: 100px 40px;  */
}



/* ---------------------------------------------
   Sección “VZO”: fondo, padding y separador
   (pega esto al final de estilos.css)
   ---------------------------------------------*/

:root {
  --altura-header: 120px;
}

/* compensar header fijo */
main.contenido-especialidades,
main.contenido-perfil {
  margin-top: var(--altura-header);
}

/* separador animado */
.separador-vzo {
  position: relative;
  height: 5px;
  background-color: #162f4a;
  margin: 40px 0;
  overflow: hidden;
}

.separador-vzo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -60%;
  }

  100% {
    left: 100%;
  }
}


/* --------------------------------------------------
   PANEL SEMITRANSPARENTE UNIFORME EN TODAS LAS SECCIONES
   -------------------------------------------------- */
.vzo-panel {
  max-width: 1200px;
  margin: 60px auto;
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Quita cualquier fondo blanco de los padres */
.casos-relevantes {
  background: none !important;
}

/* Asegura que el wrapper padre no tenga fondo blanco */

.contenido-especialidades,
.contenido-perfil,
.contenido-caso,
.contenido-formacion {
  background: none !important;
}

/* ——— Sección VZO ——— */
.seccion-vzo {
  /* Si no la tienes, aplica tu fondo de mármol aquí */
  padding: 80px 0;
}

/* Sección VZO - Index */

.seccion-vzo,
.vzo-logo-grande {
  max-width: 400px;
  width: 100%;
}

/* ——— Panel translúcido idéntico a “Casos Relevantes” ——— */
.seccion-vzo,
.seccion-vzo-index .vzo-container {
  max-width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.272);
  box-sizing: border-box;
}

/* Header centrado */
.seccion-vzo .vzo-header {
  text-align: center;
  margin-bottom: 30px;
}

.seccion-vzo .vzo-logo-grande {
  max-width: 400px;
  width: 100%;
}

/* Párrafo introductorio */
.seccion-vzo .vzo-intro {
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #0f1f3e;
}

/* Bloques de contenido */
.seccion-vzo .vzo-bloque {
  margin-bottom: 40px;
}

.seccion-vzo .vzo-bloque h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
  color: #0f1f3e;
}

.seccion-vzo .vzo-bloque ul {
  list-style: disc inside;
  padding-left: 1em;
  color: #333;
}

.seccion-vzo .vzo-bloque p {
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
}

/* Eslogan final */
.seccion-vzo .vzo-eslogan {
  text-align: center;
  margin-top: 60px;
}

.seccion-vzo .vzo-eslogan h3 {
  font-size: 1.4rem;
  font-style: italic;
  color: #0f1f3e;
}


/* ——— Panel translúcido para detalle de caso ——— */
.contenido-caso .detalle-caso {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 30px 40px;
  margin: 0px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  /* o el ancho que prefieras */
}

/* Opcional: si quieres que todo el <main> tenga padding */
.contenido-caso {
  padding: 10px 20px 1px;
}

.contenido-perfil .vzo-panel {
  background-color: rgba(255, 255, 255, 0.4) !important;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: calc(var(--header-height) + 20px) auto 40px;
  max-width: 1200px;
  margin: 20px auto 40px;
}


/* ——— Sección descargables ——— */
.descargables {
  text-align: center;
  margin: 60px auto;
}

/* ——— Botón elegante VZO ——— */
.btn-descarga {
  display: inline-block;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  background-color: #0f1f3e;
  /* Azul oscuro VZO */
  border: 2px solid #0f1f3e;
  padding: 12px 28px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn-descarga:hover {
  background-color: #fff;
  color: #0f1f3e;
  transform: translateY(-2px);
}

/* Ajustes generales para imágenes */
img {
  max-width: 100%;
  height: auto;
}


@keyframes fade {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Cada slide del carrusel */

/* Columna de texto */
.formacion-info {
  flex: 1;
  padding: 2.5rem;
}

.nombre-clase {
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}

.subtitulo-clase {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 1rem;
}

.texto-doble-columna {
  columns: 2;
}

.texto-doble-columna p {
  text-align: justify;
  margin-bottom: 1rem;
}

.titulo-extra {
  font-weight: 600;
  margin-top: 1.5rem;
}

.parrafo-extra {
  font-style: italic;
  color: #444;
}

/* Columna de imagen */
.formacion-imagen {
  flex: 1;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formacion-imagen img {
  margin-top: 40%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 
PDFS
*/
.galeria-pdfs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

/* Contenedor de cada PDF (tarjeta + botón) */
.galeria-pdfs>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tarjeta-pdf {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
}

.tarjeta-pdf:hover {
  transform: scale(1.03);
}

.tarjeta-pdf img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.tarjeta-pdf h3 {
  padding: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

/* Modal PDF */
.modal-pdf {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-pdf.active {
  display: flex;
}

.modal-contenido {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 90vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.modal-contenido iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cerrar-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

/* Botón descarga */
.btn-descarga {
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
  justify-content: center;
  width: fit-content;
  min-width: 140px;
}

/* CARRUSELES */
.carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 50px auto;
}

.carousel-header {
  width: 100%;
  padding-bottom: 20px;
}

.carousel-header h2 {
  margin: 0 0 5px 0;
  color: #1e1e1e;
}

.carousel-header h4 {
  margin: 0;
  color: #555;
  font-weight: normal;
}

.carousel-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.carousel-content {
  flex: 1;
}

.carousel-extra {
  width: 100%;
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.carousel-extra h4 {
  margin: 0 0 10px 0;
  color: #444;
}

.carousel-extra p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}

.carousel-container {
  align-items: center;
  /* <-- Centra verticalmente los hijos */
  background: #ffffffa4;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px 100px;
}

.carousel-content {
  flex: 1;
  padding-right: 20px;
}

.carousel-content h2 {
  color: #1e1e1e;
  margin-bottom: 10px;
}

.carousel-content h4 {
  color: #555;
  margin-top: 0;
}

.carousel-content p {
  color: #333;
  margin-bottom: 12px;
}

.carousel-image {
  object-fit: cover;
  border-radius: 10px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  color: #00263E;
  background-color: #ffffffa4;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 10;
}

.carousel-button:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  background: #00263E;
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: 10px;
}

/* CARRUSEL DE CASOS RELEVANTES */

.carousel-casos-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 50px auto;
}

.carousel-casos-header {
  width: 100%;
  padding-bottom: 20px;
}

.carousel-casos-header h2 {
  margin: 0 0 5px 0;
  color: #1e1e1e;
}

.carousel-casos-header h4 {
  margin: 0;
  color: #555;
  font-weight: normal;
}

.carousel-casos-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.carousel-casos-content {
  flex: 1;
}

.carousel-casos-extra {
  width: 100%;
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.carousel-casos-extra h4 {
  margin: 0 0 10px 0;
  color: #444;
}

.carousel-casos-extra p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}

.carousel-casos-container {
  align-items: center;
  background: #ffffffa4;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px 100px;
}

.carousel-casos-content p {
  color: #333;
  margin-bottom: 12px;
}

.carousel-casos-image {
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  order: -1;
}

.carousel-casos-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  color: #00263E;
  background-color: #ffffffa4;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 10;
}

.carousel-casos-button:hover {
  color: #f0f2f5;
  transform: translateY(-50%) scale(1.1);
  background-color: #00263E;
}

.carousel-casos-button.left {
  left: 10px;
}

.carousel-casos-button.right {
  right: 10px;
}

/* CONTENIDO PDF */

#contenedorPDFTemp {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 794px;
  /* A4 width in px at 96dpi */
  padding: 20px;
  font-family: "Times New Roman", Times, serif;
  background: url('../../img/fondo_marmol.svg') no-repeat center center;
  background-size: cover;
}

#contenedorPDFTemp h1 {
  font-size: 24px;
  word-wrap: break-word;
}

#contenedorPDFTemp img.logo-pdf {
  position: absolute;
  top: 100px;
  left: 22%;
  display: block;
  margin: 0 auto 20px auto;
  /* Centrado horizontal + espacio inferior */
  max-width: 400px;
}

/* Fondo completo para la portada */
.pagina-blanca {
  width: 794px;
  height: 1123px;
  display: block;
  justify-content: center;
  align-items: center;
  background: url('../../img/fondo_marmol.svg') no-repeat center center;
  background-size: cover;
}

.imagen-portada {
  max-width: 500px;
  max-height: 90%;
}

/* ---------------------------------------------
   ESTILOS RESPONSIVE ACTUALIZADOS PARA VZO ABOGADOS
   CON MENÚ LATERAL EN MÓVILES Y ANIMACIÓN
----------------------------------------------*/

@media (max-width: 990px) {

  .contenido-casos {
    padding-top: 25% !important;
  }

  .carousel-img {
    width: 50%;
  }

  .titulo-casos-relevantes {
    margin-top: 0%;
    margin-bottom: 20px;
  }

  .titulo-videos {
    margin-top: 0%;
    margin-bottom: 20px;
  }

  .galeria-pdfs {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1rem;
  }

  .tarjeta-pdf img {
    height: 200px;
  }

  .modal-contenido {
    width: 95%;
    height: 80vh;
    border-radius: 8px;
  }

  .cerrar-modal {
    top: 5px;
    right: 10px;
    font-size: 1.8rem;
  }

  .menu-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* opcional para espaciado */
    list-style: none;
    padding: 0px;
    margin: 0;
  }

  /* FRANJA IMAGEN */
  .franja-imagen-carrusel {
    height: 250px;
    /* Altura menor para móviles */
    margin-top: -20px;
  }

  .carrusel-imagenes img {
    height: 100%;
    /* Asegura que cubra bien el contenedor */
  }

  .franja-imagen-carrusel .overlay {
    height: 100%;
    /* También debe adaptarse al nuevo alto */
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #00263E;
    cursor: pointer;
    z-index: 1101;
    /* Más alto para que esté encima */
  }

  .menu-nav {
    position: fixed;
    top: 0;
    right: 0;
    overflow-y: auto;
    /* Ponemos a 0 para facilitar animación */
    height: 100%;
    width: 260px;
    background: #ffffffeb;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 20px 20px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 1100;

    /* Empezamos oculto desplazado a la derecha */
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  /* Cuando está abierto, lo traemos a vista */
  .menu-nav.open {
    transform: translateX(0);
  }

  /* Fondo semitransparente para bloquear clics fuera */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1050;
    display: none;
    /* oculto por defecto */
  }

  .menu-overlay.active {
    display: block;
  }

  .menu-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 10px;
    margin: 0;
    text-align: left !important;
  }

  .menu-nav li {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .menu-nav a {
    display: block;
    width: 100%;
    color: #00263E;
    padding: 8px 0;
    text-decoration: none;
  }

  .menu-nav a:hover,
  .menu-nav a:focus {
    color: #0f2332;
    /* color hover más visible */
  }

  .equipo-grid {
    grid-template-columns: 1fr !important;
  }

  .miembro-equipo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-equipo {
    max-width: 100%;
  }

  .formacion-bloque,
  .caso {
    align-items: center;
  }

  .formacion-info,
  .formacion-imagen,
  .caso-info,
  .caso-imagen {
    width: 100%;
  }

  .texto-doble-columna {
    grid-template-columns: 1fr !important;
  }

  .carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .carousel-item {
    max-width: 90%;
  }

  .titulo,
  .titulo-casos,
  .titulo-formacion,
  .titulo-equipo {
    font-size: 1.5rem;
    text-align: center;
  }

  .logo {
    height: 60px;
  }

  .vzo-logo-grande {
    max-width: 200px;
  }

  /* noticias y publicaciones */
  .caso {
    display: flex;
    flex-wrap: inherit;
    align-items: flex-start;
  }

  .caso {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .caso {
    max-width: 100vw !important;
    /* clave */
    flex: 0 0 100vw;
    /* clave */
    box-sizing: border-box;
    padding: 10px;
  }

  .caso-info {
    width: 100%;
    padding: 10px 0;
  }

  .caso-info {
    flex: 1;
    max-width: 100%;
  }

  .casos-relevantes {
    padding: 0px;
    background-color: transparent;
  }

  .caso-imagen img {
    width: 90%;
    max-width: 300px;
    margin: auto;
    display: block;
  }

  .texto-doble-columna {
    display: block !important;
    /* eliminar columnas */
  }

  .numero-caso,
  .subtitulo-caso,
  .titulo-extra,
  .parrafo-extra {
    text-align: center;
  }

  .formacion-continua {
    padding: 0px 40px;
    background-color: transparent;
  }

  .titulo-formacion {
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a40;
    margin-bottom: 0px;
  }

  .formacion-info {
    min-width: 200px;
    flex-direction: column;
    align-items: center;
    /* Esto centra todo horizontalmente */
    text-align: center;
  }

  .formacion-imagen img {
    width: 90%;
    border-radius: 8px;
    object-fit: cover;
  }

  .titulo-extra {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a1a40;
    margin-bottom: 10px;
    text-align: center;
    /* 👈 esto es lo que faltaba */
    align-self: flex-start;
    /* 👈 opcional para reforzar en flex container */
  }

  .menu-nav li {
    padding: 0 10px;
    border-left: none !important;
  }

  .bloque-abogado,
  .bloque-abogado.invertido {
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    gap: 0px !important;
  }

  .bloque-abogado.invertido .texto-abogado {
    align-items: initial;
  }

  .foto-abogado {
    width: 90%;
    max-width: 320px;
    margin-bottom: 20px;
  }

  .texto-abogado {
    padding: 0 15px;
    text-align: center !important;
  }

  .texto-abogado h2,
  .texto-abogado h3,
  .texto-abogado h4,
  .texto-abogado p {
    margin-bottom: 10px;
    text-align: center !important;
  }

  .titulo-equipo {
    text-transform: uppercase;
    font-size: 2rem;
    text-align: center;
    margin: 30px 0;
  }

  .titulo-casos {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center !important;
    color: #1a1a40;
    margin-top: 0px;
    /* ← Aquí bajamos más el título */
    margin-bottom: 0px !important;
  }

  .contenido-perfil {
    padding: 0px 0px;
    max-width: 1200px;
    margin: auto;
    margin-top: 40px;
  }

  .titulo-perfil {
    font-size: 2rem;
    color: #1a1a40;
    font-weight: bold;
    margin-bottom: 0;
  }

  .subtitulo-perfil {
    font-size: 1rem;
    color: #1a1a40;
    margin-bottom: 30px;
  }

  .perfil-info {
    min-width: 0px;
  }

  .perfil-info h2,
  .perfil-info h3 {
    color: #1a1a40;
    text-align: center;
    padding-bottom: 20px;
  }

  .perfil-info p {
    font-size: 13.5px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
  }

  .perfil-info ul {
    font-size: 13.5px;
    margin-left: 20px;
    list-style-type: disc;
  }

  .vzo-panel {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0px 20px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .perfil-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    align-items: flex-start;
  }

  .formacion-bloque.slide {
    flex-direction: column-reverse;
  }

  .formacion-imagen {
    padding: 0px;
    margin-bottom: 1rem;
  }

  .formacion-imagen img {
    height: auto;
    border-radius: 8px;
    margin-top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .formacion-info {
    padding: 1rem 1.5rem;
  }

  .nombre-clase {
    font-size: 1.4rem;
    text-align: center;
  }

  .subtitulo-clase {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .texto-doble-columna {
    columns: 1;
    column-gap: 0;
  }

  .texto-doble-columna p,
  .parrafo-extra {
    text-align: justify;
    font-size: 0.95rem;
  }

  .titulo-extra {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
  }

  /* Carousel */

  .carousel-button {
    display: none;
  }

  .carousel-main {
    flex-direction: column;
  }

  .carousel-image {
    width: 100%;
    max-height: none;
  }

  .carousel-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .carousel-content {
    padding: 0;
  }

  .carousel-image {
    width: 100%;
  }

  .carousel-button.left,
  .carousel-button.right {
    top: unset;
    bottom: -20px;
    transform: none;
    position: relative;
    margin: 10px;
  }

  .carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Carousel Casos */

  .carousel-casos-button {
    display: none;
  }

  .carousel-casos-main {
    flex-direction: column;
  }

  .carousel-casos-image {
    width: 100%;
    max-height: none;
    order: 0;
  }

  .carousel-casos-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .carousel-casos-button.left,
  .carousel-casos-button.right {
    top: unset;
    bottom: -20px;
    transform: none;
    position: relative;
    margin: 10px;
  }

  .carousel-casos-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .franja-carrusel {
    width: 100%;
    max-height: 200px;
    margin-bottom: 10px;
    border-radius: 8px;
  }

  .carousel-casos-content {
    width: 100%;
    padding: 10px 0;
  }

  .carousel-casos-image {
    height: auto;
    max-height: 200px;
  }

  .franja-carrusel .overlay-casos {
    height: 100%;
    width: 100%;
  }

  .carousel-casos-main {
    flex-direction: column;
  }

  /* VIDEOS */

  .titulo-caso-principal {
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .video-casos {
    padding: 10px 20px;
  }

  .videos-container {
    flex-direction: column;
    justify-content: center;
  }

  .video-item {
    width: 100%;
  }
}