.bg-chiapas-magenta {
  background-color: var(--chiapas-magenta) !important;
  color: var(--chiapas-blanco);
}
.bg-chiapas-rojo {
  background-color: var(--chiapas-rojo) !important;
  color: var(--chiapas-blanco);
}
.bg-chiapas-verde {
  background-color: var(--chiapas-verde) !important;
  color: var(--chiapas-blanco);
}



/* =========================================================
   🧭 NAV LINK CUSTOM
========================================================= */

.nav-link {
  transition: all 0.3s ease;
  border-radius: 12px;
}

/* Hover */
.nav-link:hover {
  color: #7b1e3b !important;
  background: rgba(123, 30, 59, 0.08);
}

/* Activo */
.nav-link.active {
  color: #7b1e3b !important;
  font-weight: 700;
  background: rgba(123, 30, 59, 0.12);
}

/* Color institucional */
.text-primario {
  color: #7b1e3b !important;
}


/* =========================================================
   🔹 FONDO SECCIÓN TRENDING
========================================================= */

.trending-section {
  background:
    linear-gradient(
      to bottom,
      var(--chiapas-claro),
      #ffffff
    );

  position: relative;
  overflow: hidden;
}


.hover-card {
  transition: all 0.4s ease;
}
.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


  /* ==== PLECA INSTITUCIONAL UNIVERSAL PARA SECCIONES ==== */

  section {
    position: relative;
    padding-top: 90px;
    /* espacio para la pleca */
  }

  /* PLECA COMO SEPARADOR AUTOM&aacute;TICO */
  section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    height: 55px;

    background-image: url('<?php echo $App->Sitio ?>media/inicio/pleca-v2.svg');
    /* AJUSTA LA RUTA */
    background-repeat: repeat-x;
    background-size: contain;

    opacity: 0.98;
    /* filter: blur(1px); */

    /* Efecto de aparici&oacute;n */
    transform-origin: center;
    will-change: opacity, transform, filter;
  }

  /* FADE OUT INFERIOR SUPER SUAVE */
  section::after {
    content: "";
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    height: 25px;
    background: linear-gradient(rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0));
    pointer-events: none;
  }

  /* OPCI&oacute;N EXTRA: DAR TONO INSTITUCIONAL A LA PLECA */
  .pleca-institucional-tint {
    mix-blend-mode: multiply;
    opacity: .35;
  }

  /* Opcional: responsivo */
  @media (max-width: 768px) {
    section::before {
      height: 40px;
    }
  }

  .pleca-separador {
    width: 100%;
    height: 55px;
    /* ajustable */
    background-image: url('<?php echo $App->Sitio ?>media/inicio/pleca-v2.png');
    /* AJUSTA LA RUTA */
    background-repeat: repeat-x;
    background-size: contain;
    /* opacity: 0.35;
    filter: blur(1px); */
    margin: 1px 0;
    position: relative;
  }

  .pleca-centro {
    width: 100%;
    height: 40px;
    background-image: url('<?php echo $App->Sitio ?>media/inicio/pleca-v2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    opacity: 0.28;
    filter: blur(0.8px);
    margin: 45px 0;
  }

  .pleca-fade {
    width: 100%;
    height: 55px;
    background-image: url('<?php echo $App->Sitio ?>media/inicio/pleca-v2.png');
    background-repeat: repeat-x;
    background-size: contain;
    /* opacity: 0.32; */
    /* filter: blur(1px); */
    position: relative;
    margin: 50px 0;
  }

  .pleca-fade::before,
  .pleca-fade::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    pointer-events: none;
  }

  .pleca-fade::before {
    top: -20px;
  }

  .pleca-fade::after {
    bottom: -20px;
  }


/* ----- TÍTULO CON ENCABEZADO INSTITUCIONAL ----- */
.seccion-titulo {
  position: relative;
  font-size: 2.2rem;
  font-weight: 800;
  color: #003366;
  padding-left: 25px;
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.seccion-titulo span {
  position: relative;
  z-index: 2;
}

.seccion-titulo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 50px;
  background: linear-gradient(90deg, #003366, #0055a5);
  border-radius: 8px;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,0.30));
  opacity: 0.95;
}


/**nuestro estado*/
.tarjeta-flotante {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px;
  border-left: 8px solid #0055a5;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
  transition: all .28s ease;
  cursor: pointer;
  min-height: 200px;
}

.tarjeta-flotante:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.25);
  background: linear-gradient(160deg, #fff, #f3f6fb);
}

.tarjeta-flotante h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #003366;
}



