/* Importar Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@800&family=Inter:wght@400;600&family=Raleway:wght@600&display=swap");

:root {
  --color-primary: #f6b81a;
  --color-secondary: #19355a;
  --color-accent: #277e86;
  --color-light: #f4f4f4;
  --color-dark: #1c1c1c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: var(--color-secondary);
}

.subtitle {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-style: italic;
  color: var(--color-accent);
}

/* Navbar Styles */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  border-radius: 0 0 50px 50px;
  margin-bottom: 0;
  margin-left: 10%;
  overflow: hidden;
  width: 80%;
  z-index: 1000;
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-secondary) !important;
}

.navbar-brand:hover {
  color: var(--color-primary) !important;
}

@media (max-width: 480px) {
  .navbar-custom {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

.navbar-nav .nav-link {
  color: var(--color-secondary) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: url("../images/fondo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  z-index: 1;
}

/* Para usar tu propia imagen, reemplaza la URL anterior con: url('../images/hero-bg.jpg') */
/* Asegúrate de colocar tu imagen en la carpeta images/ con el nombre hero-bg.jpg */

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(246, 184, 26, 0.75) 0%,
    rgba(39, 126, 134, 0.8) 100%
  );
  z-index: 1;
  margin-top: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
  margin-top: 0;
  padding-top: 7rem; /* Espacio para el navbar fijo */
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.hero-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 480px) {
  .hero-image {
    max-width: 250px;
    margin-top: 20%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-text-wrapper {
  text-align: left;
  padding: 1rem;
}

.hero-section h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-section .subtitle {
  color: #000000;
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Card Styles */
.card-custom {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-custom .card-body {
  padding: 2rem;
}

.card-custom .card-title {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

/* Estilos para Features Section - Más sutiles y menos llamativos */
.features-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2c5aa0 100%);
}

.feature-card {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(246, 184, 26, 0.3);
}

.feature-card-body {
  padding: 2rem 1.5rem;
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
}

.feature-card h4 {
  color: var(--color-secondary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: "Poppins", sans-serif;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn-feature {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-feature:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(246, 184, 26, 0.3);
}

/* Responsive para Features Section */
@media (max-width: 768px) {
  .feature-card-body {
    padding: 1.5rem 1.25rem;
  }

  .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .btn-feature {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .feature-card-body {
    padding: 1.25rem 1rem;
  }

  .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .feature-card p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }

  .btn-feature {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    width: 100%;
    max-width: 200px;
  }
}

/* Estilos para Cards de Cursos */
.curso-card {
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.curso-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(246, 184, 26, 0.2);
}

.curso-card .card-img-top {
  transition: transform 0.3s ease;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: #f8f9fa;
  padding: 10px;
}

.curso-card:hover .card-img-top {
  transform: scale(1.05);
}

/* Badge de Descuento */
.curso-badge-descuento {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: linear-gradient(135deg, #ff0000 0%, #ff6b6b 100%);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.badge-descuento {
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Precios */
.curso-precio {
  padding: 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(246, 184, 26, 0.1) 0%,
    rgba(25, 53, 90, 0.05) 100%
  );
  border-radius: 10px;
  border-left: 3px solid var(--color-primary);
}

.precio-anterior {
  color: #999;
  text-decoration: line-through;
  font-size: 0.9rem;
  font-weight: 500;
}

.precio-actual {
  color: var(--color-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
}

.precio-proximamente {
  color: #999;
  font-style: italic;
  font-size: 0.95rem;
}

/* Curso Próximamente */
.curso-proximamente {
  opacity: 0.85;
  filter: grayscale(20%);
}

.curso-proximamente:hover {
  opacity: 0.95;
  filter: grayscale(10%);
}

/* Badge de Oferta */
.badge.bg-danger {
  background-color: #dc3545 !important;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.btn-primary-custom {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--color-secondary);
  color: white;
  transform: scale(1.05);
}

.btn-secondary-custom {
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: var(--color-secondary);
  transform: scale(1.05);
}

/* Section Styles */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-secondary);
}

.section-title.text-start {
  text-align: left;
  margin-bottom: 2rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

/* Content Blocks */
.content-block {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.content-block h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.content-block p {
  color: #666;
}

/* Carrusel de Proyectos */
#proyectosCarousel {
  margin-top: 2rem;
}

#proyectosCarousel .carousel-item {
  padding: 1rem 0;
}

#proyectosCarousel .carousel-item img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

#proyectosCarousel .carousel-item h3 {
  color: var(--color-secondary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

#proyectosCarousel .carousel-item .lead {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

#proyectosCarousel .carousel-item p {
  color: #666;
  line-height: 1.8;
}

#proyectosCarousel .carousel-control-prev,
#proyectosCarousel .carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

#proyectosCarousel .carousel-control-prev-icon,
#proyectosCarousel .carousel-control-next-icon {
  background-color: var(--color-secondary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#proyectosCarousel .carousel-control-prev:hover,
#proyectosCarousel .carousel-control-next:hover {
  opacity: 1;
}

#proyectosCarousel .carousel-indicators {
  margin-bottom: -2rem;
}

#proyectosCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  opacity: 0.5;
}

#proyectosCarousel .carousel-indicators button.active {
  opacity: 1;
  background-color: var(--color-primary);
}

/* Sección de Colaboraciones */
.section-padding .follower-count {
  font-size: 2rem;
  font-weight: 800;
}

.section-padding .card-custom:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.section-padding a:hover {
  text-decoration: none;
}

.section-padding .card-custom a:hover .card-custom {
  transform: translateY(-8px);
}

/* Animaciones para íconos de redes sociales */
.section-padding .fab,
.section-padding .fas {
  transition: all 0.3s ease;
  display: inline-block;
}

/* Animación continua sutil para los íconos */
.section-padding .fab.fa-facebook-f {
  animation: floatIcon 3s ease-in-out infinite;
  animation-delay: 0s;
}

.section-padding .fab.fa-instagram {
  animation: floatIcon 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.section-padding .fab.fa-youtube {
  animation: floatIcon 3s ease-in-out infinite;
  animation-delay: 1s;
}

.section-padding .fab.fa-tiktok {
  animation: floatIcon 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

/* Animación al hacer hover - pausa la flotación y agrega efecto de pulso */
.section-padding .card-custom:hover .fab,
.section-padding .card-custom:hover .fas {
  animation: iconPulse 0.6s ease-in-out, floatIcon 3s ease-in-out infinite;
  animation-delay: 0s, 0s;
}

@keyframes iconPulse {
  0% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) scale(1.3) rotate(10deg);
  }
  100% {
    transform: translateY(0px) scale(1.2) rotate(5deg);
  }
}

/* Efecto de brillo al hover */
.section-padding .card-custom:hover .fab.fa-facebook-f {
  filter: drop-shadow(0 0 10px rgba(24, 119, 242, 0.6));
}

.section-padding .card-custom:hover .fab.fa-instagram {
  filter: drop-shadow(0 0 10px rgba(228, 64, 95, 0.6));
}

.section-padding .card-custom:hover .fab.fa-youtube {
  filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.6));
}

.section-padding .card-custom:hover .fab.fa-tiktok {
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

/* Sección Hero de Colaboraciones */
.colaboraciones-hero-section {
  position: relative;
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  overflow: hidden;
  border-radius: 25px;
}

.colaboraciones-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(25, 53, 90, 0.85) 0%,
    rgba(39, 126, 134, 0.75) 100%
  );
  z-index: 1;
  border-radius: 25px;
}

