:root {
  --adv-1: #052843;
  --adv-2: #084571;
  --adv-3: #1f4e79;
  --adv-4: #1c819c;
  --adv-5: #3b3838;
}

/* Base */
/* * {*/
/*  box-sizing: border-box;*/
/*}*/

body {
  font-family: "Century Gothic", Arial, sans-serif;
  background: #f7f9fb;
  color: #3b3838;
  width: 100vw;
}

footer {
  width: 100vw;
}

/* ========== HERO ========== */
.hero-wrap {
  position: relative;
  min-height: 50vh;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background-color: black;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 40, 67, .65), rgba(5, 40, 67, .35) 40%, rgba(5, 40, 67, .75));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 4rem;
  padding-bottom: 3rem;
  padding-left: clamp(1rem, 8vw, 15%);
}

.dropdown {
  position: relative; /* Permite posicionar el submenú con absolute */
  display: inline-block; /* Muestra los elementos de la lista en línea */
}

.dropdown-content {
  display: none; /* Oculta el menú por defecto */
  position: absolute; /* Lo saca del flujo normal y lo posiciona debajo */
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1; /* Asegura que el menú se muestre sobre otros elementos */
}

.dropdown-content li {
  display: block; /* Muestra cada opción en su propia línea */
}

/* Muestra el menú al pasar el cursor sobre el elemento 'dropdown' */
.dropdown:hover .dropdown-content {
  display: block;
}

/* ========== NAVBAR ========== */
.navbar {
  position: relative;
  z-index: 4;
  background: transparent !important;
}

.navbar .nav-link,
.navbar-brand {
  color: #fff !important;
  transition: color .25s ease, transform .25s ease;
}

.navbar .nav-link:hover {
  color: #d7f3ff !important;
  transform: translateY(-1px);
  /* evita el “salto” visual */
}

.navbar-nav {
  gap: 1rem;
}

.btn-adv {
  background: var(--adv-4);
  color: #fff;
  border: none;
}

.btn-adv:hover {
  background: #11687a;
  color: #fff;
}

.section-title {
  color: var(--adv-2);
  font-weight: 800;
  font-size: 2.3rem;
}

.shadow-soft {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* ========== FOOTER ADV ========== */

.social-icons a {
  color: #6c757d;
  /* Color gris */
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0d6efd;
  /* Color azul de Bootstrap al pasar mouse */
}

.abo {
  padding: 0;
  margin: 0%;
  position: relative;
  color: #eef6ff;
  background: #084571;
  padding-top: 56px;
  padding-bottom: 24px;
  overflow: hidden;
  opacity: 0.99;
  z-index: -1;
}

.abow {
  padding: 4%;
}

.servicios {
  padding: 0;
  margin: 0%;
  position: relative;
  color: #eef6ff;
  padding-top: 56px;
  padding-bottom: 24px;
  overflow: hidden;
  background-image: url('/img/fond2.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  width: 100vw;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.contenedor-imagenes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  /* Espacio entre imágenes */
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.contenedor-imagenes img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Elimina espacio extra debajo de la imagen */
}

.video-container {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-background {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: 30vh;

  /* Centra el video */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* Permite que se desborde verticalmente */
  object-fit: cover;
}

.content1 {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
}

#misionVisionContent {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 15px;
  width: 300px;
}

.dropdown-custom {
  display: none;
  position: absolute;
  width: 900px;
  border: 1px solid rgba(0, 0, 0, .15);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  left: 50%;
  transform: translateX(-50%);
}

.beforefooter {
  position: relative;
  color: #eef6ff;
  background: black;
  padding-top: 56px;
  padding-bottom: 0px !important;
  overflow: hidden;
  background-image: url('/img/fond2.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.99;
  z-index: -1;
}

.beforefooter1 {
  color: #eef6ff;
  background: black;
  padding-top: 56px;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

.gallery-item {
  margin-bottom: 20px;
  padding: 0 10px;
}

.container-custom {
  padding: 30px 0;
}

.footer-adv {
  position: relative;
  color: #eef6ff;
  background: black;
  padding-top: 56px;
  padding-bottom: 50px !important;
  overflow: hidden;
  background-image: url('/img/estela1.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.99;
  z-index: -1;
}

.footer-adv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255, 255, 255, .08) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, .08) 95%);
  background-size: 140px 140px;
  opacity: .10;
  pointer-events: none;
}

.footer-adv::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 0, 0, .12) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 60%, rgba(255, 0, 0, .12) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 25%, rgba(255, 0, 0, .12) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 70%, rgba(255, 0, 0, .12) 0 2px, transparent 3px);
  pointer-events: none;

}

