:root {
    --color-primario: #1e253c;
    --color-secundario: #6d6e70;
    --color-secundario2:rgb(77, 78, 80)0;
    --color-texto: #cacacb;
    --color-texto-hover: #ffffff;
    --color-menu-mobile: #262626;
    --color-encabezado: #282e3f;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}       

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow_Condensed/BarlowCondensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

/* Global Styles */
body {
    font-family: sans-serif;   
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;  /* Correcto */
    top: 0; /* Fija en la parte superior */
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Estilos generales del icono de menú */
.menu-icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Espacio entre elementos */
    
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 9px; /* Espacio entre imagen y título */
}

.logo {
    height: 59px;
    width: auto;
}

.logo-title {
    letter-spacing: 1px;
    font-family: 'Barlow';
    font-size: 20px;
    font-weight: 700;
    color: var(--color-texto-hover);
    margin: 0;
    line-height: 1.2;
}

/* Estilos generales del logo */
.logo {
    display: block;
    max-width: 150px;
    height: auto;
}

/* Estilos responsivos para pantallas menores o iguales a 900px */
@media (max-width: 900px) {
    .logo-title {
        display: none;
    }
    img.logo{
        height:45px;
    }
    .header {
        display: flex;
        justify-content: center; /* Asegura que el logo esté centrado */
        position: relative;
    }
    
    .social-icons {
        display: none;
    }
    .legal-assistance {
        display: none;
    }
    .separator {
           display: none;
    }

    .menu-icon {
        position: absolute;
        left: 10px; /* Fija el menú en el lado izquierdo */
        top: 50%;
        transform: translateY(-50%);
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%); /* Centra el logo */
    }

}


.header-container {
    width: 100%;
    height: 92px;
    background-color: var(--color-primario);
    color: var(--color-texto-hover);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    box-sizing: border-box;
    position: relative;
    transition: height 0.3s ease;
    z-index: 1000; /* Asegura que el header esté sobre otros elementos */
}

.logo {
    height: 58px;
    max-width: 100%;
}

/* .social-icons {
    display: flex;
    gap: 10px;
} */

.legal-assistance {
    letter-spacing: 1px;
    text-align: center;
    font-family: Barlow;
    font-size: 1rem;
    font-weight: bolder;

    color: var(--color-texto-hover);
    width: 90%;
}

.separator {
    font-size: 1.5rem;
    font-weight: 100;
    color: var(--color-texto-hover);
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons a img {
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

/* Navigation Bar */
.menu-bar {
    position: fixed;
    top: 92px; /* Justo debajo del header-container */
    width: 100%;
    z-index: 999;
    height: 45px;
    background-color: var(--color-secundario);
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-texto);
    font-weight: bold;
    padding: 10px 15px;
    display: inline-block;
    transition: color 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

nav ul li a:hover {
    color: var(--color-texto-hover);
}

/* Animación elegante: línea debajo de los enlaces */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--color-texto-hover);
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}



/* Menú Responsivo */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--color-texto-hover);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu {
    position: fixed;
    left: 0;
    width: 100%;
    background-color: #191d29f0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    font-size: x-large;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    /* max-height: 51px; */
    /* width: 50%;
    height: 280px; */
}

.mobile-menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    MARGIN-BOTTOM: 14PX;
    text-align: LEFT;
    width: 50%;
    width: 180px;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    font-family: 'Barlow', sans-serif;
    color: var(--color-texto);
    font-size: 19px;
    text-decoration: none;
    /* font-weight: 500; */
    padding: 5px 25px;
    display: inline-block;
    transition: color 0.3s ease;
    width: max-content;
}

.mobile-menu ul li a:hover {
    color: var(--color-texto-hover);
}

/* Responsive Design */
@media (max-width: 900px) {
    .menu-bar {
        display: none;
    }

    .social-icons {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .header-container {
        height: 60px;
        position: relative;
        z-index: 1000; /* Asegura que el header esté sobre otros elementos */
    }
}

@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }
}


/* Línea fina debajo del menú */
.menu-divider {
    width: 90%;
    margin: 10px auto;
    border: 0;
    height: 1px;
    background-color: #ccc; /* Color gris claro */
}

/* Redes sociales debajo del menú responsivo */
.social-icons-responsive {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
    width: 100%;
}


.social-icons-responsive a img {
    width: 28px; /* Ajuste ligero en tamaño */
    height: auto;
    transition: transform 0.3s ease;
}

.social-icons-responsive a:hover img {
    transform: scale(1.1);
}

/* Asegurar alineación en móviles */
@media (max-width: 600px) {
    .social-icons-responsive {
        /* gap: 8px; */
        padding-top: 5px;
    }

    .social-icons-responsive a img {
        width: 24px;
    }
}

.menu-icon img {
    width: 30px;
    height: 30px;
    filter: invert(1); /* Invierte colores (blanco ↔ negro) */
    color: #ffffff;
}

.social-icons-responsive a img {
    width: 25px; /* Tamaño uniforme */
    height: 25px; /* Tamaño uniforme */
    object-fit: contain; /* Mantiene la proporción sin deformarse */
    transition: transform 0.3s ease;
}
.close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 15px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}


/* ==========================
   CARRUSEL ESTRUCTURA
========================== */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: 'Barlow', sans-serif;
}

.carousel-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%; /* Asegura que ocupe todo el ancho */
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100vh;
    /* Quitamos opacity para que la imagen siempre esté visible */
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Overlay elegante */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 20%, rgb(0 0 0 / 33%) 100%);
    z-index: 1;
}

/* ==========================
   TEXTO EN CARRUSEL
========================== */
.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 90%;
    max-width: 900px;
    padding: 20px;
    z-index: 2;
    opacity: 0;
    transition: all 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slide.active .carousel-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Animaciones */
.slide.active .carousel-text h2,
.slide.active .carousel-text p,
.slide.active .carousel-text .whatsapp-btn {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 1s ease forwards;
}

.slide.active .carousel-text h2 { animation-delay: 0.3s; }
.slide.active .carousel-text p { animation-delay: 0.6s; }
.slide.active .carousel-text .whatsapp-btn { animation-delay: 0.9s; }

.carousel-text h2 {
    font-size: 64px;
    margin: 0 0 -10px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 4px;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
}

.carousel-text p {
    font-size: 28px;
    font-weight: 600; /* Antes era 400, ahora más marcado */
    margin-top: 10px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    line-height: 1.4;
    color: #ffffff; /* Asegura buen contraste */
}


h2.mylove {
    margin-bottom: revert;
}
a.whatsapp-btn {
    font-family: 'Bebas Neue';
    font-weight: 100;
}





/* ==========================
   BOTÓN WHATSAPP
========================== */
.whatsapp-btn {
      text-transform: none !important;
    display: inline-block;
    padding: 9px 36px;
    background: linear-gradient(145deg, #a87c2f, #e0b84f); /* dorado cálido */
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px; /* menos redondeado */
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}


.whatsapp-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15); /* brillo sutil */
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.whatsapp-btn:hover::after {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
    background: linear-gradient(145deg, #c79e3a, #f4d96d); /* dorado más brillante al hover */
}



/* ==========================
   INDICADORES
========================== */
.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: white;
    transform: scale(1.3);
}

/* Animaciones */
@keyframes fadeInUp {
    from { transform: translateY(25px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
    .carousel-text h2 {
        font-size: 32px;
    }
    .carousel-text p {
        font-size: 21px;
        font-weight: 500;
    }
}
    .whatsapp-btn {
        font-size: 16px;
        padding: 10px 22px;
    }

@media (max-width: 468px) {
    .whatsapp-btn {
        border-radius: 5px;
        font-size: 15px;
        padding: 5px 22px;
    }
}







/* SERVICIOS JURIDICOS */
.servicios-juridicos {
    background-color: #f9f9f9;
    text-align: center;
    padding: 40px;
}

.areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-family: 'Barlow';
}

.area {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    width: calc(33.333% - 20px); /* 3 columnas en pantallas grandes */
    max-width: 250px;
    text-align: left;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
}

.area:hover {
    transform: scale(1.05);
}

.icono {
    width: 30px;
    height: 30px;
    flex-shrink: 0; /* Evita que el icono se reduzca */
}
.oculto {
    display: none;
}

#verMas {
    background: #d4af37;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
}

.servicio {
    font-family: 'Barlow';
    font-weight: 600;
    font-size: xxx-large;
    color: var(--color-encabezado);
}

span.oculto.txt {
    margin-top: -28px;
    margin-left: 40px;
}

span {
    color: var(--color-menu-mobile);
}

/* RESPONSIVE DESIGN */

/* DOS COLUMNAS EN PANTALLAS DE 664px O MENOS */
@media (max-width: 664px) {
    .servicio {
    font-size: xx-large;
    }
    .areas {
        flex-direction: column;
        align-items: center;
    }

    .area {
        width: 100%;
        /* text-align: center; */
        /* flex-direction: column;
        justify-content: center; */
        align-items: center;
        padding: 15px;
        gap: 10px;
    }


    .area span {
        display: block;
    }

}

@media (max-width: 420px) {
  .area.oculto {
    display: none;
  }

  .area.visible {
    display: flex;
  }
}








/* NOSOTROS */
.nosotros {
    background: url(../img/32.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;   /* Centrado horizontal */
    align-items: center;       /* Centrado vertical */
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.nosotros::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(2px);
}

.container {
    max-width: 950px;
    width: 100%;
    margin: 0 auto;  /* Centrado absoluto dentro del contenedor */
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Fuerza el centrado de todo el contenido */
}

.titulo {
    font-family: 'Barlow', serif;
    font-size: xxx-large;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 20px;
    margin-top: -40px;
    letter-spacing: 2px;
    /* text-transform: uppercase; */
    border-bottom: 2px solid #d4af37;
    /* display: inline-block; */
    padding-bottom: 5px;
}

.descripcion {
    font-family: 'Barlow', sans-serif;
    font-size: 1.5rem;
    margin: 0 auto 40px;
    color: #eaeaea;
    max-width: 800px;
    text-align: center;
}

/* Tarjetas de Misión y Visión */
.valores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* Asegura que queden centradas */
    gap: 30px;
    width: 100%;
}

.mision, .vision {
    backdrop-filter: blur(3px);
    font-family: 'Barlow', sans-serif;
    flex: 1 1 400px;
    max-width: 450px;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s 
ease, box-shadow 0.3s 
ease;
}

.mision:hover, .vision:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: #d4af37;
}

.mision h3, .vision h3 {
   font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #d4af37;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
}

.mision p, .vision p {
    line-height: 1.6;
    font-size: 1.2rem;
    color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .titulo {
        margin-top: auto;
        font-size: 2.2rem;
    }
    .descripcion {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: auto;
    }
    .mision h3, .vision h3 {
        font-size: 1.4rem;
    }
    .mision p, .vision p {
        font-size: 1rem;
    }
    .valores {
        gap: 20px;
    }
}


/* UBICACION */
.seccion-legal {
    padding: 1.5rem 1.5rem 2rem 1.5rem; /* Menos padding arriba, un poco más abajo */
    background-color: #282e3f;
    text-align: center;
    color: #f1f1f1;
    font-family: 'Barlow', sans-serif;
  }
  
  .legal-titulo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff;
  }
  
  .legal-subtitulo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #dcdcdc;
  }
  
  .legal-direccion {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #b0b0b0;
  }
  
  /* Mapa con estilo elegante */
  .mapa-container {
    position: relative;
    width: 100%;
    max-width: 60rem;
    height: 19rem;
    margin: 0 auto 2.5rem auto;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  }
  
  .mapa-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }
  
  /* Botón limpio y elegante */
  .btn-contacto {
   display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    background: #d4af37;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-family: arial;
    font-size: 13.12px;
  }


/* ESTILO BASE para pantallas grandes (4 columnas fijas) */
.seccion-estadisticas {
    display: flex;
    justify-content: space-between;
    background-color: #1e253c;
    padding: 1rem 1rem;
    text-align: center;
    color: #ffffff;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
  }
  .seccion-estadisticas::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  .estadistica {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0.5rem;
    box-sizing: border-box;
  }
  
  /* Ícono y texto compactos */
  .icono-estadistica {
    width: 2rem;
    height: auto;
    margin-bottom: -0.9rem;
    filter: invert(100%);
  }
  
  .texto-numero {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #ffffff;
  }
  
  .texto-descripcion {
    font-size: 0.75rem;
    color: #cccccc;
    margin: 0;
  }
  
  /* MEDIA QUERY para pantallas menores a 900px: scroll horizontal */
  @media (max-width: 900px) {
    .seccion-estadisticas {
      overflow-x: auto;
      justify-content: flex-start;
      flex-wrap: nowrap;
    }
  
    .estadistica {
      flex: 0 0 200px;
      max-width: none;
      scroll-snap-align: start;
    }
  }
  @media (max-width: 420px) {
    .btn-contacto {
        font-size: 13.33px;
    }
    .seccion-estadisticas {
      padding: 0.5rem;
    }
  
    .estadistica {
      flex: 0 0 160px; /* menos ancho por estadística */
      padding: 0.3rem;
    }
  
    .icono-estadistica {
      width: 1.5rem;
      margin-bottom: -0.6rem;
    }
  
    .texto-numero {
      font-size: 1rem;
    }
  
    .texto-descripcion {
      font-size: 0.65rem;
    }
  }
    

    /*TEAM*/
    .team-section {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    }

    .team-title {
        font-family: 'Barlow';
        margin: unset;
        font-weight: 600;
        font-size: xxx-large;
        color: var(--color-encabezado);
    }

    .team-subtitle {
        font-family: 'Barlow';
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    }

    /* Contenedor */
    .team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    }

    /* Tarjetas */
    .team-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 260px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }


    .team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    }

    /* Info dentro de la tarjeta */
    .team-info {
    padding: 20px;
    }

    .team-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    }

    .team-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    }

    /* Línea azul */
    .team-line {
    width: 40px;
    height: 3px;
    background: #d4af37;
    margin: 0 auto 15px;
    border-radius: 3px;
    }

    /* Redes sociales */
    .team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    }

    .team-socials a {
    color: #666;
    font-size: 16px;
    transition: color 0.3s ease;
    }

    /* Responsive */
    @media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }
    }

    @media (max-width: 664px) {
    .team-title { 
    font-size: xx-large;
    }
    }

    .team-socials img {
    height: 24px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) saturate(100%) invert(68%) sepia(27%) saturate(746%) hue-rotate(16deg) brightness(95%) contrast(90%);
    }

    .team-socials img:hover {
    transform: scale(1.2);
    filter: brightness(0) saturate(100%) invert(68%) sepia(54%) saturate(712%) hue-rotate(18deg) brightness(102%) contrast(92%);
    }
/* Animación al pasar el cursor */
.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15), 0 0 15px rgba(212,175,55,0.4);
  border: 1px solid #d4af37; /* borde dorado */
}

/* Imagen con efecto zoom */
.team-card img {
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}







/* FOOTER */
.footer {
    background: var(--color-primario);
    color: var(--color-texto);
    padding: 50px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: 10px;
}

.footer-section h3 {
    font-family: 'Barlow';;
    margin-bottom: 12px;
    font-size: 20px;
    color: #d4af37; /* Dorado elegante */
    text-transform: uppercase;
    font-weight: bold;
}

.footer-section p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: var(--color-texto-footer);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-enlaces-footer);
    transform: translateX(5px);
}

/* Redes sociales */
.social-iconsS {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.social-iconsS a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-iconsS a img {
    height: 26px;
    filter: brightness(0.9);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-iconsS a:hover img {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* Línea final del footer */
.footer-bottom {
    margin-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
    opacity: 0.8;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px; /* opcional */
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  

/* RESPONSIVE: Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .social-iconsS {
        gap: 15px;
    }
}

/* Ajuste para centrar "Ubícanos" en el footer */
.footer-section.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}


/* Ajuste responsivo del mapa */
@media (max-width: 768px) {
    .map-container iframe {
        height: 200px;
    }
}

.lobuki-font {
    font-family: 'LOBUKI2';
    color: #cacacb;
}





/* Botón de WhatsApp flotante */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366, #1ebe5b);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    animation: bounce-in 0.6s ease-out;
}

/* Ícono */
.whatsapp-button img {
    width: 34px;
    height: 34px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

/* Hover con efecto glow */
.whatsapp-button:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, #1ebe5b, #25D366);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:hover img {
    transform: rotate(10deg) scale(1.1);
}

/* Animación de rebote al entrar */
@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Halo animado para llamar la atención */
.whatsapp-button::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgb(46 227 114 / 48%);
    animation: pulse 1.8s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.6; }
}

/* Responsive: Dispositivos pequeños */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 54px;
        height: 54px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button img {
        width: 28px;
        height: 28px;
    }

    .whatsapp-button::before {
        width: 68px;
        height: 68px;
    }
}


/* SECCIÓN PODCAST CON IMAGEN */
.podcast {
    position: relative;
    background: url(../img/33.webp) no-repeat center center / cover;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    color: #fdfdfd;
    overflow: hidden;
}

/* Capa oscura elegante */
.podcast::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(2px);
    z-index: 0;
}

.contenido-podcast {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 850px;
    padding: 40px 30px;
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

/* Título */
.podcast h2 {
    font-size: 2.8rem;
    letter-spacing: 1.5px;
    font-family: 'Barlow', sans-serif;
    margin-bottom: 18px;
    font-weight: 700;
    color: #f4d03f; /* dorado elegante */
    text-transform: uppercase;
}

/* Texto */
.podcast p {
    font-family: 'Barlow', sans-serif;
    font-size: 1.4rem;
    max-width: 720px;
    margin: 0 auto 22px;
    line-height: 1.7;
    color: #fdfdfd;
    font-weight: 400;
}

/* Botón elegante */
.btn-podcast {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    color: #fff;
    background: #c0392b;
    padding: 12px 32px;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid #c0392b;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-podcast:hover {
    background: transparent;
    color: #f4d03f;
    border-color: #f4d03f;
    transform: translateY(-4px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .podcast {
        padding: 40px 15px;
        min-height: 420px;
    }

    .contenido-podcast {
        width: 100%;
        padding: 30px 20px;
        border-radius: 10px;
    }

    .podcast h2 {
        font-size: 2rem;
    }

    .podcast p {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .btn-podcast {
        font-size: 0.9rem;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .podcast {
        min-height: 380px;
    }

    .podcast h2 {
        font-size: 1.7rem;
    }

    .podcast p {
        font-size: 1rem;
    }

    .btn-podcast {
        font-size: 0.85rem;
        padding: 9px 20px;
        width: 100%;
        max-width: 220px;
    }
}



/* 🎨 GALERÍA */
.galeria {
  padding: clamp(1rem, 5vw, 4rem);
  background-color: #282e3f;
  text-align: center;
}

.galeria-titulo {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
    font-family: 'Barlow';
    font-weight: 600;
    font-size: xxx-large;
  color: #ffffff;


}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  justify-items: center;
}

/* Cada item */
.galeria-item {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Efecto hover */
.galeria-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

/* Item horizontal ocupa toda la fila */
.galeria-item.horizontal {
  grid-column: 1 / -1;
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .galeria-titulo {
    font-size: xx-large;
  }
}


/* FORMULARIO */
.contact-form {
  max-width: 450px;
  margin: 40px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  font-family: 'Barlow', sans-serif;
  text-align: left;
}

.contact-form h2 {
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: 25px;
    color: #1a2942;
    font-weight: 700;
}


.field {
  margin-bottom: 18px;
}

.field label {
    font-size: 1.4rem;
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: #b08d57; /* dorado elegante */
  background: #fff;
  box-shadow: 0 0 6px rgba(176,141,87,0.35);
  outline: none;
}

/* Botón elegante */
.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: #1a2942; /* azul marino */
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #b08d57; /* dorado */
  color: #1a2942;
  transform: translateY(-2px);
}

/* Notificación */
.notification {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  font-weight: bold;
  display: none;
}

.notification.success {
  color: #27ae60;
}

.notification.error {
  color: #e74c3c;
}

/* 📱 RESPONSIVE */
@media (max-width: 480px) {
  .contact-form {
    max-width: 95%;
    padding: 18px;
  }

  .contact-form h2 {
    font-size: xx-large;
  }

  .btn-submit {
    font-size: 15px;
    padding: 12px;
  }
}
.field input,
.field textarea {
  width: 90%; /* más estrecho para que quede centrado dentro del form */
  margin: 0 auto; /* centra los campos */
  display: block; /* asegura que se comporten como bloques centrados */
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: 0.3s;
}

  .comentarios {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }

  .comentarios h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #282e3f;
  }

  .comentarios-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .comentario {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .comentario:hover {
    transform: translateY(-5px);
  }

  .comentario .texto {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
  }

  .comentario .estrellas {
    color: #FFD700;
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .comentario .autor {
    font-weight: bold;
    color: #282e3f;
    font-size: 0.9em;
  }

  /* RESPONSIVO */
  @media (max-width: 1000px) {
    .comentario {
      width: 45%;
    }
  }

  @media (max-width: 600px) {
    .comentario {
      width: 90%;
    }
  }
