/**
* Template Name: MLA
* Template URL: https://bootstrapmade.com/
* Author: papirostudio.mx
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #d50080;
  text-decoration: none;
}

a:hover {
  color: #d50080;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}


/*------

-----*/

/* external css: flickity.css */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body { font-family: sans-serif; }

.gallery {
  background: #EEE;
}

.gallery-cell {
  width: 66%;
  height: 200px;
  margin-right: 10px;
  background: #8C8;
  counter-increment: gallery-cell;
}

/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}


/** ================
 * Responsive
 ===================*/
 @media only screen and (min-width: 768px) and (max-width: 959px) {
  .pricing-wrapper {
    width: 768px;
  }

  .pricing-table {
    width: 236px;
  }
  
  .table-list li {
    font-size: 1.3em;
  }

 }

 @media only screen and (max-width: 767px) {
  .pricing-wrapper {
    width: 420px;
  }

  .pricing-table {
    display: block;
    float: none;
    margin: 0 0 20px 0;
    width: 100%;
  }
 }

@media only screen and (max-width: 479px) {
  .pricing-wrapper {
    width: 300px;
  }
} 




/*--------------------------------------------------------------
# TWITTER 
--------------------------------------------------------------*/

blockquote.twitter-tweet {
  display: inline-block;
  font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 16px;
  border-color: #eee #ddd #bbb;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  margin: 10px 5px;
  padding: 0 16px 16px 16px;
  max-width: 468px;
}

blockquote.twitter-tweet p {
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
}

blockquote.twitter-tweet a {
  color: inherit;
  font-weight: normal;
  text-decoration: none;
  outline: 0 none;
}

blockquote.twitter-tweet a:hover,
blockquote.twitter-tweet a:focus {
  text-decoration: underline;
}



/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
a.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #d50080, #522fb2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease, visibility 0.3s, opacity 0.3s, transform 0.3s;
  -webkit-transition: all 0.3s ease, visibility 0.3s, opacity 0.3s, transform 0.3s;
}

a.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

a.back-to-top:hover {
  background: linear-gradient(135deg, #522fb2, #d50080);
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

a.back-to-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  -webkit-transform: translateY(0);
  animation: fadeInUp 0.4s ease-out;
  -webkit-animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@media (max-width: 576px) {
  a.back-to-top {
    width: 44px;
    height: 44px;
    right: 15px;
    bottom: 15px;
  }
  a.back-to-top i {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  a.back-to-top {
    width: 56px;
    height: 56px;
  }
  a.back-to-top i {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #d50080;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 991px) {
  #header {
    width: 300px;
    background: #fff;
    border-right: 1px solid #e6e9ec;
    left: -300px;
  }
}

@media (min-width: 991px) {
  #main {
    margin-left: 100px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.nav-menu {
  padding: 0;
  display: block;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #d50080;
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 50px;
  background: #fddef1;
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
}

.nav-menu a span,
.nav-menu a:focus span {
  padding: 0 5px 0 7px;
  color: #45505b;
}

@media (min-width: 992px) {

  .nav-menu a,
  .nav-menu a:focus {
    width: 56px;
  }

  .nav-menu a span,
  .nav-menu a:focus span {
    display: none;
    color: #fff;
  }
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  color: #fff;
  background: #522fb2;
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover>a span {
  color: #fff;
}

.nav-menu a:hover,
.nav-menu li:hover>a {
  width: 100%;
  color: #fff;
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
  display: block;
}

/**
* Mobile Navigation 
*/

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 28px;
  transition: all 0.4s;
  outline: none;
  line-height: 0;
  cursor: pointer;
  border-radius: 50px;
  padding: 5px;
}



.mobile-nav-toggle.white {
  color: #fff;
}



/* Color por defecto del icono (gris) */
.mobile-nav-toggle i {
  color: #45505b;
  transition: color 0.3s;
}

/* Color blanco solo cuando está en hero (clase aplicada dinámicamente) */
.mobile-nav-toggle.white i {
  color: #fff;
}


/* Estilos cuando el menú está activo */
.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
  background-color: #d50080;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg0.png") top right no-repeat;
  /*background: url("../img/hero-bg1.jpg") top right no-repeat;*/
  background-size: cover;
  position: relative;
}

@media (min-width: 992px) {
  #hero {
    padding-left: 160px;
  }
}

#hero:before {
  content: "";
  background: rgba(0, 0, 255, 0.1);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #ffffff;
}

#hero h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 300;
  line-height: 46px;
  color: #ffffff;
}