/* Tarjetas con estilo institucional */
/* ICONOS MÁS GRANDES */
.icon-chiapas-lg {
  font-size: 5rem;         /* ICONO SUPER GRANDE */
  color: #fff;          /* Color institucional 1 */
  transition: transform .3s ease, color .3s ease, opacity .3s ease;
  opacity: .9;
}

/* HOVER */
.card-chiapas:hover .icon-chiapas-lg {
  transform: scale(1.15);
  color: #C90166;          /* Color institucional 2 */
  opacity: 1;
}

/* CARD ESTILO INSTITUCIONAL */
.card-chiapas {
  border-radius: 20px;
  border: none;
  /* background: #ffffff; */
  /* background: linear-gradient(135deg, var(--chiapas-verde) 0%, var(--chiapas-magenta) 100%); */
  background: rgba(255, 255, 255, 0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}

.card-chiapas:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

/* TITULOS MAS PEQUEÑOS */
.card-chiapas h6 {
  font-size: 0.9rem;
  letter-spacing: .5px;
  color: #0C0206;
}

/* RESPONSIVE ICONS */
@media (max-width: 575px) {
  .icon-chiapas-lg {
    font-size: 4rem;
  }
}



/**************transparencia ********/
/* =========================================================
   🛡️ TRANSPARENCIA
========================================================= */

.transparencia-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.transparencia-card {
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.transparencia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.12) !important;
}

.transparencia-card img {
  height: 220px;
  object-fit: cover;
}

.icon-circle {
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b1e3b, #a52a52);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: #fff;
  font-size: 1.8rem;
}

.bg-chiapas-magenta {
  background: linear-gradient(135deg, #7b1e3b, #a52a52);
  color: #fff;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.text-primario {
  color: #7b1e3b !important;
}

/* =========================================================
   🔘 BOTONES TRANSPARENCIA
========================================================= */

.transparencia-card .btn-outline-primary {
  border: 2px solid #7b1e3b;
  color: #7b1e3b;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 140px;
}

.transparencia-card .btn-outline-primary:hover {
  background: linear-gradient(135deg, #7b1e3b, #a52a52);
  border-color: #7b1e3b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(123, 30, 59, 0.25);
}

.transparencia-card .btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(123, 30, 59, 0.25);
}

.transparencia-card .btn-outline-primary:active {
  transform: scale(0.98);
}


/* =======================================================
   💡 SECCIÓN: PROGRAMAS INSTITUCIONALES (CARRUSEL)
======================================================= */
.programa-section {
  /* background: linear-gradient(to bottom, var(--chiapas-claro), var(--chiapas-beige)); */
  background: linear-gradient(135deg, var(--chiapas-verde) 0%, var(--chiapas-magenta) 100%);
  position: relative;
  overflow: hidden;
}

.programa-section .section-title {
  color: var(--chiapas-oscuro);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#programaCarousel {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

#programaCarousel img {
  filter: brightness(0.9) saturate(1.2);
  transition: transform 8s ease, filter 0.5s ease;
}

#programaCarousel .carousel-item.active img {
  transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--chiapas-rojo);
  border-radius: 50%;
  padding: 1rem;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--chiapas-magenta);
  transition: all 0.3s ease;
}

/* =======================================================
   🎯 SECCIÓN: INFORME GOB
======================================================= */
.informe-chiapas {
  /* background: linear-gradient(135deg, var(--chiapas-verde) 0%, var(--chiapas-magenta) 100%); */
     background: linear-gradient(to bottom, var(--chiapas-claro), var(--chiapas-beige));
  color: var(--chiapas-blanco);
  position: relative;
  overflow: hidden;
}

.informe-chiapas::before {
  content: "";
  position: absolute;
  /* inset: 0; */
  /* background: rgba(0, 0, 0, 0.25); */
  backdrop-filter: blur(4px);
}

/* =======================================================
   🎯 SECCIÓN: CONOCE CHIAPAS
======================================================= */
.conoce-chiapas {
  /* background: linear-gradient(135deg, var(--chiapas-verde) 0%, var(--chiapas-magenta) 100%); */
     background: linear-gradient(to bottom, var(--chiapas-claro), var(--chiapas-beige));
  color: var(--chiapas-blanco);
  position: relative;
  overflow: hidden;
}

.conoce-chiapas::before {
  content: "";
  position: absolute;
  /* inset: 0; */
  /* background: rgba(0, 0, 0, 0.25); */
  backdrop-filter: blur(4px);
}

/* =======================================================
   🎯 SECCIÓN: PRINCIPALES SERVICIOS
======================================================= */
.principales-servicios {
  background: linear-gradient(135deg, var(--chiapas-verde) 0%, var(--chiapas-magenta) 100%);
  color: var(--chiapas-magenta);
  position: relative;
  overflow: hidden;
}