.footer-adv h5 {
  color: #fff;
  font-weight: 800;
  letter-spacing: .3px;
  margin-bottom: 1rem;
}

.footer-adv a {
  color: #e3f2ff;
  text-decoration: none;
}

.footer-adv a:hover {
  color: #aee1ff;
  text-decoration: underline;
}

.footer-adv .list-unstyled li {
  margin: .45rem 0;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}

.footer-adv .list-unstyled i {
  color: white;
  margin-top: .2rem;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  margin: 28px 0 10px;
}

.footer-bottom {
  color: #cfe8ff;
  font-size: .9rem;
  opacity: .9;
}

/* ========== NOSOTROS  ========== */
.about-split {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: clamp(420px, 60vh, 720px);
  width: 100%;
}

.about-split .split-media {
  position: relative;
  overflow: hidden;
}

.about-split .split-media img {
  width: 70%;
  height: 70%;
  display: block;
}

.about-split .split-content {
  display: flex;
  align-items: center;
  padding-left: clamp(1rem, 8vw, 20%);
}

.about-adv .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--adv-4);
  margin-bottom: .5rem;
}

.about-adv .about-title {
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(1.9rem, 2.6vw + 1rem, 8rem);
  color: var(--adv-2);
}

.about-adv .about-text {
  color: var(--adv-5);
  font-size: 1.20rem;
  line-height: 1.9;
}

@media (max-width: 991.98px) {
  body {
    font-family: "Century Gothic", Arial, sans-serif;
    background: #f7f9fb;
    color: var(--adv-5);
    width: 100%;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split .split-media {
    height: 40vh;
    min-height: 280px;
  }

  .about-split .split-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .video-container {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video-background {
    position: relative;
    min-width: 60%;
    min-height: 60%;
    width: auto;
    height: auto;

    /* Centra el video */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    /* Permite que se desborde verticalmente */
    object-fit: cover;

  }
}

/* ========== SERVICIOS ========== */
#servicios .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

#servicios .section-title {
  font-weight: 800;
  letter-spacing: .02em;
  color: #1f4e79;
  margin-bottom: 1.25rem;
}

#servicios .svc-img {
  width: 100%;
  height: clamp(180px, 24vw, 260px);
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

#servicios .hero-img {
  height: clamp(240px, 36vw, 360px);
}

#servicios .tile-img {
  height: clamp(160px, 18vw, 200px);
}

#servicios .sol-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: clamp(14px, 2.5vw, 18px);
  transition: transform .2s ease;
}

#servicios .svc-item:hover .sol-card {
  transform: translateY(-2px);
}

#servicios h4 {
  margin: 0 0 .35rem 0;
  font-weight: 700;
  color: #052843;
  font-size: clamp(1rem, .9vw + .75rem, 2.18rem);
}

#servicios .sol-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  line-height: 1.45;
  color: #3b3838;
  font-size: clamp(.92rem, .35vw + .78rem, 3rem);
}

#servicios .sol-list li {
  margin: 2.1rem 0;
}

#servicios .row {
  margin-left: 0;
  margin-right: 0;
}

/*contenedor con degradado*/
.gradient-container {
  min-height: 100vh;
  padding: 2rem 0;
}

.black-gradient {
  background: linear-gradient(135deg, #000000, #434343);
  border-radius: 15px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.gradient-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gradient-text {
  line-height: 1.8;
  margin-bottom: 2rem;
}

.gradient-btn {
  background: linear-gradient(to right, #f5af19, #f12711);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #f5af19, #f12711);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*gradiente negro a lo ancho*/

.full-width-gradient {
  background: linear-gradient(135deg, #1c819c, #2c2c2c);
  width: 100vw;
  min-height: 25vh;
  color: #fff;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gradient-title {
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 2.5rem;
}

.gradient-text {
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

.gradient-btn {
  background: linear-gradient(to right, #f5af19, #f12711);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
}

.gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #f5af19, #f12711);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-box {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}





/* Responsivo fino */
@media (max-width: 576px) {
  #servicios .tile-img {
    height: 160px;
  }

  #servicios .hero-img {
    height: 240px;
  }
}

/* ========== GALERÍA (mini carrusel) ========== */
#miniCarousel1 .carousel-inner {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;

}

#miniCarousel1 .carousel-item .col-4 {
  padding: 0 8px;
  /* margen lateral entre imágenes */
}

#miniCarousel1 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: none;
  border: none;

}

#miniCarousel1 .col-4 {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  padding: 0;

}

#miniCarousel1 .col-4 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@supports not (aspect-ratio:1/1) {
  #miniCarousel1 .col-4 {
    height: clamp(90px, 10vw, 140px);
  }
}