#hero p {
  color: #845bff;
  margin: 15px 0 0 0;
  font-size: 54px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  color: #d50080;
  letter-spacing: 1px;
}

#hero .social-links {
  margin-top: 30px;
}

#hero .social-links a {
  font-size: 32px;
  display: inline-block;
  color: #e7defe;
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

#hero .social-links a:hover {
  color: #d50080;
}

@media (max-width: 992px) {
  #hero {
    text-align: center;

  }

  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }

  #hero p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }
}


/* --------------------------------------------------
   Solo estilo para el botón CTA, SIN tocar #hero
   -------------------------------------------------- */
a.btn-cta {
  display: inline-block;
  vertical-align: text-bottom;   /* baja ligeramente el botón */
  margin-left: 16px;             /* separación respecto a “MLA 2025” */
  padding: 8px 40px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(106,17,203,0.4);
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

a.btn-cta i {
  margin-left: 8px;
  font-size: 20px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

a.btn-cta:hover {
  background: linear-gradient(135deg, #d50080, #6a11cb);
  transform: translateY(-2px);
}

a.btn-cta:hover i {
  transform: translateX(4px);
}

@media (max-width: 480px) {
  a.btn-cta {
    font-size: 16px;
    padding: 6px 30px;
  }
}

/* --------------------------------------------------
   Responsive: solo afectamos al .btn-cta
   -------------------------------------------------- */
@media (max-width: 992px) {
  a.btn-cta {
    display: block;           /* apilado en mobile */
    margin: 12px auto 0;      /* centrado horizontalmente */
    vertical-align: baseline; /* restaura alineación estándar en mobile */
    padding: 8px 40px;
  }
}

/* --------------------------------------------------
   Responsive: solo afectamos al .btn-cta
   -------------------------------------------------- */
@media (max-width: 992px) {
  a.btn-cta {
    display: block;           /* apilado en mobile */
    margin: 12px auto 0;      /* centrado horizontalmente */
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #45505b;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #d50080;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# About Section - Trailer Girl
--------------------------------------------------------------*/
.about {
  background-color: #fafafa;
  padding: 60px 0;
}

.about .section-title {
  margin-bottom: 2rem;
}

.about .section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #d50080;
  margin-bottom: 0.4rem;
  text-align: center;
}

.about .section-title h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 0.3rem;
}

.about .section-title p {
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
  margin: 0;
}

/* Imagen */
.about .about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

/* Scrollbox */
.about .scrollbox {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  line-height: 1.9;
  scrollbar-width: thin;
  scrollbar-color: #d50080 #f1f1f1;
}

.about .scrollbox p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1.6rem;
  text-align: justify;
}

.about .scrollbox::-webkit-scrollbar {
  width: 6px;
}

.about .scrollbox::-webkit-scrollbar-thumb {
  background-color: #d50080;
  border-radius: 4px;
}

.about .scrollbox::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* Responsivo */
@media (max-width: 992px) {
  .about .scrollbox {
    max-height: 50vh;
    padding: 1rem;
  }

  .about .section-title h2,
  .about .section-title h3,
  .about .section-title p {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .about {
    padding: 40px 20px;
  }

  .about .scrollbox {
    max-height: 50vh;
    line-height: 1.85;
  }

  .about .scrollbox p {
    font-size: 1rem;
    margin-bottom: 1.6rem;
  }

  .about .section-title h2 {
    font-size: 1.8rem;
  }

  .about .section-title h3 {
    font-size: 1.3rem;
  }

  .about .section-title p {
    font-size: 1rem;
  }
}



/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts .count-box {
  padding: 30px 30px 25px 30px;
  margin-top: 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
}

.facts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: #d50080;
  color: #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.facts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #011426;
}

.facts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #45505b;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #f2f3f5;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #d50080;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #45505b;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #d50080;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #d50080;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #f7f8f9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #d50080;
}

/*--------------------------------------------------------------
# AGENDA - PROGRAMA
--------------------------------------------------------------*/
:root { 
  --primary: #522fb2; 
  --primary-hover: #3c2284; 
  --accent: #fb0de2; 
  --accent-hover: #ad93fc; 
  --background-light: #f8f8f8; 
  --border-light: #ddd; 
  --text-default: #272829; 
  --text-light: #ffffff; 
  --gradient-start: #ff6600; 
  --gradient-end: #ff9900; 
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.05); 
  --transition: all 0.3s ease; 
} 