.colaboraciones-title {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 3rem;
}

/* Logos de Marcas en Colaboraciones */
.marcas-colaboraciones {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.marca-logo-item {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 100px;
}

.marca-logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.marca-logo-img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: transform 0.3s ease;
}

.marca-logo-item:hover .marca-logo-img {
  transform: scale(1.05);
}

/* Recuadro de Publicidad */
.publicidad-box {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: white;
}

.publicidad-box h3 {
  color: white !important;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.publicidad-box .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.2rem;
}

/* Barra de Cursos */
.cursos-bar {
  background: var(--color-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--color-primary);
}

.cursos-bar-title {
  color: var(--color-secondary);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cursos-bar-title i {
  color: var(--color-primary);
}

.cursos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.curso-tag {
  background: white;
  color: var(--color-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.curso-tag:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--color-secondary);
}

/* Video Gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: var(--color-secondary);
  aspect-ratio: 16/9;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-accent) 100%
  );
  color: white;
  font-size: 1.2rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--color-secondary);
  color: white;
  transform: scale(1.1);
}

/* Footer */
.footer-custom {
  background-color: var(--color-secondary);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-custom h5 {
  color: var(--color-primary);
}

.footer-custom a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-custom a:hover {
  color: var(--color-primary);
}

.footer-motivacion {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Raleway", sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-primary);
}

/* Animations */
.fade-in {
  opacity: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-content {
    padding-top: 4.75rem; /* Espacio para el navbar en pantallas grandes */
  }
}

@media (max-width: 992px) {
  .hero-content {
    padding-top: 4.5rem; /* Espacio para el navbar en pantallas medianas */
  }

  .hero-text-wrapper {
    text-align: center;
    margin-top: 2rem;
  }

  .hero-image {
    max-width: 400px;
  }

  /* CTA Section Responsive - Tablet */
  .section-title {
    font-size: 2.2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  /* Footer Responsive - Tablet */
  .footer-custom .row > div {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    background-attachment: scroll;
  }

  .hero-content {
    padding: 1.5rem 0;
    padding-top: 4.25rem; /* Espacio para el navbar en tablet */
  }

  .hero-content .row {
    flex-direction: column;
  }

  .hero-image-wrapper {
    order: 1;
    margin-bottom: 1.5rem;
  }

  .hero-text-wrapper {
    order: 2;
    text-align: center;
    margin-top: 0;
  }

  .hero-image {
    max-width: 300px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .hero-section .subtitle {
    font-size: 1.6rem;
    text-align: center;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .section-padding {
    padding: 2rem 0;
  }

  .video-gallery {
    grid-template-columns: 1fr;
  }

  /* CTA Section Responsive */
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0.5rem 0.25rem;
  }

  /* Features Section Responsive */
  .card-custom .card-body {
    padding: 1.5rem;
  }

  .card-custom h4 {
    font-size: 1.3rem;
  }

  .card-custom p {
    font-size: 0.9rem;
  }

  .card-custom .fa-3x {
    font-size: 2.5rem !important;
  }

  /* Footer Responsive */
  .footer-custom {
    padding: 2rem 0 1.5rem;
    margin-top: 2rem;
  }

  .footer-custom h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .footer-custom p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .social-icons {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .footer-motivacion {
    font-size: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  /* Carrusel de Proyectos Responsive */
  #proyectosCarousel .carousel-item h3 {
    font-size: 1.5rem;
  }

  #proyectosCarousel .carousel-item .lead {
    font-size: 1.1rem;
  }

  #proyectosCarousel .carousel-item img {
    max-height: 300px;
    margin-bottom: 1.5rem;
  }

  /* Colaboraciones Responsive */
  .section-padding .follower-count {
    font-size: 1.5rem;
  }

  .section-padding .content-block {
    padding: 2rem !important;
  }

  /* Hero Colaboraciones Responsive */
  .colaboraciones-hero-section {
    min-height: 50vh;
    background-attachment: scroll;
    padding: 3rem 0;
  }

  .colaboraciones-title {
    font-size: 2.5rem;
  }

  .marcas-colaboraciones {
    gap: 1.5rem;
  }

  .marca-logo-item {
    min-width: 120px;
    height: 80px;
    padding: 1rem 1.5rem;
  }

  .publicidad-box {
    padding: 2rem;
  }

  .publicidad-box h3 {
    font-size: 1.5rem;
  }

  .cursos-bar {
    padding: 1.5rem;
  }

  .cursos-bar-title {
    font-size: 1.5rem;
  }

  .curso-tag {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 40vh;
  }

  .hero-content {
    padding: 1rem 0;
    padding-top: 4rem; /* Espacio para el navbar en móvil */
  }

  .hero-image {
    max-width: 250px;
  }

  .hero-section h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-section .subtitle {
    font-size: 1.4rem;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  /* CTA Section Responsive - Móvil pequeño */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .lead {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Features Section Responsive - Móvil pequeño */
  .card-custom .card-body {
    padding: 1.25rem;
  }

  .card-custom h4 {
    font-size: 1.1rem;
  }

  .card-custom p {
    font-size: 0.85rem;
  }

  .card-custom .fa-3x {
    font-size: 2rem !important;
  }

  /* Footer Responsive - Móvil pequeño */
  .footer-custom {
    padding: 1.5rem 0 1rem;
  }

  .footer-custom h5 {
    font-size: 1.1rem;
  }

  .footer-custom p {
    font-size: 0.85rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .footer-motivacion {
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }

  /* Carrusel de Proyectos Responsive - Móvil pequeño */
  #proyectosCarousel .carousel-item h3 {
    font-size: 1.3rem;
  }

  #proyectosCarousel .carousel-item .lead {
    font-size: 1rem;
  }

  #proyectosCarousel .carousel-item img {
    max-height: 250px;
  }

  #proyectosCarousel .carousel-control-prev,
  #proyectosCarousel .carousel-control-next {
    width: 8%;
  }

  #proyectosCarousel .carousel-control-prev-icon,
  #proyectosCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }

  /* Colaboraciones Responsive - Móvil pequeño */
  .section-padding .follower-count {
    font-size: 1.3rem;
  }

  .section-padding .content-block {
    padding: 1.5rem !important;
  }

  .section-padding .fab {
    font-size: 3rem !important;
  }

  /* Cards de Cursos Responsive - Móvil pequeño */
  .curso-badge-descuento {
    width: 60px;
    height: 60px;
    top: 10px;
    right: 10px;
  }

  .badge-descuento {
    font-size: 0.9rem;
  }

  .precio-actual {
    font-size: 1.3rem;
  }

  .curso-card .card-img-top {
    aspect-ratio: 1 / 1;
    padding: 8px;
  }

  /* Hero Colaboraciones Responsive - Móvil pequeño */
  .colaboraciones-hero-section {
    min-height: 40vh;
    padding: 2rem 0;
  }

  .colaboraciones-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .marcas-colaboraciones {
    gap: 1rem;
  }

  .marca-logo-item {
    min-width: 100px;
    height: 70px;
    padding: 0.75rem 1rem;
  }

  .marca-logo-img {
    max-height: 60px;
  }

  .publicidad-box {
    padding: 1.5rem;
  }

  .publicidad-box h3 {
    font-size: 1.3rem !important;
  }

  .publicidad-box .lead {
    font-size: 1rem !important;
  }

  .cursos-bar {
    padding: 1rem;
  }

  .cursos-bar-title {
    font-size: 1.3rem;
    flex-direction: column;
    text-align: center;
  }

  .cursos-list {
    gap: 0.75rem;
  }

  .curso-tag {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* Marcas Carousel Infinito */
.marcas-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
  margin-top: 2rem;
}

.marcas-carousel-track {
  display: flex;
  gap: 3rem;
  will-change: transform;
}

.marca-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.5rem;
  min-width: 280px;
  height: 160px;
  background: transparent;
  transition: transform 0.3s ease;
}

.marca-item:hover {
  transform: translateY(-5px);
}

.marca-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: transform 0.3s ease;
}

.marca-item:hover .marca-logo {
  transform: scale(1.05);
}

/* Estado cuando está en el centro */
.marca-item.center .marca-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.marca-item.center {
  transform: translateY(-5px);
}

/* Responsive para carrusel de marcas */
@media (max-width: 768px) {
  .marca-item {
    min-width: 180px;
    height: 110px;
    padding: 0.75rem 1.5rem;
  }

  .marcas-carousel-track {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .marca-item {
    min-width: 150px;
    height: 90px;
    padding: 0.5rem 1rem;
  }

  .marcas-carousel-track {
    gap: 1.5rem;
  }
}

/* Estilos para Sección Historia */
.historia-section {
  background: linear-gradient(
    135deg,
    rgba(246, 184, 26, 0.25) 0%,
    rgba(39, 126, 134, 0.3) 100%
  );
  border-radius: 25px;
  margin: 2rem 0;
}

.historia-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.historia-title {
  color: var(--color-secondary);
  font-size: 2.5rem;
  font-weight: 800;
}

.historia-intro {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.historia-detail {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Responsive para Historia Section */
@media (max-width: 768px) {
  .historia-section {
    margin: 1.5rem 0;
    border-radius: 20px;
  }

  .historia-title {
    font-size: 2rem;
    text-align: center;
  }

  .historia-intro {
    font-size: 1.1rem;
    text-align: center;
  }

  .historia-detail {
    font-size: 0.95rem;
    text-align: justify;
  }
}

@media (max-width: 480px) {
  .historia-section {
    margin: 1rem 0;
    border-radius: 15px;
  }

  .historia-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .historia-intro {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .historia-detail {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .historia-image {
    margin-bottom: 1.5rem;
  }
}

/* Estilos para Sección Redes y Videos */
.redes-videos-section {
  background: linear-gradient(
    135deg,
    rgba(25, 53, 90, 0.1) 0%,
    rgba(39, 126, 134, 0.15) 100%
  );
}

/* Estilos para Sección Proyectos */
.proyectos-section {
  margin: 2rem 0;
}

/* Estilos para Sección Unificada de Colaboraciones */
.colaboraciones-unified {
  padding: 2rem 0;
}

/* Estilos para Colaboraciones Content */
.colaboraciones-content-title {
  color: white;
  font-size: 2rem;
  font-weight: 800;
}

.colaboraciones-content-title i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

/* Estilos para Cards de Colaboraciones */
.colaboracion-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.colaboracion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.colaboracion-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.colaboracion-card:hover .colaboracion-card-icon {
  transform: scale(1.1);
}

.colaboracion-card-icon i {
  font-size: 2rem;
  color: white;
}

.colaboracion-card-title {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.colaboracion-card-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Estilos para Sección Propósito y Consejos */
.proposito-consejos-section {
  background: white;
}

.proposito-content,
.consejos-content {
  width: 100%;
}

/* Estilos para Consejos Section */
.consejos-section {
  background-color: #fafaf8;
  padding: 2rem;
  border-radius: 15px;
}

.consejos-title {
  color: #d3190c;
}

/* Responsive para Sección Unificada de Colaboraciones */
@media (max-width: 768px) {
  .colaboraciones-unified {
    padding: 1.5rem 0;
  }

  .colaboraciones-title {
    font-size: 2rem;
  }

  .colaboraciones-unified .lead {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .colaboraciones-unified {
    padding: 1rem 0;
  }

  .colaboraciones-title {
    font-size: 1.75rem;
  }

  .colaboraciones-unified .lead {
    font-size: 0.9rem;
  }
}

/* Responsive para Colaboraciones Content - Asegurar 2 columnas en móvil */
@media (max-width: 576px) {
  .colaboraciones-unified .row.g-4.justify-content-center > .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 992px) {
  .colaboracion-card {
    padding: 1.75rem 1.25rem;
  }

  .colaboracion-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.25rem;
  }

  .colaboracion-card-icon i {
    font-size: 1.75rem;
  }

  .colaboracion-card-title {
    font-size: 1.1rem;
    min-height: 2.5rem;
  }

  .colaboracion-card-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .colaboraciones-content-title {
    font-size: 1.75rem;
    margin-bottom: 3rem;
  }

  .colaboracion-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1rem;
  }

  .colaboracion-card-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 1rem;
  }

  .colaboracion-card-icon i {
    font-size: 1.5rem;
  }

  .colaboracion-card-title {
    font-size: 1rem;
    min-height: 2.25rem;
    margin-bottom: 0.75rem;
  }

  .colaboracion-card-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .colaboraciones-content-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .colaboracion-card {
    padding: 1.25rem 1rem;
  }

  .colaboracion-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0.75rem;
  }

  .colaboracion-card-icon i {
    font-size: 1.25rem;
  }

  .colaboracion-card-title {
    font-size: 0.9rem;
    min-height: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .colaboracion-card-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* Responsive para Sección Propósito y Consejos */
@media (max-width: 768px) {
  .proposito-consejos-section .row {
    justify-content: center;
  }

  .proposito-content,
  .consejos-content {
    text-align: center;
  }

  .proposito-content .section-title,
  .consejos-content .section-title {
    text-align: center !important;
  }

  .consejos-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .consejos-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .content-block {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .proposito-consejos-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .proposito-content,
  .consejos-content {
    text-align: center;
  }

  .proposito-content .section-title,
  .consejos-content .section-title {
    text-align: center !important;
    font-size: 1.5rem;
  }

  .consejos-section {
    padding: 1.25rem;
    margin-top: 1.5rem;
  }

  .consejos-title {
    font-size: 1.3rem;
    text-align: center;
  }

  .content-block {
    text-align: left;
    padding: 1.25rem;
  }

  .content-block h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .content-block p {
    text-align: justify;
    font-size: 0.9rem;
  }
}

/* Responsive para Proyectos Section */
@media (max-width: 768px) {
  .proyectos-section {
    margin: 1.5rem 0;
  }

  #proyectosCarousel .carousel-item .row {
    flex-direction: column;
  }

  #proyectosCarousel .carousel-item .col-lg-6:first-child {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .proyectos-section {
    margin: 1rem 0;
  }

  #proyectosCarousel .carousel-item h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  #proyectosCarousel .carousel-item .lead {
    font-size: 0.95rem;
    text-align: center;
  }

  #proyectosCarousel .carousel-item p {
    font-size: 0.85rem;
    text-align: justify;
  }
}

/* Responsive para Redes Sociales y Videos - Asegurar 2 columnas en móvil */
@media (max-width: 576px) {
  .redes-videos-section .row.g-4.justify-content-center > .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .card-custom .card-body {
    padding: 1.5rem;
  }

  .card-custom .fab {
    font-size: 3rem !important;
  }

  .card-custom h4 {
    font-size: 1.1rem;
  }

  .video-item {
    height: 180px !important;
  }

  .video-placeholder .fa-play-circle {
    font-size: 3rem !important;
  }
}

@media (max-width: 480px) {
  .card-custom .card-body {
    padding: 1.25rem;
  }

  .card-custom .fab {
    font-size: 2.5rem !important;
  }

  .card-custom h4 {
    font-size: 1rem;
  }

  .card-custom p {
    font-size: 0.8rem;
  }

  .video-item {
    height: 150px !important;
  }

  .video-placeholder .fa-play-circle {
    font-size: 2.5rem !important;
  }

  .card-custom h5 {
    font-size: 0.95rem;
  }
}

/* Responsive para Sección de Cursos */
@media (max-width: 768px) {
  .curso-card .card-body {
    padding: 1.25rem;
  }

  .curso-card .card-img-top {
    aspect-ratio: 1 / 1;
    padding: 8px;
  }

  .curso-card .card-title {
    font-size: 1.2rem;
  }

  .curso-card .card-text {
    font-size: 0.9rem;
  }

  .precio-actual {
    font-size: 1.2rem;
  }

  .precio-anterior {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .curso-card .card-body {
    padding: 1rem;
  }

  .curso-card .card-img-top {
    aspect-ratio: 1 / 1;
    padding: 5px;
  }

  .curso-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .curso-card .card-text {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .curso-precio {
    margin: 1rem 0;
  }

  .precio-actual {
    font-size: 1.1rem;
  }

  .precio-anterior {
    font-size: 0.8rem;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

/* ============================================
   ESTILOS PARA SECCIÓN NUESTROS SERVICIOS
   ============================================ */
.servicios-section {
  background: linear-gradient(
    135deg,
    rgba(246, 184, 26, 0.1) 0%,
    rgba(39, 126, 134, 0.15) 50%,
    rgba(25, 53, 90, 0.1) 100%
  );
  position: relative;
  overflow: hidden;
}

.servicios-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(246, 184, 26, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(39, 126, 134, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.servicios-section .container {
  position: relative;
  z-index: 1;
}

.servicios-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(246, 184, 26, 0.2);
}

.servicios-subtitle {
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.servicio-card {
  position: relative;
  background: white;
  border: 2px solid transparent;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.servicio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.servicio-card:hover::before {
  transform: scaleX(1);
}

.servicio-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px rgba(246, 184, 26, 0.25),
    0 0 30px rgba(39, 126, 134, 0.15);
}

.servicio-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(246, 184, 26, 0.3);
}

.servicio-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.servicio-card:hover .servicio-icon-wrapper::before {
  width: 200px;
  height: 200px;
}

.servicio-icon {
  font-size: 3rem;
  color: white;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.servicio-card:hover .servicio-icon {
  transform: scale(1.15) rotate(5deg);
}

.servicio-card:hover .servicio-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(246, 184, 26, 0.4),
    0 0 40px rgba(39, 126, 134, 0.3);
}

.servicio-title {
  color: var(--color-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.servicio-card:hover .servicio-title {
  color: var(--color-primary);
}

.servicio-text {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.servicio-card:hover .servicio-text {
  color: #555;
}

/* Responsive para Sección Nuestros Servicios */
@media (max-width: 576px) {
  /* Asegurar 2 columnas en móvil para servicios */
  .servicios-section .row.g-4 > .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .servicios-section .card-custom .card-body {
    padding: 1.25rem 1rem;
  }

  .servicios-title {
    font-size: 2rem;
  }

  .servicios-subtitle {
    font-size: 1rem;
  }

  .servicio-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }

  .servicio-icon {
    font-size: 2.5rem;
  }

  .servicio-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .servicio-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .servicios-title {
    font-size: 2.2rem;
  }

  .servicios-subtitle {
    font-size: 1.1rem;
  }

  .servicio-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 1.25rem;
  }

  .servicio-icon {
    font-size: 2.75rem;
  }

  .servicio-title {
    font-size: 1.3rem;
  }

  .servicio-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .servicios-title {
    font-size: 1.8rem;
  }

  .servicios-subtitle {
    font-size: 0.95rem;
  }

  .servicio-card .card-body {
    padding: 1.25rem 1rem;
  }

  .servicio-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 0.75rem;
  }

  .servicio-icon {
    font-size: 2rem;
  }

  .servicio-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .servicio-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* Responsive para Testimonios */
.testimonial-avatar {
  flex-shrink: 0;
}

.testimonios-section .card-custom {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .testimonios-section .testimonial-avatar {
    margin-right: 1rem !important;
  }

  .testimonios-section .testimonial-avatar i {
    font-size: 1.75rem !important;
  }

  .testimonios-section .card-custom .card-body {
    padding: 1.25rem;
  }

  .testimonios-section .card-custom h6 {
    font-size: 1rem;
  }

  .testimonios-section .card-custom small {
    font-size: 0.8rem;
  }

  .testimonios-section .card-custom .fa-star {
    font-size: 0.9rem;
  }

  .testimonios-section .card-custom p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .testimonios-section .testimonial-avatar {
    margin-right: 0.75rem !important;
    margin-bottom: 0;
  }

  .testimonios-section .testimonial-avatar i {
    font-size: 1.5rem !important;
  }

  .testimonios-section .card-custom .card-body {
    padding: 1rem 0.75rem;
  }

  .testimonios-section .card-custom .d-flex.align-items-start {
    flex-direction: row;
    align-items: flex-start;
  }

  .testimonios-section .card-custom .d-flex.justify-content-between {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
  }

  .testimonios-section .card-custom h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .testimonios-section .card-custom small {
    font-size: 0.7rem;
  }

  .testimonios-section .card-custom p {
    font-size: 0.8rem;
    text-align: justify;
    line-height: 1.4;
    margin-top: 0.5rem;
    margin-bottom: 0;
  }

  .testimonios-section .card-custom .fa-star {
    font-size: 0.75rem;
  }

  .testimonios-section li {
    margin-bottom: 1rem !important;
  }
}

/* ============================================
   ESTILOS PARA TIPS DE FINANZAS
   ============================================ */

/* Hero Section con fondo de imagen y overlay personalizado */
.tips-finanzas-hero {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 60vh;
}

/* Animaciones fade-in-up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Delays para animaciones escalonadas */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

.delay-9 {
  transition-delay: 0.9s;
}

.delay-10 {
  transition-delay: 1s;
}

/* Cards de Tips mejorados */
.tips-finanzas-section .tips-card {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 2px solid transparent;
}

.tips-finanzas-section .tips-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #f6b81a 0%, #277e86 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tips-finanzas-section .tips-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(39, 126, 134, 0.25);
  border-color: #277e86;
}

.tips-finanzas-section .tips-card:hover::before {
  transform: scaleX(1);
}

/* Iconos de Tips */
.tips-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f6b81a 0%, #277e86 100%);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(39, 126, 134, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tips-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.tips-card:hover .tips-icon-wrapper::before {
  width: 200px;
  height: 200px;
}

.tips-icon {
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.tips-card:hover .tips-icon {
  transform: scale(1.1) rotate(5deg);
}

.tips-card:hover .tips-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(39, 126, 134, 0.4);
}

/* Lista de Tips */
.tips-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.tips-list li {
  padding: 0.75rem 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.tips-list li i {
  color: #277e86;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.tips-card:hover .tips-list li {
  color: #333;
  transform: translateX(5px);
}

.tips-card:hover .tips-list li i {
  color: #f6b81a;
  transform: scale(1.2);
}

/* Títulos de Tips */
.tips-card h3 {
  color: #277e86;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.tips-card:hover h3 {
  color: #f6b81a;
}

/* Párrafos de Tips */
.tips-card p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-finanzas-section {
  position: relative;
  overflow: hidden;
}

.cta-finanzas-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: movePattern 20s linear infinite;
  opacity: 0.3;
}

@keyframes movePattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.cta-btn-pulse {
  position: relative;
  overflow: hidden;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
}

.cta-finanzas-section .btn-primary-custom {
  background: white;
  color: #277e86;
  font-weight: 700;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.cta-finanzas-section .btn-primary-custom:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
  color: #277e86;
}

/* Responsive para Tips de Finanzas */
@media (max-width: 768px) {
  .tips-finanzas-hero {
    min-height: 50vh;
  }

  .tips-finanzas-hero h1 {
    font-size: 2.5rem;
  }

  .tips-finanzas-hero .subtitle {
    font-size: 1.3rem;
  }

  .tips-finanzas-section .tips-card {
    padding: 2rem 1.5rem;
  }

  .tips-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .tips-icon {
    font-size: 2rem;
  }

  .tips-card h3 {
    font-size: 1.5rem;
  }

  .tips-card p {
    font-size: 1rem;
  }

  .tips-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .tips-finanzas-hero {
    min-height: 45vh;
  }

  .tips-finanzas-hero h1 {
    font-size: 2rem;
  }

  .tips-finanzas-hero .subtitle {
    font-size: 1.1rem;
  }

  .tips-finanzas-section .tips-card {
    padding: 1.5rem 1.25rem;
    border-radius: 15px;
  }

  .tips-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .tips-icon {
    font-size: 1.75rem;
  }

  .tips-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .tips-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .tips-list li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .tips-list li i {
    font-size: 1rem;
    margin-right: 0.5rem;
  }

  .cta-finanzas-section .section-title {
    font-size: 1.75rem;
  }

  .cta-finanzas-section .lead {
    font-size: 1rem;
  }

  .cta-finanzas-section .btn-primary-custom {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* ============================================
   ESTILOS TECNOLÓGICOS PARA CALCULADORAS
   ============================================ */

.calculadoras-section {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
  position: relative;
  overflow: hidden;
}

.calculadoras-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(39, 126, 134, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(246, 184, 26, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.calculadoras-section .container {
  position: relative;
  z-index: 1;
}

/* Cards Tecnológicos */
.tech-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: pulseCard 3s ease-in-out infinite;
}

@keyframes pulseCard {
  0%,
  100% {
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 rgba(39, 126, 134, 0);
  }
  50% {
    transform: scale(1.01);
    border-color: rgba(246, 184, 26, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 50px rgba(246, 184, 26, 0.7),
      0 0 80px rgba(246, 184, 26, 0.4);
  }
}

.tech-card .card-body {
  padding: 0;
}

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

.tech-card:hover::before {
  left: 100%;
}

.tech-card:hover {
  animation: pulseCardActive 1s ease-in-out infinite;
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(39, 126, 134, 0.5);
  box-shadow: 0 20px 60px rgba(39, 126, 134, 0.3),
    0 0 40px rgba(246, 184, 26, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes pulseCardActive {
  0%,
  100% {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(39, 126, 134, 0.3),
      0 0 40px rgba(246, 184, 26, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 50px rgba(246, 184, 26, 0.4);
  }
  50% {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 25px 70px rgba(39, 126, 134, 0.4),
      0 0 60px rgba(246, 184, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 80px rgba(246, 184, 26, 0.6);
  }
}

/* Efecto de brillo animado */
.tech-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(39, 126, 134, 0.3) 0%,
    rgba(246, 184, 26, 0.2) 30%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  animation: rotateGlow 8s linear infinite;
}

.tech-card:hover .tech-card-glow {
  opacity: 1;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Iconos Tecnológicos */
.tech-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(39, 126, 134, 0.2) 0%,
    rgba(246, 184, 26, 0.2) 100%
  );
  border-radius: 20px;
  border: 2px solid rgba(39, 126, 134, 0.3);
  box-shadow: 0 8px 32px rgba(39, 126, 134, 0.3),
    inset 0 0 20px rgba(39, 126, 134, 0.1);
  transition: all 0.4s ease;
  overflow: hidden;
}

.tech-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.tech-card:hover .tech-icon-wrapper::before {
  width: 200px;
  height: 200px;
}

.tech-icon {
  font-size: 3rem;
  color: #277e86;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 10px rgba(39, 126, 134, 0.5));
}

.tech-card:hover .tech-icon {
  color: #f6b81a;
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(246, 184, 26, 0.8));
}

.tech-card:hover .tech-icon-wrapper {
  border-color: rgba(246, 184, 26, 0.5);
  box-shadow: 0 12px 40px rgba(246, 184, 26, 0.4),
    inset 0 0 30px rgba(246, 184, 26, 0.2);
  transform: scale(1.05) rotate(-5deg);
}

/* Títulos y Textos */
.tech-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(39, 126, 134, 0.5);
  transition: all 0.3s ease;
}

.tech-card:hover .tech-title {
  color: #f6b81a;
  text-shadow: 0 2px 20px rgba(246, 184, 26, 0.8);
}

.tech-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Status Badge */
.tech-status {
  margin-bottom: 1.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(39, 126, 134, 0.4) 0%,
    rgba(246, 184, 26, 0.4) 100%
  );
  border: 1px solid rgba(39, 126, 134, 0.6);
  border-radius: 25px;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(39, 126, 134, 0.4);
  position: relative;
  overflow: hidden;
}

/* Botones Tecnológicos */
.tech-btn {
  position: relative;
  padding: 0.875rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(39, 126, 134, 0.2) 0%,
    rgba(246, 184, 26, 0.2) 100%
  );
  border: 2px solid rgba(39, 126, 134, 0.5);
  border-radius: 25px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: not-allowed;
  opacity: 0.7;
}

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

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

.tech-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.tech-btn i {
  transition: transform 0.3s ease;
}

.tech-btn:hover i {
  transform: rotate(15deg);
}

/* Responsive para Calculadoras */
@media (max-width: 768px) {
  .tech-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .tech-icon {
    font-size: 2.5rem;
  }

  .tech-title {
    font-size: 1.3rem;
  }

  .tech-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .tech-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .tech-icon {
    font-size: 2rem;
  }

  .tech-title {
    font-size: 1.2rem;
  }

  .tech-text {
    font-size: 0.85rem;
  }

  .tech-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   ESTILOS RESPONSIVE PARA MATERIAL GRATUITO
   ============================================ */

/* Cards de Material */
.material-card {
  transition: all 0.3s ease;
}

.material-card .card-body {
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .material-card .card-body {
    padding: 1.25rem;
  }

  .material-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .material-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .material-card .fa-2x {
    font-size: 1.75rem !important;
  }

  .material-card div[style*="width: 80px"] {
    width: 70px !important;
    height: 70px !important;
  }
}

@media (max-width: 480px) {
  .material-card .card-body {
    padding: 1rem;
  }

  .material-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .material-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .material-card .fa-2x {
    font-size: 1.5rem !important;
  }

  .material-card div[style*="width: 80px"] {
    width: 60px !important;
    height: 60px !important;
  }

  .material-card .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .material-card .btn-primary-custom {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  /* Títulos de sección */
  .material-gratuito-section h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  /* Sección CTA */
  .material-gratuito-section .col-lg-8 h2 {
    font-size: 1.5rem;
  }

  .material-gratuito-section .col-lg-8 p {
    font-size: 0.95rem;
  }

  .material-gratuito-section .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Asegurar que las redes sociales se vean 2 en 2 en móvil */
@media (max-width: 576px) {
  .material-gratuito-section .row.g-4.justify-content-center > .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Responsive para sección CTA de Material Gratuito */
@media (max-width: 768px) {
  .material-gratuito-section .col-lg-8 h2 {
    font-size: 1.75rem;
  }

  .material-gratuito-section .col-lg-8 p {
    font-size: 1rem;
  }

  .material-gratuito-section .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .material-gratuito-section .col-lg-8 h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .material-gratuito-section .col-lg-8 p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .material-gratuito-section .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 250px;
  }
}

/* ============================================
   BOTÓN FLOTANTE SCROLL TO TOP
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top i {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-3px);
}

/* Responsive para botón flotante */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
  }
}