/* .principales-servicios::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
} */

 .principales-servicios .section-title {
  color: var(--chiapas-magenta);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
} 

.icon-block {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.icon-block:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: var(--chiapas-beige);
  color: var(--chiapas-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}

/* === Estilo Institucional para Cards y Secciones === */

.section-turismo h5 {
  color: #009887;
}

.card-turismo img {
  transition: transform .5s ease, filter .4s ease;
}
.card-turismo:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
.card-turismo .card-body {
  background: #fff;
  border-top: 4px solid #C90166;
  transition: background .3s ease;
}
.card-turismo:hover .card-body {
  background: #f6f6f6;
}

.bg-marron {
  background: linear-gradient(135deg, #AE1922, #C90166);
  border: none;
}

/* ----- ACORDEÓN ESTILIZADO ----- */
/* ---- CONTENEDOR GENERAL ---- */
/* -----------------------------------------------------
   ACORDEÓN CHIAPAS CON BORDES ANIMADOS + EXPANSIÓN SUAVE
------------------------------------------------------ */

.accordion-chiapas {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

/* ---- BORDE ANIMADO ---- */
.accordion-chiapas::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px; 
  border-radius: 1rem;
  background: linear-gradient(90deg, #C90166, #AE1922, #009887, #C90166);
  background-size: 300% 100%;
  animation: borderMove 6s linear infinite;
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 1;
}

@keyframes borderMove {
  0% { background-position: 0% 0; }
  100% { background-position: -300% 0; }
}

/* Evita que el borde tape el contenido */
.accordion-chiapas > * {
  position: relative;
  z-index: 5;
}

/* ---- BOTONES ---- */
.accordion-chiapas .accordion-button {
  color: white;
  font-weight: 700;
  padding: 1rem;
}

.accordion-chiapas .accordion-button::after {
  filter: invert(1) brightness(2);
}

/* ---- CUERPO DEL PANEL ---- */
.accordion-chiapas .accordion-body {
  padding: 1rem 1.25rem;
}

/* ---- ANIMACIÓN DE EXPANSIÓN SUAVE ---- */
.accordion-chiapas .accordion-collapse {
  overflow: hidden;
  transition: height 0.45s ease, opacity 0.45s ease;
}

.accordion-chiapas .accordion-collapse.collapsing {
  opacity: 0;
}

.accordion-chiapas .accordion-collapse.show {
  opacity: 1;
}


/* ---- LINKS E ICONOS ---- */
.accordion-chiapas .accordion-body a {
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

.accordion-chiapas .accordion-body a:hover {
  color: #AE1922;
}

.accordion-chiapas .accordion-body i {
  font-size: 1.4rem;
  margin-right: .25rem;
  color: #0096ff;
}




/* Sección con imagen de fondo */
.g-bg-img-hero {
  box-shadow: 0 0 25px rgba(0,0,0,0.35);
}
.g-bg-img-hero h4 {
  color: #f6f6f6;
}
.g-bg-img-hero a {
  text-decoration: none;
  transition: color .2s ease;
}
.g-bg-img-hero a:hover {
  color: #C90166;
}


/* =======================================================
   🔎 TRANSPARENCIA
======================================================= */

.transparencia { 
     background: linear-gradient(to bottom, var(--chiapas-claro), var(--chiapas-beige));
  color: var(--chiapas-blanco);
  position: relative;
  overflow: hidden;
}
.transparencia-grid {
  background: linear-gradient(135deg, var(--chiapas-verde) 10%, var(--chiapas-rojo) 90%);
  padding: 40px;
  border-radius: 20px;
  color: var(--chiapas-blanco);
}

.transparencia-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.transparencia-img:hover {
  transform: scale(1.05);
}

.transparencia-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chiapas-blanco);
  font-size: 2rem;
}

.transparencia-img:hover .overlay {
  opacity: 1;
}

/* =======================================================
   🌐 REDES SOCIALES
======================================================= */
.redes-sociales {
  background: linear-gradient(120deg, var(--chiapas-magenta), var(--chiapas-verde));
  color: var(--chiapas-blanco);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.redes-sociales .section-title {
  color: var(--chiapas-blanco);
}

/* =========================================================
   🌟 EFECTOS GLOBALES Y RESPONSIVE
========================================================= */
.icon-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .icon-circle { width: 70px; height: 70px; font-size: 2rem; }
  .section-title::after { width: 60px; height: 3px; }
}



/* ====== FOOTER PARALLAX ====== */


.footer-parallax .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 21, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 0;
}

.footer-parallax .container {
  position: relative;
  z-index: 1;
}

.footer-parallax h5 {
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Íconos sociales */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  transition: all 0.4s ease;
  text-decoration: none;
}

.social-icons i {
  font-size: 2rem;
  color: #fff;
  transition: transform 0.4s ease, color 0.4s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #009887, #C90166, #AE1922);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transform: translateY(-6px);
}

.social-link:hover i {
  transform: scale(1.2);
}

/* Slogan animado */
.slogan {
  font-size: 1.8rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  letter-spacing: 1px;
}

.slogan-text {
  border-right: 3px solid rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: typing 4s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  50% { border-color: transparent }
}

/* Glow decorativo */
.footer-parallax::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,1,102,0.4), transparent 70%);
  animation: pulseLight 8s infinite ease-in-out alternate;
  z-index: 0;
}