/* Botones */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  padding: 8px 14px; 
  background-color: var(--accent); 
  color: var(--text-light); 
  border-radius: 8px; 
  text-decoration: none; 
  font-size: 0.9rem; 
  font-weight: 500; 
  transition: var(--transition); 
} 
.btn:hover { background-color: var(--accent-hover); } 
.btn-download-programa { 
  padding: 10px 18px; 
  font-size: 0.95rem; 
  margin-bottom: 15px; 
  display: inline-block;
} 

/* Sección agenda */ 
.agenda-programa { padding: 40px 0; } 
.agenda-programa .section-title { text-align: center; margin-bottom: 30px; } 
.agenda-programa .section-title h2 { font-size: 2rem; font-weight: bold; } 
.agenda-programa .section-title p { color: #555; font-size: 1rem; margin-bottom: 15px; } 

/* Visor PDF - Base */ 
.pdf-viewer { 
  background-color: var(--background-light); 
  border: 3px solid var(--primary); 
  border-radius: 8px; 
  overflow: hidden; 
  box-shadow: var(--shadow-md); 
  margin: 20px 0; 
  position: relative; 
  max-width: 100%; 
  -webkit-overflow-scrolling: touch;
} 
.pdf-viewer::before { 
  content: ""; 
  display: block; 
  height: 6px; 
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end)); 
} 

/* Wrapper con fallback para Chrome móvil */
.pdf-wrapper { 
  position: relative; 
  width: 100%; 
  padding-bottom: 177.78%; /* relación 9:16 = 16/9 ≈ 177.78% */ 
  height: 0; 
} 
.pdf-wrapper embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  border: none; 
  -webkit-transform: translateZ(0); /* hack para Chrome iOS */
} 

/* Texto de fallback */
.pdf-fallback { 
  text-align: center; 
  font-size: 0.95rem; 
  color: var(--primary); 
  margin-top: 15px; 
  line-height: 1.4; 
} 
.pdf-fallback a { 
  color: var(--accent); 
  text-decoration: underline; 
} 

/* 📱 Móviles y tablets → Mantener 9:16 */
@media (max-width: 1024px) { 
  .pdf-viewer { margin: 10px auto; } 
  .btn-download-programa { 
    display: block; 
    width: 100%; 
    text-align: center; 
    padding: 12px 20px; 
    margin: 10px auto 20px; 
    font-size: 1rem; 
  } 
} 

/* 💻 Escritorio → Alto dinámico */
@media (min-width: 1025px) { 
  .pdf-wrapper { 
    position: relative; 
    width: 100%; 
    padding-bottom: 0; 
    height: 80vh; /* Se ajusta en escritorio */ 
  } 
  .pdf-wrapper embed { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
  } 
}

:root {
  --primary: #522fb2;
  --primarybtn: #fb0de2;
  --text-light: #ffffff;
  --text-dark: #272829;
}

/* Marquee Section */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primarybtn));
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;       /* Asegura altura mínima en escritorio */
  width: 100%;
  background-clip: border-box;
  background-size: cover;
}

/* Overlay Particles */
.marquee::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.2)"/><circle cx="180" cy="180" r="2" fill="rgba(255,255,255,0.2)"/><circle cx="100" cy="50" r="2" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="150" r="2" fill="rgba(255,255,255,0.2)"/></svg>');
  background-size: 150px;
  background-repeat: repeat;
  opacity: 0.15;
  animation: particles 25s linear infinite;
  z-index: 0;
}

@keyframes particles {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100px, -100px); }
}

/* Wrapper interno para contenido */
.marquee-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
}

/* Grid flexible */
.marquee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: center;
}

/* Logo */
.marquee-logo {
  background: rgba(255, 255, 255, 0.95);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 220px;
  max-height: 180px;
  margin: 0 auto;
}

.marquee-logo img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

/* Textos */
.marquee-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.marquee-text .description {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text-light);
}