/* flip */

.cuerpo-pagina {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contenedor-tarjeta {
  width: 100%;
  max-width: 600px;
  height: 400px;
  perspective: 1000px;
  margin: 0 auto;
}

.interno-tarjeta {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.contenedor-tarjeta:hover .interno-tarjeta {
  transform: rotateX(180deg);
}

.frente-tarjeta,
.reverso-tarjeta {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.frente-tarjeta {
  background: linear-gradient(145deg, #004aad 0%, #0070f3 100%);
  color: white;
}

.frente-tarjeta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}

.reverso-tarjeta {
  background: linear-gradient(145deg, #ff416c 0%, #ff4b2b 100%);
  color: white;
  transform: rotateX(180deg);
}

.reverso-tarjeta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}

.contenido-tarjeta {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.titulo-principal {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitulo {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
  max-width: 90%;
  line-height: 1.4;
  margin-left: auto;
  margin-right: auto;
}

.contenedor-icono {
  font-size: 4rem;
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.instruccion-volteo {
  position: absolute;
  bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 12px;
  border-radius: 15px;
  z-index: 1;
}

.lista-caracteristicas {
  text-align: left;
  margin-top: 15px;
  width: 80%;
}

.lista-caracteristicas li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.lista-caracteristicas i {
  margin-right: 12px;
  font-size: 1.2rem;
  width: 25px;
  text-align: center;
}

/*tarjeta 1*/

.contenedor-tarjeta {
  width: 100%;
  max-width: 600px;
  height: 400px;
  perspective: 1000px;
  margin: 0 auto;
}

.frente-tarjeta1,
.reverso-tarjeta1 {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.frente-tarjeta1 {
  background: linear-gradient(145deg, #004aad 0%, #1f4e79 100%);
  color: white;
}

.frente-tarjeta1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/R7856.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.reverso-tarjeta1 {
  background: linear-gradient(135deg, #1c819c, #2c2c2c);
  color: white;
  transform: rotateX(180deg);
}

.reverso-tarjeta1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/R7856.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

/*tarjeta 2*/

.frente-tarjeta2,
.reverso-tarjeta2 {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.frente-tarjeta2 {
  background: linear-gradient(145deg, #000205 0%, #1f4e79 100%);
  color: white;
}

.frente-tarjeta2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/vision.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.reverso-tarjeta2 {
  background: linear-gradient(135deg, #1c819c, #2c2c2c);
  color: white;
  transform: rotateX(180deg);
}

.reverso-tarjeta2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/vision.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

/*tarjeta 3*/

.frente-tarjeta3,
.reverso-tarjeta3 {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.frente-tarjeta3 {
  background: linear-gradient(145deg, #004aad 0%, #1f4e79 100%);
  color: white;
}

.frente-tarjeta3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/conv.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.reverso-tarjeta3 {
  background: linear-gradient(135deg, #1c819c, #2c2c2c);
  color: white;
  transform: rotateX(180deg);
}

.reverso-tarjeta3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/conv.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}


/*tarjeta 4*/

.frente-tarjeta4,
.reverso-tarjeta4 {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.frente-tarjeta4 {
  background: linear-gradient(145deg, #004aad 0%, #1f4e79 100%);
  color: white;
}

.frente-tarjeta4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/plc.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.reverso-tarjeta4 {
  background: linear-gradient(135deg, #1c819c, #2c2c2c);
  color: white;
  transform: rotateX(180deg);
}

.reverso-tarjeta4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/plc.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}


/*tarjeta 5*/

.frente-tarjeta5,
.reverso-tarjeta5 {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.frente-tarjeta5 {
  background: linear-gradient(145deg, #004aad 0%, #1f4e79 100%);
  color: white;
}

.frente-tarjeta5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/celd.JPG');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.reverso-tarjeta5 {
  background: linear-gradient(135deg, #1c819c, #2c2c2c);
  color: white;
  transform: rotateX(180deg);
}

.reverso-tarjeta5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/celd.JPG');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

/*tarjeta 6*/

.frente-tarjeta6,
.reverso-tarjeta6 {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.frente-tarjeta6 {
  background: linear-gradient(145deg, #004aad 0%, #1f4e79 100%);
  color: white;
}

.frente-tarjeta6::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/cap.png');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.reverso-tarjeta6 {
  background: linear-gradient(135deg, #1c819c, #2c2c2c);
  color: white;
  transform: rotateX(180deg);
}

.reverso-tarjeta6::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/cap.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}


/* background */

.background {
  z-index: -2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("/img/conv.jpg");
  background-size: cover;
  background-position: center center;
  opacity: 0.3;
}