@keyframes pulseLight {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 0.4; }
}



/* ====== DECORACIÓN DE ENCABEZADOS DE SECCIÓN ====== */



/* Variaciones cromáticas según tema */
.programa-sections .section-title {
  color: #C90166;
}

.principales-servicios .section-title {
  color: #009887;
}

.nuestro-estado .section-title {
  color: #C90166;
}

.transparencia .section-title {
  color: #AE1922;
}

.redes-sociales .section-title {
  color: #009887;
}

/* ====== EFECTOS AOS Y RELIEVE ====== */
.section-title[data-aos] {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.section-title[data-aos="fade-up"] {
  transform: translateY(30px);
  opacity: 0;
}

.section-title.aos-animate[data-aos="fade-up"] {
  transform: translateY(0);
  opacity: 1;
}


/* Contenedor general */
.visitas-wrapper {
  padding: 20px 0;
}

/* Tarjetas principales */
.visitas-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform .25s ease, box-shadow .25s ease;
  padding: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hover dinámico */
.visitas-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Título */
.visitas-card h6 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Valor numérico */
.visitas-card h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 0;
}

/* Icono decorativo */
.visitas-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.15;
  font-size: 90px;
  transform: rotate(-10deg);
}


/* Animación de aparición */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.visitas-card {
  animation: fadeUp .6s ease forwards;
}




    .overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 152, 135, 0.6);
      opacity: 0;
      transition: opacity 0.4s;
      border-radius: 1rem;
    }

  

    .overlay i {
      color: #fff;
      font-size: 2rem;
    } 

    /* ====== ICONOS GRANDES ====== */
    .icon-circle i {
      font-size: 3.5rem;
      color: var(--color-primario);
    }

    /* ====== CARRUSEL ====== */
    .carousel-caption h5 {
      font-weight: 700;
      color: #fff;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    }

    
    /* ---- ANIMACIÓN LIFT + SHADOW ---- */
    .card {
      transition: transform .35s ease, box-shadow .35s ease, border .35s ease;
      border-radius: 14px;
      overflow: hidden;
      position: relative;
      backdrop-filter: blur(6px);
    }

    .card:hover {
      transform: translateY(-12px);
      box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    }


    /* ---- GLASSMORPHISM SUAVE ---- */
    .card.glass {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* ---- ZOOM IMG ---- */
    .card-img-top {
      transition: transform .45s ease;
    }

    .card:hover .card-img-top {
      transform: scale(1.12);
    }

    /* ---- OVERLAY DEGRADADO ---- */
    .card .overlay {
      position: absolute;
      inset: 0;
      /* background: linear-gradient(
  135deg,
  rgba(200, 16, 46, 0.35),
  rgba(0, 146, 63, 0.35)); */
  background: linear-gradient(
  135deg,
  rgba(200, 16, 46, 0.35),
  rgba(225, 201, 122, 0.35),
  rgba(0, 146, 63, 0.35)


);

      opacity: 0;
      transition: opacity .4s ease;
      pointer-events: none;
    }

    .card:hover .overlay {
      opacity: 1;
    }

    /* ---- BRILLO DIAGONAL “SHINE” ---- */
    .shine {
      position: absolute;
      top: 0;
      left: -150%;
      width: 50%;
      height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
      transform: skewX(-25deg);
      transition: .6s;
    }

    .card:hover .shine {
      left: 150%;
    }

    /* ---- CARD CONTENT ---- */
    .card-body {
      position: relative;
      z-index: 2;
    }

    /* ---- BOTÓN ANIMADO ---- */
    .card-footer .btn {
      transition: transform .25s ease, background-color .25s ease;
    }

    .card:hover .btn {
      transform: translateY(3px) scale(1.02);
    }

    /* ---- APARICIÓN FADE-IN ---- */
    .fade-in {
      animation: fadeIn .8s ease forwards;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }