/********** Template CSS **********/
* {
    font-family: 'Josefin Sans', sans-serif;
}
/* ----------------------------------------- CURSOR ---------------------------------------------- */
body {
    cursor: none; /* Oculta el cursor nativo */
}

#custom-cursor {
    position: fixed;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(173, 255, 47, 0.65);           /* borde greenyellow */
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    will-change: transform;
    left: 0;
    top: 0;
    box-shadow: 0 0 0 3px rgba(173, 255, 47, 0.12) inset;  /* ← línea reemplazada */
}

/* Glow sutil */
#custom-cursor {
    box-shadow: 
        0 0 15px 4px rgba(255, 255, 255, 0.25),
        inset 0 0 0 2px rgba(255,255,255,0.4);
}

/* Más grande cuando está quieto */
#custom-cursor::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
/***------------------------------------ FIN CURSOR ---------------------------------------------***/

/* --------------------------------------- ESTILOS DEL ACEPTAS COOKIES --------------------------  */
        .cookie-modal {
            display: none;
            justify-content: center;
            align-items: center;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
        }

        .cookie-content {
            background-color: #1a1a1a;
            color: #fff;
            padding: 20px 30px;
            border-radius: 12px;
            max-width: 90%;
            width: 300px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
            border: 1px solid #333;
        }

        .cookie-content p {
            margin: 0 0 20px 0;
            font-size: 15px;
            line-height: 1.5;
        }

        .cookie-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .btn-cookie {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-accept {
            background-color: #444;
            color: black;
        }

        .btn-accept:hover {
            background-color: #bfff00;
            transform: translateY(-2px);
        }

        .btn-reject {
            background-color: #444;
            color: black;
        }

        .btn-reject:hover {
            background-color: #bfff00;
            transform: translateY(-2px);
        }

        @media (max-width: 576px) {
            .cookie-buttons {
                flex-direction: column;
            }
            .btn-cookie {
                width: 100%;
            }
        }
 /* ---------------------------------------- FIN ESTILOS DEL ACEPTAS COOKIES --------------------------  */

/* -------------------------------------------------- BOTONES ------------------------------------------ */
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}
/* --------------------------------------------- FIN BOTONES ------------------------------------------ */

/* --------------------------------------------- BARRA DE NAVEGACIÓN ---------------------------------- */
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
/* ------------------------------------------------- FIN BARRA DE NAVEGACIÓN ------------------------------- */

/* -------------------------------------------------- CARRUSEL DE CABECERA ----------------------------------*/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url() top center no-repeat; 
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}
/* ---------------------------------------------- FIN CARRUSEL DE CABECERA ----------------------------------*/

/* ---------------------------------------------- HOLA SOY ROCO FREELANCER --------------------------------- */
/* ------------------------------------------- RAYO SE ACHICA Y AGRANDA ------------------------------------ */
@keyframes rayo {
  0%, 100% { transform: translateY(-20px) scale(0.8); }
  50% { transform: translateY(20px) scale(1); }
}
/* ------------------------------------------ FIN RAYO SE ACHICA Y AGRANDA ---------------------------------- */
/* -------------------------------------------- ROBOT SE MUEVE DE LADO A LADO ------------------------------- */
@keyframes robot {
  0%, 100% { transform: translateX(-20px); }
  50% { transform: translateX(20px); }
}
/* ------------------------------------------- FIN ROBOT SE MUEVE DE LADO A LADO ---------------------------- */
/* ------------------------------------------------- TICKET SE ACHICA AGRANDA ---------------------------- */
@keyframes ticket {
  0%, 100% { transform: scale(0.8); }
  50% { transform: scale(1.1); }
}
/* ------------------------------------------------ FIN TICKET SE ACHICA AGRANDA ---------------------------- */
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}
/* ------------------------------------------FIN HOLA SOY ROCO FREELANCER --------------------------------------------------------------- */
/* ------------------------------------------- FIN CARRUSEL DE CABECERA ------------------------------------------------------------------*/

/* ------------------------------------------ HERRAMIENTAS Y COMPETENCIAS ----------------------------------------------------------------*/
#competencias {
    padding: 60px 0;
    text-align: center;
    /* background-color: #1a1a1e;*/ /* Fondo oscuro para que luzca el glassmorphism */
}

/* Animación del icono principal */
.wrench-icon {
    font-size: 60px;
    color: greenyellow;
    animation: girar 4s linear infinite;
    margin-top: 20px;
}

