*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'arial', sans-serif;


}

/*Cabecera*/
.top-bar {
    background-color:#C58B4E ; /* El azul oscuro de tu imagen */
    color: white;
    padding: 8px 0;
    font-size: 15px;
    width: 100%;
    position: fixed; /* Esto la deja fija arriba */
    top: 0;
    left: 0;
    z-index: 1000; /* Para que siempre esté por encima de todo */
}

.top-bar-content {
    display: flex;
    justify-content: space-between; /* Separa los datos del eslogan */
    margin: 0 auto;
    padding: 0 20px;
}



/* IMPORTANTE: Ajuste para el resto de la página */
body {
    padding-top: 40px; /* Evita que la barra tape el inicio de tu página */
}

/* Responsivo: En cel que se vea ordenado */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    .slogan {
        display: none; /* Opcional: ocultar eslogan en cel para ahorrar espacio */
    }
}
.contenedor-empresa {
  display: flex; /* Alinea los hijos en línea */
  align-items: flex-start; /* Alinea al tope superior */
  gap: 30px; /* Espacio de separación entre imagen y texto */
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.columna-imagen {
  flex: 1; /* Ocupa una parte del espacio */
}

.columna-imagen img {
  width: 100%; /* La imagen se ajusta al ancho de su columna */
  height: auto;
  border: 1px solid #ccc; /* El marco gris que se ve en tu captura */
}

.columna-texto {
  flex: 2; /* El texto ocupa el doble de espacio que la imagen */
}

/* Ajuste para celulares (uno arriba del otro) */
@media (max-width: 768px) {
  .contenedor-empresa {
    flex-direction: column;
  }
}

body{
    line-height: 1.6;
}
header{
    box-shadow: 0 2px 5x rgba(0, 0, 0,0.1);
    }

    
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color:#f6f6f6;
    

}
.nav-links{
    display: flex;
    list-style: none;
    gap: 2rem;
    color: #f6f6f6;
    font-weight: var(--bg-gray);
    
    

}

/*Quienes somosPT2-------------------*/
.acordion-hover {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Encabezado */
.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 4px solid #ffffff;
    padding: 15px 25px;
    background-color: #000033;
    transition: background-color 0.3s;
}
/* Texto*/
.header-box h2 {
    
    font-size: 22px;
    color: #ffffff ;
    letter-spacing: 2px;
}

/* Caja de Contenido Oculta */
.content-box {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .5s ease; /*Velocidade de cambio*/
    padding: 0 25px;
}

.content-box p {
    line-height: 1.6;
    color: #444;
}

/* --- EFECTO AL PASAR EL CURSOR --- */

.acordion-hover:hover .content-box {
    max-height: 600px;
    opacity: 1;
    padding: 20px 25px;
}

/* Opcional: Cambia el color del header al pasar el cursor */
.acordion-hover:hover .header-box {
    background-color: #C58B4E;
}

/* Rotación de la flecha */
.acordion-hover:hover .arrow {
    transform: rotate(180deg);
}

.arrow {
    transition: transform 0.4s;
    font-size: 14px;
    color: white;
}
/*Deslice*/
nav {
    display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        max-width: 1400px;
        margin: 0 auto;
        background-color:white ;
    position: sticky; 
    top: 0;          
    z-index: 1000;   
    background-color: #000022; 
}

a {
    text-decoration: none; 
    color: inherit;       
}
.squad:hover{
    background-color: #f6f6f6;
    color: black;
    font-weight: bold;
    padding: 1rem 2rem;
    cursor: pointer;
    margin-top: 1rem;
    

}
.hero {
    min-height: 100vh;
    /* Ajustamos el fondo para que empiece desde arriba */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.2)), url('img/LogoFinal.jpeg'); /*Arriba-Abajo opaco*/
    background-size:contain;
    background-position: left; /* Posicion logo */
    background-repeat: no-repeat;
    display: flex;
    flex-direction:column;
    justify-content:left; /* <--- Esto mueve el contenido hacia arriba */
    align-items: center;
    text-align: right;
    color: white;
    
    /* Controla qué tan arriba quieres el texto con este valor */
    padding-top: 190px; /*Arriba o abajo*/
    padding-left: 30rem; /*Derecha*/
    padding-right: 1rem; /*izquierda*/
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/*Gaceta*/
.hero_2 {
    min-height: 40vh;
    /* Ajustamos el fondo para que empiece desde arriba */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/Gaceta.jpeg');
    background-size: cover;
    background-position: center top; /* Asegura que el logo empiece arriba */
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* <--- Esto mueve el contenido hacia arriba */
    align-items: center;
    text-align: center;
    color: white;
    
    /* Controla qué tan arriba quieres el texto con este valor */
    padding-top: 100px; 
    padding-left: 1rem;
    padding-right: 1rem;
}
.hero-content_2 h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
/*Servicios*/
.hero_3 {
    min-height: 40vh;
    /* Ajustamos el fondo para que empiece desde arriba */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/servicios.jpg');
    background-size: cover;
    background-position: center top; /* Asegura que el logo empiece arriba */
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* <--- Esto mueve el contenido hacia arriba */
    align-items: center;
    text-align: center;
    color: white;
    
    /* Controla qué tan arriba quieres el texto con este valor */
    padding-top: 100px; 
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-content_3 h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
/*Historias*/
.hero_4 {
    min-height: 40vh;
    /* Ajustamos el fondo para que empiece desde arriba */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/historias.jpg');
    background-size: cover;
    background-position: center top; /* Asegura que el logo empiece arriba */
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* <--- Esto mueve el contenido hacia arriba */
    align-items: center;
    text-align: center;
    color: white;
    
    /* Controla qué tan arriba quieres el texto con este valor */
    padding-top: 100px; 
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-content_4 h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.btn-cita {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #000033; /* Color oscuro de tu logo */
    color: white;
    text-decoration: none;
    border: 1px solid white;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-cita:hover {
    background-color: #C58B4E;
    color: white;
}

#inicio{
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

/*Quienes somos*/
.quienes-somos-v2 {
    max-width: 1000px;
    margin: 60px auto; /* Espacio arriba y abajo */
    padding: 40px;
    background-color: #ddd;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra muy sutil */
    text-align: center; /* Centramos el logo y título */
}

.logo-central {
    max-width: 350px; /* Ajusta según prefieras el tamaño */
    height: auto;
    margin-bottom: 40px;
}

.titulo-qs {
    color: #003049;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.linea-decorativa {
    width: 50px;
    height: 4px;
    background-color: #28a745; /* El verde de tu marca */
    margin: 0 auto 30px; /* Centrada */
}

.text-container {
    max-width: 800px; /* Para que el texto no sea tan largo horizontalmente */
    margin: 0 auto;
    text-align: left; /* El texto se lee mejor alineado a la izquierda */
}

.parrafo-qs {
    line-height: 1.8; /* Más espacio entre líneas = más fácil de leer */
    color: #333;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.parrafo-qs strong {
    color: #003049;
}
#inicio h2{
    text-align: left;
    margin-bottom: 2rem;
}
#abogados{
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}
#abogados h2{
    text-align: center;
    margin-bottom: 2rem;
}

.abogados-grid{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}

.propiedad-card{
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0,0.1);
}

