@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: 'Perfektta';
  src: url('fonts/Perfektta_Black-s.p.f04b6065.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ucademy-green: #0ABB87;
  --ucademy-dark: #000000;
  --ucademy-yellow: #FFE45E;
  --ucademy-green-hover: #089d72;
  --ucademy-light-bg: #F9F9F7;
  --ucademy-gray: #6c757d;
  --polaris-bg: #FFFFFF;
  --polaris-text: #070707;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--polaris-text);
  background-color: var(--polaris-bg);
}

h1 {
  font-family: "Perfektta", "Besley", Georgia, serif;
  font-size: 3rem;
  line-height: 0.85;
  letter-spacing: 0;
  font-weight: 400;
}

h2 {
  font-family: "Perfektta", "Besley", Georgia, serif;
  font-size: 3rem;
  line-height: 0.85;
  font-weight: 400;
}

h3 {
  font-family: "Perfektta", "Besley", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
}

span {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: normal;
}

.container {
  max-width: 1600px;
  padding-left: 93px;
  padding-right: 93px;
}

.card-form {
  width: 80%;
  padding: 1.5rem;
  transition: none;
  overflow: hidden;
}

.salidas-profesionales {
  background: linear-gradient(270deg, var(--ucademy-green) 0%, var(--ucademy-dark) 100%);
  padding: 3rem 0;
}
/* 
.card:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
} */

.hero__logo {
  max-width: 6rem;
}

.hero__subtitle {
  color: var(--ucademy-dark);
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.36px;
}

.hero__subtitle--2{
  color: #3E3E3E;
font-weight: 500;
}

.hero-section ul li img {
  width: 23px !important;
  height: 23px !important;
}

.hero-section ul li {
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 1px solid #ddd;
  padding: 0.75rem;
  border-radius: 4px;
}

.form-control::placeholder {
  color: #999;
}

.form-select {
  color: #666;
}

.rounded-bottom {
  border-radius: 0 0 12px 12px !important;
}

/* Carrusel de testimonios */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 4 - 1.5rem * 4));
  }
}

.testimonials-carousel:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  height: 100%;
}

/* Cards de Por qué elegir este ciclo con misma altura */
section:nth-of-type(3) .card {
  min-height: 280px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

section:nth-of-type(3) .card-text {
  min-height: 5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}

/* Controles del carrusel Bootstrap */
#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: var(--ucademy-green);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

#testimonialsCarousel .carousel-control-prev:hover,
#testimonialsCarousel .carousel-control-next:hover {
  background-color: var(--ucademy-green-hover);
}

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

/* Indicadores (dots) del carrusel */
#testimonialsCarousel .carousel-indicators {
  margin-bottom: -2rem;
}

#testimonialsCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  border: none;
  opacity: 1;
}

#testimonialsCarousel .carousel-indicators button.active {
  background-color: var(--ucademy-green);
}

/* Ocultar indicadores 3 y 4 en desktop (solo 2 slides) */
#testimonialsCarousel .carousel-indicators button[data-bs-slide-to="2"],
#testimonialsCarousel .carousel-indicators button[data-bs-slide-to="3"] {
  display: none;
}

/* Adaptar carrusel para móvil y tablet: 1 tarjeta por slide (4 slides) */
@media (max-width: 991px) {
  /* Ocultar la segunda tarjeta de cada slide */
  #testimonialsCarousel .carousel-item .col-md-6:last-child {
    display: none;
  }

  /* Ajustar primera tarjeta a ancho completo */
  #testimonialsCarousel .carousel-item .col-md-6:first-child {
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Ocultar flechas - navegación por swipe */
  #testimonialsCarousel .carousel-control-prev,
  #testimonialsCarousel .carousel-control-next {
    display: none;
  }

  /* Ajustar altura mínima de las tarjetas */
  #testimonialsCarousel .card {
    min-height: auto !important;
  }

  /* Ajustar indicadores */
  #testimonialsCarousel .carousel-indicators {
    margin-bottom: -1.5rem;
  }

  /* Mostrar los 4 indicadores en móvil/tablet */
  #testimonialsCarousel .carousel-indicators button[data-bs-slide-to="2"],
  #testimonialsCarousel .carousel-indicators button[data-bs-slide-to="3"] {
    display: inline-block;
  }
}

.btn-success {
  background-color: var(--ucademy-green) !important;
  border-color: var(--ucademy-green) !important;
}

.btn-success:hover {
  background-color: var(--ucademy-green-hover) !important;
  border-color: var(--ucademy-green-hover) !important;
}

.btn {
  transition: none;
}

.btn:hover {
  transform: none;
  box-shadow: none;
}

.sticky-top {
  z-index: 1020;
}

/* Breakpoint para MacBook 14" (1152px) */
@media (max-width: 1152px) {
  .container {
    max-width: 1024px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  section {
    margin: 6rem 0;
  }
  .card-form {
    width: 70%;
  }
  .display-4 {
    font-size: 1.4rem;
  }
  .display-5 {
    font-size: 2.25rem;
  }
  h1 {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }
  h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  h3 {
    font-size: 1.5rem !important;
  }
  .hero__subtitle {
    font-size: 1rem !important;
  }
  p {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  span {
    font-size: 1.375rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .fw-bold {
    font-weight: 600 !important;
  }

  h4 {
    font-weight: 600 !important;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    background: none;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 2.3rem !important;
    line-height: 1.1 !important;
  }

  h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  h5 {
    font-size: 1.5rem !important;
  }

  h6 {
    font-size: 1rem !important;
  }

  .card-body p {
    padding: 0.5rem 1rem 0;
    font-size: 0.8rem !important;
  }

  p {
    font-size: 1rem !important;
    line-height: 1.34 !important;
  }

  .hero__subtitle {
    font-size: 1.5rem !important;
    line-height: 1.35 !important;
  }

  span {
    font-size: 1rem !important;
  }

  .card-form {
    width: 100%;
    transition: none;
    overflow: hidden;
    margin-top: 1.5rem;
  }

  section {
    margin: 0;
  }

  .testimonial-card {
    min-width: 220px !important;
  }

  .testimonials-track {
    gap: 1rem !important;
  }

  .testimonials-carousel {
    padding: 0.5rem 0 !important;
  }

  .testimonials-carousel:hover .testimonials-track {
    animation-play-state: running;
  }

  #formulario {
    padding: 3rem 0 !important;
  }

  #formulario h2 {
    font-size: 1.75rem !important;
  }

  #formulario p {
    font-size: 0.95rem !important;
  }

  #formulario .badge {
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
  }

  /* Botón de sección específica con width 100% en móvil */
  section:nth-of-type(2) .btn {
    width: 100% !important;
  }

  /* Centrar contenido de thanks en móvil */
  .section--thanks {
    min-height: 80vh !important;
  }

  .thanks__wrapper {
    text-align: center !important;
  }

  .col-card-porque {
    width: 80%;
  }
  .salidas-profesionales {
    background: none;
    padding: 3rem 0;
  }

  .hero__section--phone {
    background: linear-gradient(180deg, #ffffff 27.88%, #fff8eb 100%);
  }

  .btn-lg {
    width: 100%;
  }
}

/* Media query para móviles pequeños (max-width: 576px) */
@media (max-width: 576px) {
  h1 {
    font-size: 2.3rem !important;
  }

  h2 {
    font-size: 2rem !important;
    text-align: start;
  }

  #formulario h2 {
    font-size: 2rem !important;
    text-align: center;
  }

  .card-body {
    padding: 1rem !important;
  }

  .salidas-profesionales .display-5 {
    text-align: start;
    padding: 0 0rem;
    font-size: 2.5rem !important;
  }

  .display-5 {
    text-align: center;
    padding: 0 1rem;
    font-size: 2.5rem !important;
  }

  .hero__subtitle {
    font-size: 1rem !important;
    padding-right: 2rem;
  }

  .btn {
    font-size: 1rem !important;
  }
}

/* Tab Navigation Buttons */
.tab-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  background-color: var(--ucademy-dark);
  padding: 1rem;
  border-radius: 50px;
}

.tab-nav__button {
  padding: 0.75rem 2rem;
  border: 2px solid transparent;
  border-radius: 50px;
  background-color: #ffffff;
  color: var(--ucademy-gray);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.tab-nav__button:hover {
  background-color: #f8f9fa;
  color: var(--ucademy-dark);
}

.tab-nav__button.active,
.tab-nav__button--active {
  background-color: var(--ucademy-dark);
  border-color: var(--ucademy-yellow);
  color: var(--ucademy-yellow);
  font-weight: 600;
}

.tab-nav__button.active:hover,
.tab-nav__button--active:hover {
  background-color: var(--ucademy-dark);
  color: var(--ucademy-yellow);
}

/* Highlight Text */
.text-highlight,
.highlight {
  color: var(--ucademy-yellow);
  font-weight: 600;
}

/* Primary Button Ucademy */
.btn-ucademy-primary {
  background-color: var(--ucademy-green);
  border-color: var(--ucademy-green);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-ucademy-primary:hover {
  background-color: var(--ucademy-green-hover);
  border-color: var(--ucademy-green-hover);
  color: #ffffff;
}

/* Secondary Button Ucademy */
.btn-ucademy-secondary {
  background-color: var(--ucademy-dark);
  border-color: var(--ucademy-dark);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-ucademy-secondary:hover {
  background-color: #0d1f14;
  border-color: #0d1f14;
  color: #ffffff;
}

/* Badge Highlight */
.badge-ucademy {
  background-color: var(--ucademy-yellow);
  color: var(--ucademy-dark);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: "Montserrat", sans-serif;
}

/* Badge Hero Style */
.badge-hero {
  background-color: var(--ucademy-yellow);
  color: #000000;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 3px solid var(--ucademy-yellow);
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.4;
}

.badge-hero:hover {
  background-color: transparent;
  border-color: var(--ucademy-yellow);
  color: var(--ucademy-yellow);
}

/* Badge Button Style (como en la imagen) */
.badge-button,
.btn-badge {
  background-color: var(--ucademy-yellow);
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: 3px solid #000000;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.badge-button:hover,
.btn-badge:hover {
  background-color: #f0d060;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  color: #000000;
}

.badge-button--large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

/* CTA Button Green Style */
.btn-cta-green {
  background-color: var(--ucademy-yellow);
  color: #000000;
  font-family: "Besley", Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 100px;
  border: none;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: none;
  line-height: 1.5;
}

.btn-cta-green:hover {
  background-color: #f5d84a;
  transform: none;
  box-shadow: none;
  color: #000000;
}

@media (max-width: 768px) {
  .tab-nav {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .tab-nav__button {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .card {
    margin: 0;
  }
}