.marquee-text .cta-text {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Botón */
.btn-marquee {
  display: inline-block;
  padding: 10px 18px;
  background-color: var(--text-light);
  color: var(--primary);
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-marquee::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
}

.btn-marquee:hover {
  color: var(--text-light);
  background-color: var(--primarybtn);
  transform: scale(1.05);
}

.btn-marquee:hover::before {
  left: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .marquee {
    padding: 40px 15px;
    min-height: auto;
  }

  .marquee-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .marquee-logo {
    max-width: 260px;
    max-height: 150px;
    padding: 12px;
  }

  .marquee-logo img {
    max-height: 120px;
  }

  .marquee-text h3 { font-size: 18px; }
  .marquee-text .description { font-size: 14px; }
  .marquee-text .cta-text { font-size: 13px; }
  .btn-marquee { display: block; width: fit-content; margin: 0 auto; font-size: 13px; padding: 8px 16px; }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #fb0de2;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #522fb2;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(69, 80, 91, 0.8);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #d7dce1;
  border-left: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 74px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #d7dce1;
  border-right: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fb0de2;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #45505b;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #45505b;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #F914BB;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #d50080;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #d50080;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(69, 80, 91, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

:root {
  --primary: #522fb2;
  --highlight-pink: #ff69b4;
  --text-light: #fff;
  --card-bg: #fff;
  --card-shadow: rgba(0,0,0,0.1);
  --diamante-border: #ffe73c; /* Plata brillante #C0C0C0*/
  --zafiro-border: #abe0ff; /* Azul zafiro vibrante #1D4ED8*/
  --esmeralda-border: #abfeeb; /* Verde esmeralda intenso #059669*/
  --rubi-border: #ff6d68; /* Rojo rubí saturado #B91C1C*/
  --ambar-border: #ffce7d; /* Ámbar cálido y brillante #D97706*/
  
}

/* Contenedor flex */
#sponsorship .sponsors-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0;
}

/* Anchos fijos por nivel */
#sponsorship .nivel-1 .sponsor-item { flex: 0 0 240px; }
#sponsorship .nivel-2 .sponsor-item { flex: 0 0 200px; }
#sponsorship .nivel-3 .sponsor-item { flex: 0 0 180px; }
#sponsorship .nivel-4 .sponsor-item { flex: 0 0 160px; }
#sponsorship .nivel-5 .sponsor-item { flex: 0 0 140px; }

/* Flip 3D */
.sponsor-item {
  position: relative;
  perspective: 1000px;
  height: 360px;
  touch-action: manipulation;
}
.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}
/* Desktop: hover invierte */
@media (hover: hover) {
  .sponsor-item:hover .card-inner {
    transform: rotateY(180deg);
  }
}
/* Toggle (click en icono) invierte siempre */
.toggle:checked + .card-inner {
  transform: rotateY(180deg);
}
/* Mobile: tap invierte */
@media (max-width: 480px) {
  .sponsor-item:active .card-inner {
    transform: rotateY(180deg);
  }
}

@media (max-width: 320px) {
  #sponsorship .sponsors-group .sponsor-item {
    flex: 0 0 100%;
    max-width: 280px;
  }
}

/* Caras */
.card-front, .card-back {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--card-shadow);
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.card-front {
  background: var(--card-bg);
}
.card-back {
  background: var(--primary);
  color: var(--text-light);
  transform: rotateY(180deg);
  padding: 1rem;
  box-sizing: border-box;
}

/* Bordes por nivel */
.nivel-1 .card-front, .nivel-1 .card-back {
  /*border: 4px solid var(--diamante-border); */
  box-shadow: 3px 3px 15px -3px var(--diamante-border);
}
.nivel-2 .card-front, .nivel-2 .card-back {
  /*border: 4px solid var(--zafiro-border); */
  box-shadow: 3px 3px 15px -3px var(--zafiro-border);
}
.nivel-3 .card-front, .nivel-3 .card-back {
  /*border: 4px solid var(--esmeralda-border); */
  box-shadow: 3px 3px 15px -3px var(--esmeralda-border);
}
.nivel-4 .card-front, .nivel-4 .card-back {
  /*border: 4px solid var(--rubi-border); */
  box-shadow: 3px 3px 15px -3px var(--rubi-border);
}
.nivel-5 .card-front, .nivel-5 .card-back {
  /*border: 4px solid var(--ambar-border); */
  box-shadow: 3px 3px 15px -3px var(--ambar-border);
}


/* Imagen + etiqueta rosa */
.sponsor-img {
  width: 100%; height: 140px;
  display: flex; justify-content: center; align-items: center;
  background: var(--card-bg);
}
.sponsor-img img {
  width: 80%; object-fit: contain;
}
.sponsor-label {
  position: absolute; bottom: 0; width: 100%;
  background: var(--highlight-pink);
  text-align: center; padding: 0.75rem 0;
}
.sponsor-label h4 {
  margin: 0; color: var(--text-light);
  font-size: 1.1rem; font-weight: bold;
}

/* Icono de apertura (front) */
.card-front .info-icon {
  position: absolute;
  display: flex !important;
  bottom: 3.5rem; right: 0.75rem;
  width: 2.5rem; height: 2.5rem;
  font-size: 1.8rem;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  border-radius: 50%;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  z-index: 10;
}
.card-front .info-icon:hover {
  background: #fff; transform: scale(1.1);
}

/* Contenido trasero */
.back-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  align-items: center; /* Centra los elementos hijos horizontalmente */
}

/* Contenedor de texto desplazable */
.text-container {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.5rem;
  width: 100%; /* Asegura que el texto ocupe el ancho disponible */
}

/* Texto */
.text-container p {
  margin: 0;
  font-size: 0.80rem;
  line-height: 1.5;
  text-align: center;
}
.nivel-5 .text-container p {
  font-size: 0.70rem;
  line-height: 1.4;
}

/* Botón fijo */
.visit-btn {
  position: sticky;
  bottom: 0;
  background: var(--card-bg);
  color: var(--primary);
  padding: 0.5rem 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  z-index: 10;
  max-width: 90%; /* Ajuste para que ocupe casi todo el ancho de la tarjeta */
  width: 100%; /* Usa el ancho disponible */
  text-align: center; /* Centrado del texto */
  white-space: normal; /* Permite que el texto se divida en líneas */
}
.nivel-5 .visit-btn {
  font-size: 0.70rem;
  padding: 0.4rem 0;
}
.visit-btn:hover {
  background: rgba(255,255,255,0.8);
}

/* Ocultar checkbox */
.toggle { display: none; }

/* Ajustes para pantallas muy pequeñas (≤320px) */
@media (max-width: 320px) {
  .card-back {
    padding: 0.70rem;
  }
  .visit-btn {
    padding: 0.35rem 0;
    font-size: 0.7rem;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.05);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .icon-box .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: #45505b;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

.services .iconbox-blue i {
  color: #47aeff;
}

.services .iconbox-blue:hover .icon i {
  color: #fff;
}

.services .iconbox-blue:hover .icon path {
  fill: #47aeff;
}

.services .iconbox-orange i {
  color: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
  color: #fff;
}

.services .iconbox-orange:hover .icon path {
  fill: #ffa76e;
}

.services .iconbox-pink i {
  color: #e80368;
}

.services .iconbox-pink:hover .icon i {
  color: #fff;
}

.services .iconbox-pink:hover .icon path {
  fill: #e80368;
}

.services .iconbox-yellow i {
  color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
  color: #fff;
}

.services .iconbox-yellow:hover .icon path {
  fill: #ffbb2c;
}

.services .iconbox-red i {
  color: #ff5828;
}

.services .iconbox-red:hover .icon i {
  color: #fff;
}

.services .iconbox-red:hover .icon path {
  fill: #ff5828;
}

.services .iconbox-teal i {
  color: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
  color: #fff;
}

.services .iconbox-teal:hover .icon path {
  fill: #11dbcf;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 250px;
  border-radius: 5%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 24px;
  font-weight: bold;
  color: #d50080;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #F3B3FF;
  font-size: 36px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  font-size: 26px;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #d50080;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #d50080;
}


@media (max-width: 576px) {
  .testimonials .testimonial-item .testimonial-img {
    width: 150px; /* Reducir el tamaño de la imagen */
  }
  .testimonials .testimonial-item p {
    font-size: 18px; /* Reducir el tamaño del texto */
  }
  .testimonials .testimonial-item .quote-icon-left,
  .testimonials .testimonial-item .quote-icon-right {
    font-size: 24px; /* Reducir el tamaño de los íconos */
  }
  .section-title h2 {
    font-size: 24px; /* Reducir el tamaño del título */
  }
}


@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #d50080;
  float: left;
  width: 44px;
  height: 44px;
  background: #eef7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #45505b;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #728394;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #0563bb;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #d50080;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #522fb2;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* === PRIVACIDAD === */
.privacy-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  line-height: 1.7;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.privacy-container h2 {
  color: #444;
  margin-top: 1.8em;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.3em;
}

.privacy-container ul,
.privacy-container ol {
  margin: 1em 0 1em 2em;
}

.privacy-container a {
  color: #0077cc;
  text-decoration: none;
}

.privacy-container a:hover {
  text-decoration: underline;
}

.header {
  text-align: center;
  padding: 20px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.header h1 {
  margin: 0;
  font-size: 2rem;
}

.footer {
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #777;
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #f7f8f9;
  color: #45505b;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 28px;
  display: inline-block;
  background: #d50080;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 46px;
  height: 46px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #522fb2;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}