@keyframes girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* La tarjeta contenedora */
.competencia-card {
    background-color: rgba(35, 35, 40, 0.75);
    border-radius: 25px;
    backdrop-filter: blur(0.01px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    transition: all 0.4s ease;
    margin: 0 auto;
}

.competencia-card:hover {
    transform: translateY(-10px);
    background-color: rgba(45, 45, 55, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

/* Estilos de la lista */
.competencia-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Texto alineado para lectura fácil */
    display: inline-block; /* Para que el bloque se pueda centrar */
}

.competencia-list li {
    display: flex; /* Alinea el check con el texto */
    align-items: flex-start;
    margin-bottom: 15px;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.4;
}

.competencia-list li i {
    color: #0d6efd; /* Color primary */
    margin-right: 15px;
    margin-top: 4px; /* Ajuste fino vertical */
    flex-shrink: 0; /* Evita que el icono se encoja */
}

/* Ajustes para móviles */
@media (max-width: 576px) {
    .competencia-card {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .competencia-list li {
        font-size: 14px; /* Un poco más pequeño en móvil */
    }
}
/*------------------------------------------- FIN HERRAMIENTAS Y COMPETENCIAS ------------------------------------------------ ***/

/* ----------------------------------------------- QUE HAGO Y COMO LO HAGO --------------------------------------------------- ***/
#work {
    text-align: center;
}

#work .col-md-4 {
    padding: 32px 24px;  /* ----------------------- más espacio interno cómodo */
    margin-bottom: 30px; /* --------------------------- separación entre filas */
    
    /* Fondo con transparencia y bordes redondeados */
    background-color: rgba(35, 35, 40, 0.75);
    border-radius: 25px;
    backdrop-filter: blur(0.01px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    transition: all 0.4s ease;
    display: flex;             /* --------------------- clave para centrar todo */
    flex-direction: column;
    align-items: center;  /* ------------- centra horizontalmente ícono + texto */
    justify-content: center; /* ------------- centra verticalmente el contenido */
    min-height: 220px;  /* -------------------------- altura mínima consistente */
}

#work .col-md-4:hover {
    transform: translateY(-10px);
    background-color: rgba(45, 45, 55, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

/* Estilos para el ícono (ajusta según la clase que uses) */
#work .col-md-4 .icon,
#work .col-md-4 i,
#work .col-md-4 .fa,
#work .col-md-4 img.icon {
    font-size: 48px;   /* ---------------------  tamaño recomendado para íconos */
    margin-bottom: 5px; /* -------------------  separación entre ícono y título */
    color: #ffffff;
    line-height: 1;
}

/* Título centrado */
#work .col-md-4 h3 {
    font-size: 18px;
    margin: 0 0 7px 0; /* -------------------   separación entre título y texto */
    color: #ffffff;
    line-height: 1.3;
}

/* Texto descriptivo (si lo tienes) */
#work .col-md-4 p {
    margin: 0;
    font-size: 15px;
    color: #d0d0d0;
    line-height: 1.5;
    max-width: 90%;  /* --------------------- evita que el texto se vea muy ancho */
}

/* -- Separación extra entre columnas en la misma fila (opcional pero recomendado) */
@media (min-width: 768px) {
    #work .row > .col-md-4 {
        padding-left: 15px;
        padding-right: 15px;
    }
    #work .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    /* ------------------------------------- BG QUE HAGO Y CÓMO LO HAGO --------------------------------------------- */
/* ------------------------------------------------ GEAR GIRA ----------------------------------------------- ***/
@keyframes girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* ---------------------------------------------- FIN GEAR GIRA --------------------------------------------- ***/
.service-block {
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.07); /* fondo sutil por defecto - opcional */
    transition: all 0.4s ease;
    min-height: 320px; /* ajusta según necesites */
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
  }

  .service-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/bg_quehago.png) center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .service-block:hover::before {
    opacity: 1;
  }

  .service-block:hover {
    background-color: transparent; /* opcional: quita fondo gris al hover */
    color: white; /* opcional: cambia color texto si la imagen es oscura */
    text-shadow: 0 1px 3px rgba(0,0,0,0.8); /* opcional: mejora legibilidad */
  }

  /* Opcional: mejora legibilidad del texto cuando aparece la imagen */
  .service-block h3,
  .service-block p,
  .service-block i {
    position: relative;
    z-index: 2;
  }
/* --------------------------------- FIN BG QUE HAGO Y CÓMO LO HAGO ------------------------------------------------- */
} /* ---------------------------------- FIN QUE HAGO Y COMO LO HAGO  ------------------------------------------------ */

/* Reducción de espacio entre secciones */
#work { padding-bottom: 0 !important; margin-bottom: -100px !important; }

/* ------------------------------------------- TRABAJO BIEN HECHO ---------------------------------------------- */
/* ------------------------------------------  INICIO HAND SHAKE ----------------------------------------------- */
/* Para altura suficiente y hacer scroll */
body {
  margin: 0;
  min-height: 200vh;
  background: #111;
  font-family: Arial, sans-serif;
}

/* Contenedor del icono (centrado y oculto al inicio) */
.handshake-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;        /* Para que no interfiera con clics */
  transition: opacity 0.5s ease;
  z-index: 1000;
}

/* Cuando se activa con JavaScript */
.handshake-container.active {
  opacity: 1;
}

.fa-handshake {
  font-size: 80px;
  color: greenyellow;
  display: inline-block;
  animation: wave 1.35s ease-in-out infinite;
  
  /* Punto exacto de la muñeca en el icono fa-handshake */
  transform-origin: 100% 100%;
}

/* Animación de saludo/agitación natural */
@keyframes wave {
  0%   { transform: translateY(0)    rotate(0deg); }
  15%  { transform: translateY(-25px) rotate(-20deg); }
  30%  { transform: translateY(5px)   rotate(15deg); }
  45%  { transform: translateY(-15px) rotate(-12deg); }
  60%  { transform: translateY(10px)  rotate(10deg); }
  75%  { transform: translateY(-8px)  rotate(-8deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

/* Solo estilo para el contenido de ejemplo */
.content {
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 100vh;
}
/* --------------------------------------------------------  FIN HAND SHAKE -------------------------------------------- */
/* ---------------------------------------------------------- TESTIMONIOS ---------------------------------------------- */
/* Opcional: hacer que los testimonios tengan un fondo semi-transparente similar a tus tarjetas */
.testimonial-item {
    background-color: rgba(35, 35, 40, 0.75);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0.01px);
    padding: 30px 25px;
    margin: 15px;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s all ease;
}

/* Responsivo para móviles y tablets */
@media (max-width: 768px) {
    .testimonial-carousel .owl-dots .owl-dot {
        width: 40px;     /* Más pequeño en móviles */
        height: 40px;
        margin: 0 4px;   /* Reduce un poco el espacio entre dots */
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .testimonial-carousel .owl-dots .owl-dot {
        width: 30px;     /* Aún más pequeño en pantallas muy pequeñas */
        height: 30px;
        margin: 0 3px;
        padding: 6px;
    }
}
/* ---------------------------------------------FIN TESTIMONIOS ------------------------------------------------- */
/* --------------------------------------- FIN TRABAJO BIEN HECHO ----------------------------------------------- */

/* Reducción de espacio entre secciones TRABAJOS BIEN HECHOS Y TARUFARIO 2026 */
#work { padding-bottom: 0 !important; margin-bottom: -100px !important; }

/* --------------------------------------- ENCUADRE PARA BROWSERS VIEJOS ------------------------------------ ***/
.list-group-flush {
    width: 100%;
    max-width: 100%;
}
.list-group-item {
    word-wrap: break-word; /* o overflow-wrap: break-word; */
}
/* ------------------------------------ FIN ENCUADRE PARA BROWSERS VIEJOS ------------------------------------- */

/* ------------------------------------------ ESQUINAS REDONDEADAS -------------------------------------------- */
.tarifas-img {
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}
/* ------------------------------------------FIN DE ESQUINAS REDONDEADAS --------------------------------------- */

/* ---------------------------------------- LUPA SE MUEVE DE LADO A LADO --------------------------------------- */
@keyframes lupa{
  0%, 100% { transform: translateX(-45px); }
  50% { transform: translateX(45px); }
}
/* -------------------------------------- FIN LUPA SE MUEVE DE LADO A LADO ------------------------------------- */

/* ------------------------------------------ FORMULARIO------------------------------------------ */
/* Reducción de espacio entre secciones TRABAJOS BIEN HECHOS Y TARIFARIO 2026 */
#work { padding-bottom: 0 !important; margin-bottom: -100px !important; }

/* -------------------- FIX CURSOR */
        html, body {
            
            color: #fff;
            padding-bottom: 80px;
            cursor: default !important;
        }

        a, button, .btn, .fixed-bottom-menu a {
            cursor: pointer !important;
        }

/* ------------ TEXTO EN MAYÚSCULAS */
        .uppercase-text {
            text-transform: uppercase;
        }

        .fixed-bottom-menu {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            padding: 12px 0;
            z-index: 1050;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
            text-align: center;
        }
        .fixed-bottom-menu a {
            color: greenyellow;
            font-size: 28px;
            margin: 0 30px;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .fixed-bottom-menu a:hover {
            color: pink;
            font-size: 36px;
            transform: translateY(-3px);
        }

/* -----------------  CONTACTO */
        .contact-card {
            background: rgba(35, 35, 40, 0.65); 
            background-color: blur(0.01px);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 50px;
        }
        .form-label {
            color: greenyellow;
            font-family: 'Josefin Sans', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.8rem;
            margin-bottom: 8px;
        }
        .form-control {
            background-color: #1a1a1a;
            border: 1px solid #444;
            color: #fff;
            border-radius: 8px;
            padding: 12px;
        }
        .form-control:focus {
            background-color: #222;
            border-color: greenyellow;
            box-shadow: 0 0 10px rgba(173, 255, 47, 0.2);
            color: #fff;
            outline: none;
        }
        .btn-enviar {
            background-color: greenyellow;
            color: #000;
            font-weight: 700;
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            text-transform: uppercase;
            width: 100%;
            transition: 0.4s;
        }
        .btn-enviar:hover {
            background-color: #881465; 
            transform: scale(1.02);
        }
        
        @media (max-width: 768px) {
            .contact-card { padding: 30px; }
        }
 /* ----------------------------------------------- FIN FORMULARIO --------------------------------------------- */       

/* ----------------------------------------------- FOOTER DE IMAGENES -----------------------------------------  */
/* Fondo general oscuro recomendado para que el glass destaque */
/* Contenedor del carrusel con efecto glassmorphism */
.footer-carousel-glass {
  width: 100%;
  max-width: 1920px; /* ------------------------------------------- ajusta según diseño */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(35, 35, 40, 0.65);  /* -------------- mismo estilo que tus tarjetas */
  backdrop-filter: blur(0.01px);   /* ------------------------- efecto vidrio esmerilado */
  -webkit-backdrop-filter: blur(0.01px);  /* ---------------------------- soporte Safari */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  padding: 15px 0;  /* ------------------------------------- espacio interno arriba/abajo */
}

/* Track de imágenes */
.footer-track {
  display: flex;
  width: fit-content;
  animation: footerScroll 120s linear infinite;  /* --------------- VELOCIDAD DE IMAGENES */
}

.footer-track img {
  height: 220px; /* -------------------------------------------- ajusta la altura deseada */
  width: auto;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 12px; /* ------------------------------------------ separación entre imágenes */
}

/* -------------------------------------- Animación scroll infinito (derecha → izquierda) */
@keyframes footerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----------------- Opcional: hacer que las imágenes tengan un leve brillo/sombra interna */
.footer-track img {
  box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
}

/* ---------------------------------------  MANTRA FOOTER ----------------------------------------------------- */
.design-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  color: greenyellow;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
}

.design-ticker {
  display: inline-flex;
  animation: ticker-alt 220s linear infinite; /* ← VELOCIDAD DE TEXTO */
}

.ticker-content {
  flex-shrink: 0;
  padding-right: 4rem; /* ------------------- controla el espacio entre el final de un bloque y el inicio del siguiente */
  display: inline-flex;
  align-items: center;
}

@keyframes ticker-alt {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }

}
/* ---------------------------------------  FIN MANTRA FOOTER FINAL ------------------------------------------------- */
/* ---------------------------------------- FIN FOOTER DE IMAGENES--------------------------------------------------- */

/*---------------------------------------- ESTILO DEL MENÚ FIJO INFERIOR ---------------------------------------------*/
.fixed-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    
    /* Centrado total */
    justify-content: center;
    align-items: center;
    
    /* --- CAMBIOS PARA JUNTAR LOS BOTONES --- */
    gap: 0px;                     /* Eliminamos el espacio entre elementos */
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); /* Reducimos padding vertical y lateral */
    /* --------------------------------------- */

    background: #0f0f0f;
    border-top: 1px solid #222;
    box-sizing: border-box;
}

/* Opcional: Si los botones tienen margen interno propio, redúcelo también */
.fixed-bottom-menu button, 
.fixed-bottom-menu a {
    margin: 0; 
    padding: 4px 8px; /* Ajusta este valor para acercar el contenido de los botones */
}
/* Cada enlace */
.fixed-bottom-menu a {
    color: greenyellow;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.25s ease;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    min-width: 60px;
    padding: 6px 8px;
}

/* Iconos */
.fixed-bottom-menu a i {
    font-size: 24px;
    margin-bottom: 5px;
    transition: color 0.3s;
}

/* Texto */
.menu-text {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* Efectos */
.fixed-bottom-menu a:active {
    transform: scale(0.92);
}

.fixed-bottom-menu a:hover,
.fixed-bottom-menu a:hover i {
    color: #8b41fb !important;
}

/* ── MÓVIL ── */
@media (max-width: 480px) {
    .fixed-bottom-menu {
        justify-content: space-around;   /* distribuye por toda la pantalla */
        gap: 0;
        padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    }
    
    .fixed-bottom-menu a {
        flex: 1;                         /* cada botón ocupa espacio igual */
        min-width: 0;
        padding: 0px 0px;
    }
}

/* Muy pantallas pequeñas */
@media (max-width: 360px) {
    .menu-text {
        font-size: 9px;
    }
    
    .fixed-bottom-menu a i {
        font-size: 22px;
    }
}
/* Espacio para que el contenido no quede debajo del menú */
body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important;
}
/*------------------------------------ FIN ESTILO DEL MENÚ FIJO INFERIOR --------------------------*/

/*------------------------------------ ESTILOS PARA ENTRADAS DEL BLOG------------------------------*/
        .blog-post {
                /* Fondo con transparencia y bordes redondeados */
            background-color: rgba(35, 35, 40, 0.75);
            border-radius: 25px;
            backdrop-filter: blur(0.01px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
            margin-bottom: 40px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease;
        }
        .blog-post:hover {
            transform: translateY(-10px);
        }
        .blog-post-img {
            height: 350px;
            object-fit: cover;
            width: 100%;
        }
        .blog-post-body {
            padding: 30px;
            color: #ddd;
        }
        .blog-post-title {
            font-size: 2rem;
            color: greenyellow;
            margin-bottom: 15px;
        }
        .blog-post-meta {
            color: #aaa;
            font-size: 0.9rem;
            margin-bottom: 20px;
        }
        .blog-post-excerpt {
            line-height: 1.7;
        }
        .read-more {
            color: greenyellow;
            text-decoration: none;
            font-weight: 600;
        }
        .read-more:hover {
            color: #e41779; /* Rosa intenso en hover del enlace */
        }

#cursos {
    padding: 60px 0;
    text-align: center;
    /* background-color: #1a1a1e;*/ /* Fondo oscuro para que luzca el glassmorphism */
}

/* Animación del icono principal */
.wrench-icon {
    font-size: 60px;
    color: greenyellow;
    animation: girar 4s linear infinite;
    margin-top: 20px;
}

@keyframes girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* La tarjeta contenedora */
.cursos-card {
    background-color: rgba(35, 35, 40, 0.75);
    border-radius: 25px;
    backdrop-filter: blur(0.01px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    transition: all 0.4s ease;
    margin: 0 auto;
}

.cursos-card:hover {
    transform: translateY(-10px);
    background-color: rgba(45, 45, 55, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

/* Estilos de la lista */
.cursos-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Texto alineado para lectura fácil */
    display: inline-block; /* Para que el bloque se pueda centrar */
}

.cursos-list li {
    display: flex; /* Alinea el check con el texto */
    align-items: flex-start;
    margin-bottom: 15px;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.4;
}

.cursos-list li i {
    color: #0d6efd; /* Color primary */
    margin-right: 15px;
    margin-top: 4px; /* Ajuste fino vertical */
    flex-shrink: 0; /* Evita que el icono se encoja */
}

/* Ajustes para móviles */
@media (max-width: 576px) {
    .cursos-card {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .cursos-list li {
        font-size: 14px; /* Un poco más pequeño en móvil */
    }
}        

/*------------------------------------ ESTILOS MARCADOR INICIO ------------------------------*/
.back-to-top {
    position: fixed;
    display: flex;
    right: 24px;
    bottom: 80px;
    z-index: 99;
}

/* CONTROL DE TAMAÑO DEL ICONO */
.back-to-top i {
    font-size: 1.5rem;         /* <--- CAMBIA ESTE VALOR PARA EL TAMAÑO */
    color: #da0c9c;             /* Color del icono */
    transition: transform 0.3s ease; /* Para un efecto suave al pasar el mouse */
}

/* Efecto visual opcional al pasar el mouse */
.back-to-top:hover i {
    transform: scale(1.2);    /* El icono crece un 20% al hacer hover */
}
/*----------------------------------- FIN ESTILOS MARCADOR INICIO ---------------------------*/