.propiedad-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
/*Despues de conteos*/
/* Variables de color */
:root {
    --azul: #003049;
    --verde: #28a745;
    --gris-fondo: #f8f9fa;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Estilos Especialidades */
.especialidades { padding: 80px 0; background: var(--gris-fondo); }
.main-title { text-align: center; color: var(--azul); font-size: 2.5rem; margin-bottom: 10px; }
.main-subtitle { text-align: center; color: #666; margin-bottom: 50px; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    border-top: 6px solid var(--verde);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

.card-header i { font-size: 2rem; color: var(--verde); margin-bottom: 15px; display: block; }
.card-header h3 { color: var(--azul); margin-bottom: 20px; }

.card-body h4 { color: var(--verde); font-size: 0.9rem; margin-top: 15px; text-transform: uppercase; }
.card-body ul { list-style: none; padding: 0; margin-bottom: 20px; }
.card-body li { padding: 5px 0; color: #555; font-size: 0.95rem; display: flex; align-items: center; }
.card-body li::before { content: "✓"; color: var(--verde); margin-right: 10px; font-weight: bold; }

.btn-card {
    margin-top: auto;
    background: var(--azul);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn-card:hover { background: var(--verde); }

/* Estilos Valores */
.valores { padding: 60px 0; background: white; }
.valores-grid { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }

.valor-item { flex: 1; min-width: 250px; text-align: center; padding: 20px; }

.icon-circle {
    width: 80px;
    height: 80px;
    background: #ccff00; /* Amarillo/Verde brillante */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--azul);
    box-shadow: 0 5px 15px rgba(204, 255, 0, 0.3);
}

.valor-item h3 { color: var(--azul); font-size: 1.1rem; margin-bottom: 15px; }
.valor-item p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* Contenedor de las 3 columnas */
.columnas-container {
    display: flex;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.columna {
    flex: 1;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

/* Quitar el borde derecho a la última columna */
.columna:last-child {
    border-right: none;
}

/* Títulos de las columnas */
.columna-titulo {
    text-align: center;
    font-size: 1.1rem;
    padding: 15px 5px;
    margin: 0;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

/* Caja de texto */
.columna-texto {
    padding: 30px 20px;
    text-align: center;
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

.columna-texto p {
    margin-bottom: 15px;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .columnas-container {
        flex-direction: column;
    }
    .columna {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}
/* SECCIÓN */
.empresa {
   display: flex;
    justify-content: space-between;
    padding: 50px;

    
}
.contenido {
    
    width: 50%;
    text-align: left;
    padding: 1px;
}

.contenido h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contenido h3 {
    font-style: italic;
    font-weight: normal;
    margin-bottom: 20px;
}

.contenido p {
    color: #444;
    line-height: 1.6;
}
/* CUADRO IMAGEN */
.imagen {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder {
    width: 250px;
    height: 250px;
    border: 2px solid #555;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Numeros conteo*/
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #001233; /*azul contenedor */
    padding: 50px 20px;
    margin-top: 40px;
    border-top: 4px solid #C58B4E; /* linea diseño */
}

.stat-item {
    text-align: center;
    color: white;
    flex: 1;
    min-width: 200px;
    margin: 20px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color:#C58B4E; /* numeros*/
}

.stat-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.2rem;
    }
}
/* SECCIÓN GENERAL */
.info {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    background: #fff;
}

/* IZQUIERDA */
:root {
  --primary-color: #2563eb;
  --text-dark: #1f2937;
  --bg-light: #f3f4f6;
}

.features-section {
  padding: 4rem 2rem;
  background-color: var(--bg-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Contenedor principal con Flexbox */
.features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

/* Estilo base de las tarjetas */
.feature-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Tamaños proporcionales */
.large {
  flex: 1 1 calc(50% - 20px); /* Ocupa la mitad */
  min-height: 300px;
}

.small {
  flex: 1 1 calc(50% - 20px); /* Ocupa la mitad, pero más cortos */
  padding: 2rem;
  border-bottom: 4px solid var(--primary-color);
}

/* Imágenes y Overlays */
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  width: 100%;
  padding: 20px;
  text-align: left;
}

/* Adaptabilidad para móviles */
@media (max-width: 768px) {
  .large, .small {
    flex: 1 1 100%; /* En móviles, todos ocupan el ancho total */
  }
}

/* DERECHA */
.mision-vision {
    width: 45%;
}

.bloque {
    margin-bottom: 20px;
}

.bloque h4 {
    margin-bottom: 5px;
}

/* SLIDER */
.slider {
    margin-top: 20px;
}

.slide-box {
    height: 120px;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DOTS */
.dots {
    margin-top: 10px;
    text-align: center;
}

.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    margin: 0 3px;
}
/*Derecha*/
/* Layout General */
.features-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.right-column {
  flex: 1;
  text-align: left;
}

/* Pestañas (Misión/Visión) */
.tabs-container {
  margin-bottom: 30px;
}

.tab-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.tab-btn.active {
  background-color: #00001f;
    color: #f6f6f6;
    font-weight: bold;
    padding: 1rem 2rem;
    cursor: pointer;
    margin-top: 1rem;
}

.tab-content {
  display: none;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* Reconocimientos */
.slides-container {
  position: relative;
  min-height: 120px; /* Ajusta según tu texto */
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  text-align: center;
  width: 100%;
}

.slide.active {
  opacity: 1;
  position: relative; /* Para que ocupe espacio cuando está activo */
}

.slide .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

/* Estilo para que los puntos cambien visualmente */
.dot {
  transition: background-color 0.3s ease;
}
/*Botons de regreso*/
#btn-top {
  display: none; /* Se oculta por defecto */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background: linear-gradient(#00001f);
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 15px #00001f;
  transition: transform 0.3s, opacity 0.3s;
}
/*Eleve el circulo*/
#btn-top:hover {
  transform: scale(1.2) translateY(-8px);
  background: linear-gradient(#00001f);
}

/* Animación simple de aparición */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity:51; }
}

/*Pagina especialistas*/

:root {
  --primary-red: #d32f2f;
  --text-dark: #333;
  --bg-light: #f9f9f9;
}

.team-section {
  padding: 60px 20px;
  background-color: var(--bg-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
 /* Columnas*/
.team-grid {
  display: grid;
 
  grid-template-columns: repeat(3, 1fr); 
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.lawyer-card {
   background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5));
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-top: 5px solid #00001f; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: #f4f4f4;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;

}
.foto-circular-contenedor {
  width: 950px;       /* Ajusta el tamaño del círculo */
  height: 100px;
  margin: 30px auto 10px; /* Centra el círculo y da espacio */
  border-radius: 70%; /* Esto crea el círculo */
  overflow: hidden;   /* Corta lo que se salga del círculo */
  background-color: #eee;    /* Fondo gris por si la imagen tarda en cargar */
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-perfil {
  width: auto;
  height: 140%;
  object-fit: cover;   /* IMPORTANTE: Mantiene la proporción sin estirar */
  object-position: top; /* Centra la cara si la foto es alta */
}



/* Estilo para que se vea bien en móviles */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr; /* 1 columna en celulares */
  }
}
/*Servicios*/
:root {
  --rojo:#00001f;
  --oscuro: #1a252f;
  --gris: #f8f9fa;
}

.servicios-contadores {
  padding: 60px 20px;
  background: white;
  font-family: 'Segoe UI', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-seccion {
  text-align: center;
  margin-bottom: 50px;
}

.intro-seccion h2 {
  font-size: 2.5rem;
  color: var(--oscuro);
}

/* Grid de Servicios */
.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.servicio-card {
  padding: 30px;
  background: var(--gris);
  border-radius: 12px;
  transition: 0.3s;
  border-bottom: 4px solid transparent;
}

.servicio-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-bottom: 4px solid var(--rojo);
  transform: translateY(-5px);
}

.servicio-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.servicio-card h3 {
  color: var(--oscuro);
  margin-bottom: 10px;
}

/* Sección Roja de Proceso */
.proceso-moderno {
  background: var(--rojo);
  border-radius: 20px;
  padding: 50px 30px;
  color: white;
  text-align: center;
}

.pasos-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.paso-item {
  flex: 1;
  min-width: 150px;
}

.num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  opacity: 0.5;
}

.arrow {
  font-size: 1.5rem;
  opacity: 0.3;
}

.btn-rojo {
  background: white;
  color: var(--rojo);
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  transition: 0.3s;
}

.btn-rojo:hover {
  background: var(--oscuro);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .pasos-wrapper { flex-direction: column; gap: 20px; }
  .arrow { display: none; }
}

/*Historias*/
.testimonios-section {
  padding: 80px 20px;
  background-color: #fcfcfc;
  text-align: center;
}

.titulo-testimonios {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.testimonio-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid #eee;
  text-align: left;
}

.testimonio-card:hover {
  transform: translateY(-5px);
  border-color: #00001f;
}

.comilla {
  font-size: 4rem;
  color:#00001f;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.2;
}

.texto-testimonio {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.cliente-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar-mini {
  width: 45px;
  height: 45px;
  background: #2c3e50;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.nombre {
  display: block;
  font-weight: bold;
  color: #2c3e50;
}

.empresa {
  display: block;
  font-size: 0.8rem;
  color: #00001f;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Botón Final */
.btn-agenda-final {
  display: inline-block;
  background: #00001f;
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px #00001f;
  transition: 0.3s;
}

.btn-agenda-final:hover {
  background:#00001f;
  transform: scale(1.05);
}

/*Contacto*/
.contacto {
    padding: 50px 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.contenedor-contacto {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

/* Columnas */
.columna-info, .columna-form {
    flex: 1;
}

.columna-info h3, .columna-form h3 {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Mapa e Imagen */
.mapa {
    width: 100%;
    max-width: 400px; /* Ajusta el ancho para que combine con tu texto */
    border: 2px solid #ddd; /* El marco gris que tienes en tu diseño */
    border-radius: 8px; /* Bordes redondeados */
    overflow: hidden; /* Para que el mapa respete las esquinas redondeadas */
    line-height: 0; /* Quita espacios extra debajo del mapa */
    margin-bottom: 15px;
}

.mapa iframe {
    width: 100%; /* Se adapta al contenedor */
    display: block;
}

.direccion {
    font-size: 0.9rem;
    margin: 15px 0;
}

/* Redes Sociales */
.iconos {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

/* Formulario */
.fila-input {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.grupo {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grupo label {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

input, select, textarea {
    padding: 8px;
    border: 1px solid #333;
    border-radius: 4px;
}

textarea {
    height: 80px;
    resize: none;
}

/* Botón Enviar */
.btn-enviar {
    margin-top: 15px;
    background-color: red;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px #990000;
}

.btn-enviar:active {
    box-shadow: 0 2px #990000;
    transform: translateY(2px);
}

/* Responsive para celulares */
@media (max-width: 768px) {
    .contenedor-contacto {
        flex-direction: column;
    }
    .fila-input {
        flex-direction: column;
    }
}

/*Gaceta*/
:root {
    --dark-blue: #050a1f; /* Color del header de GEMAR */
    --light-blue: #337ab7;
    --bg-gray: #f8f9fa;
    --text-dark: #333;
}

.site-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.table-header {
    text-align: center;
    margin-bottom: 30px;
}

.table-header h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 5px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Estilo de la Tabla */
.table-wrapper {
    flex: 2;
    min-width: 300px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.custom-table thead th {
    background-color: var(--dark-blue); /* Mismo azul que tu menú */
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 1.1rem;
}

.custom-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.alt-row {
    background-color: #f1f4f9;
}

.red-text {
    color: #e63946;
}

/* Estilo de la Barra Lateral */
.info-sidebar {
    flex: 1;
    min-width: 250px;
}

.sidebar-card {
    background: var(--bg-light);
    color:#050a1f;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    border-left: 5px solid #00001f; /* El detalle rojo de la imagen */
}

.sidebar-card h3 {
    margin-top: 0;
    color: #00001f;
    font-size: 1.2rem;
}

.questions-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.questions-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}

.questions-list li:last-child {
    border-bottom: none;
}

/* Responsivo */
@media (max-width: 768px) {
    .grid-container {
        flex-direction: column;
    }
}
/*Gaceta2*/
.vs-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vs-title {
    text-align: center;
    margin-bottom: 40px;
}

.vs-title h2 {
    font-size: 2.2rem;
    color: #050a1f; /* Azul GEMAR */
    margin-bottom: 10px;
}

.vs-title h2 span {
    color: #2e7d32; /* Verde para el VS */
}

.badge {
    background-color: #435b71;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Grid Layout */
.vs-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    gap: 20px 10px;
}

.vs-card {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #444;
}

.vs-card strong {
    color: #000;
}

/* Estilo de los círculos con números */
.vs-number {
    background-color: #050a1f; /* Azul oscuro */
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    justify-self: center;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #050a1f;
}

/* Ajustes para móviles */
@media (max-width: 600px) {
    .vs-grid {
        grid-template-columns: 1fr;
    }
    .vs-number {
        grid-row: span 1;
        margin: 10px auto;
    }
    .card-left { order: 1; }
    .vs-number { order: 2; }
    .card-right { order: 3; }
}
/*Gaceta3*/
:root {
    --gemar-blue: #050a1f;
    --gemar-green: #2e7d32;
    --soft-green: #e8f5e9;
    --text-gray: #4a4a4a;
}

.retencion-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.info-box h3 {
    color: var(--gemar-blue);
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: var(--gemar-green);
    font-weight: bold;
    margin-bottom: 25px;
}

.legal-text {
    background-color: var(--soft-green);
    border-left: 5px solid var(--gemar-green);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 40px;
    color: var(--gemar-blue);
    line-height: 1.6;
}

/* Contenedor de la tabla y la tarjeta lateral */
.calculator-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center;
}

.table-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background-color: var(--gemar-blue);
    color: white;
    padding: 15px;
    text-align: center;
}

td {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-gray);
}

.amount {
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

.subtotal-row {
    background-color: #fafafa;
    font-weight: bold;
}

/* Resaltado de la Retención en Verde */
.highlight-retencion {
    background-color: var(--soft-green);
    color: var(--gemar-green) !important;
}

.highlight-retencion td {
    color: var(--gemar-green);
    font-weight: bold;
}

.arrow {
    font-size: 1.2rem;
    margin-left: 10px;
}

.total-row {
    font-size: 1.1rem;
    background-color: var(--gemar-blue);
}

.total-row td {
    color: white;
    padding: 18px 20px;
}

/* Tarjeta de acento lateral */
.accent-card {
    background: linear-gradient(135deg, var(--gemar-blue) 0%, #1a2a4a 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gemar-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Responsivo */
@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}
/*Banner copi*/
.footer-principal {
    background-color: #001d2d; /* Un azul un poco más oscuro que el header para dar profundidad */
    color: white;
    padding: 60px 0 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px 40px 20px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #C58B4E; /* El verde de tu marca para resaltar títulos */
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #28a745;
}

.redes-sociales i {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: transform 0.3s;
}

.redes-sociales i:hover {
    transform: scale(1.2);
}

.legal-links {
    margin-top: 20px;
    font-size: 0.85rem;
}

/* Franja Final de Copyright */
.footer-bottom {
    background-color: #00121d;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: whitesmoke;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* --- SECCIÓN CONTACTO PREMIUM --- */
.contacto-section {
  background-color: #f4f6f9; /* Fondo gris claro sutil para hacer contraste */
  padding: 60px 20px;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.contacto-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Mapa a la izquierda, formulario ligeramente más ancho */
  gap: 35px;
}

/* Tarjetas Blancas Estilo Bento Box */
.contacto-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* Títulos con Línea de Acento Marca */
.contacto-card h2 {
  color: #000c2c; /* El azul oscuro de tu header */
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 5px;
  font-weight: 700;
}

.contacto-card h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: #d97724; /* Color naranja/ladrillo identitario */
  margin-top: 10px;
  border-radius: 2px;
}

.subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 15px;
  margin-bottom: 30px;
}

/* Contenedor e Instructivos del Mapa */
.mapa-wrapper {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.direccion {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Redes Sociales del Bloque Mapa */
.redes h4 {
  color: #000c2c;
  margin-bottom: 12px;
  font-size: 1rem;
}

.iconos {
  display: flex;
  gap: 12px;
}

.iconos a {
  width: 38px;
  height: 38px;
  background-color: #f1f5f9;
  color: #000c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.iconos a:hover {
  background-color: #d97724;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Grid del Formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

/* Labels e Inputs */
.form-group label {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc; /* Un fondo sutilmente gris dentro del input */
  color: #1e293b;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Efectos al dar click en los campos */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #d97724;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 119, 36, 0.15);
}

/* Botón Enviar Naranja Corporativo */
.btn-enviar {
  background-color: #d97724;
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(217, 119, 36, 0.2);
}

.btn-enviar:hover {
  background-color: #be6217;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 36, 0.3);
}

.btn-enviar i {
  font-size: 0.9rem;
}

/* Ajustes Responsivos (Móviles y Tablets) */
@media (max-width: 900px) {
  .contacto-container {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}
/* ==========================================================================
   📱 RESPONSIVE TOTAL PARA TODO EL SITIO (Pantallas menores a 768px)
   ========================================================================== */
@media (max-width: 768px) {
  
  /* 1. ESTRUCTURA GLOBAL */
  body {
    overflow-x: hidden; /* Evita que la página baile hacia los lados en celular */
  }

/* 2. BARRA SUPERIOR (Top Bar) - REFORZADO PARA IMAGEN_9.PNG */
  .top-bar {
    width: 100% !important;
    height: auto !important;
    padding: 10px 0 !important;
  }

  .top-bar-content {
    flex-direction: column !important; /* Fuerza a que el eslogan vaya abajo */
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .contact-info {
    flex-direction: column !important; /* 🚨 ESTO ARREGLA EL CORTE: Pone el teléfono arriba y el correo abajo */
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .contact-info span {
    font-size: 13px !important;
    white-space: nowrap !important; /* Evita que se rompa a la mitad un solo dato */
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .slogan {
    font-size: 11px !important;
    text-align: center !important;
    width: 100% !important;
    line-height: 1.3 !important;
  }

  /* 3. MENÚ DE NAVEGACIÓN (Navbar) - REFORZADO */
  .navbar {
    flex-direction: column !important; /* Logo arriba, enlaces abajo */
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
  }

  .nav-links {
    display: flex !important;
    flex-wrap: wrap !important; /* Permite que los enlaces bajen si no caben */
    justify-content: center !important;
    align-items: center !important;
    gap: 10px 15px !important; /* Espacio vertical y horizontal entre botones */
    width: 100% !important;
    padding: 0 !important;
    margin: 10px 0 0 0 !important; /* Separa los enlaces del logo GEMAR */
    list-style: none !important;
  }

  .nav-links li {
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-links a {
    font-size: 14px !important;
    display: inline-block !important;
    padding: 6px 10px !important; /* Hace los botones más fáciles de tocar */
  
  }

  /* 4. SECCIÓN HÉROE (Hero) */
  .hero {
    padding: 60px 20px;       /* Ajustamos altura para pantallas táctiles */
  }
  .hero h1 {
    font-size: 28px;          /* Título más chico para que no se rompa */
  }
  .hero p {
    font-size: 16px;
  }

  /* 5. SECCIÓN ¿QUIÉNES SOMOS? (Tabs) */
  .quienes-somos-v2 {
    padding: 40px 15px;       /* Reducimos espacios laterales */
  }
  .tab-buttons {
    flex-direction: column;   /* Los botones de las pestañas se apilan verticalmente */
    width: 100%;
    gap: 5px;
  }
  .tab-btn {
    width: 100%;              /* Cada botón abarca todo el ancho del celular */
    text-align: center;
    padding: 12px;
  }
  .tab-content {
    padding: 20px 10px;       /* Ajuste de lectura interna */
  }

  /* 6. SECCIÓN CONTADORES ACTUALIZADOS (Valores Grid) */
  .valores {
    padding: 40px 15px;
  }
  .valores-grid {
    display: flex;
    flex-direction: column;   /* Cambia el grid de 3 columnas a 1 sola columna vertical */
    gap: 30px;                /* Espacio uniforme entre tarjeta y tarjeta */
  }
  .valor-item {
    width: 100%;
    padding: 20px;
  }
  .escudo-wrap {
    font-size: 60px;          /* Iconos un poquito más pequeños y estéticos */
    width: 80px;
    height: 80px;
  }

  /* 7. SECCIÓN ¿POR QUÉ ELEGIRNOS? (Bento Grid / Features) */
  .features-section {
    padding: 40px 15px;
  }
  .features-section .title {
    font-size: 26px;          /* Ajuste del título principal */
    margin-bottom: 25px;
  }
  .features-container {
    display: flex;
    flex-direction: column;   /* Cambia las tarjetas anchas/cuadradas a una sola fila hacia abajo */
    gap: 20px;
  }
  .feature-card.large {
    width: 100% !important;   /* Obliga a cada tarjeta a usar el 100% del ancho del móvil */
    height: 220px !important; /* Altura fija idónea para que las imágenes luzcan premium */
  }
  .feature-card img {
    object-fit: cover;        /* Evita que las fotos de atención, experiencia, etc., se distorsionen */
  }

  /* 8. SECCIÓN ESTADÍSTICAS (Numeración animada) */
  .stats-container {
    flex-direction: column;   /* Los 3 contadores se apilan uno abajo del otro */
    gap: 35px;
    padding: 40px 20px;
  }
  .stat-item {
    width: 100%;
  }
  .stat-number {
    font-size: 40px;          /* Números ligeramente más chicos para que quepan holgados */
  }

  /* 9. CARRUSEL DE RECONOCIMIENTOS */
  .achievements-carousel-section {
    padding: 40px 0 !important; /* Quitamos paddings excesivos */
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important; /* Evita fugas visuales hacia los lados */
    box-sizing: border-box !important;
  }

  .carousel-title-wrapper {
    padding: 0 20px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .carousel-title-wrapper h2 {
    font-size: 24px !important;
    white-space: normal !important; /* Obliga al título a saltar de línea en vez de cortarse */
    margin-bottom: 8px !important;
  }

  .carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .carousel-track-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 0 !important; /* Espacio controlado para la sombra */
    overflow: hidden !important;
  }

  /* Forzamos a que el riel de JS no estire la pantalla del móvil */
  .carousel-track {
    display: flex !important;
    width: 100% !important;
  }

  .carousel-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 320px !important;
    padding: 0 15px !important; /* Espacio para que respire a los lados del cel */
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* 🚨 EL PRINCIPAL CULPABLE: Forzamos el marco a encogerse al tamaño del teléfono */
  .diploma-frame {
    width: 100% !important;
    max-width: 100% !important; /* Impide que mida 700px en pantallas chicas */
    height: 220px !important;    /* Altura adaptada para pantallas móviles */
    padding: 6px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Asegura que las imágenes se adapten de forma responsiva dentro de su caja */
  .diploma-frame img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* No deforma los logos ni las constancias */
  }

  .diploma-meta {
    margin-top: 12px !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* Ocultar flechas por completo */
  .nav-btn { 
    display: none !important; 
  }

  /* Ajustar los puntitos abajo */
  .carousel-dots {
    margin-top: 15px !important;
  }

  /* 10. FOOTER PRINCIPAL */
  .footer-container {
    flex-direction: column;   /* Apila las columnas (Logo, Enlaces, Redes) */
    text-align: center;       /* Centra todos los textos corporativos */
    gap: 35px;
    padding: 40px 20px;
  }
  .footer-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centra los elementos internos de cada columna */
  }
  .footer-col ul {
    padding: 0;
  }
  .gemar-iconos {
    justify-content: center;  /* Centra perfectamente los botones de tus redes */
  }
  .legal-links {
    margin-top: 15px;
  }
}
