:root {--rosa:#c54680;--rosaHover:#a83c6d;--blanco:#fff;}


body {
 font-family: "Montserrat", sans-serif !important;
  scroll-behavior: smooth;
}
h1,h2,h3,h4,h4{font-family: "Oswald", sans-serif !important;}

.custom-navbar {background: #1a1a1a;position: fixed;top: 0;width: 100%;z-index: 1000;padding: 15px 0;box-shadow: 0 2px 10px rgba(0,0,0,0.3);}
.nav-container {display: flex;align-items: center;justify-content: space-between;max-width: 1340px;margin: 0 auto;padding: 0 20px;}
.logo img {height: 50px;}
.nav-links {display: flex;gap: 25px;align-items: center;}
.nav-link {color: #fff;text-decoration: none;transition: .5s all ease;text-transform: uppercase;display: inline-flex;align-items: center;gap: 5px;}
.nav-link:last-child {background: #ffbf00;color: #000;padding: 5px 10px;border-radius: 4px;}
.nav-link:last-child:hover {background: #fff;color: #000 !important;}
.nav-link:hover,.nav-link:focus,.nav-link.active {color: #E8B931 !important;}

/* --- SUBMENÚ --- */
.dropdown {position: relative;}
.dropdown-toggle {cursor: pointer;}
.dropdown-toggle::after{content: none;}
.dropdown-menu {display: none;position: absolute;top: 90%;left: 0;background: #222;border-radius: 6px;padding: 10px 0;min-width: 180px;}
.dropdown-item {display: block;color: #fff;text-decoration: none;padding: 10px 20px;transition: background .3s ease;text-transform: uppercase;}
.dropdown-item:hover {background: #333;color: #E8B931;}

/* Mostrar menú en escritorio */
.dropdown:hover .dropdown-menu {display: block;}

/* --- ICONO INDICADOR --- */
.arrow-icon {font-size: 0.8rem;transition: transform 0.3s ease;}
.dropdown.open .arrow-icon {transform: rotate(180deg);}

/* --- MENU HAMBURGUESA --- */
.menu-toggle {display: none;color: #fff;font-size: 1.5rem;cursor: pointer;}

.custom-header {
  background-color: rgba(0, 0, 0, 0.75);
  transition: background-color 0.3s;
}

.custom-header.scrolled {
  background-color: #000;
}

.hero {
  background: url('https://thegoodgroup.gg/wp-content/uploads/hero-pr.webp') center/cover no-repeat;
  height: 100vh;
  color: white;
  position: relative;
}
.hero::after{content: "";position: absolute;left: 0;bottom: 0;height: 100%;width: 100%;background: rgba(0, 0, 0, 0.45);}
.hero .container{position: relative;z-index: 1;}

.text-primary{color: var(--rosa) !important;}


section#por-que{background: url('https://thegoodgroup.gg/wp-content/uploads/pumas-fondo.webp') center/cover no-repeat;position: relative;background-attachment: fixed;}
section#por-que::after{content: "";position: absolute;left: 0;bottom: 0;height: 100%;width: 100%;background: rgba(0, 0, 0, 0.8);}
section#por-que .container{position: relative;z-index: 1;}
.btn-light,.btn-outline-dark {
    color: var(--blanco);
    background-color: var(--rosa);
    border-color: var(--rosa);
}
.btn-light:hover,.btn-outline-dark:hover {
    color: var(--blanco);
    background-color: var(--rosaHover);
    border-color: var(--rosaHover);
}

.btn-primary {
  background-color: var(--rosa);
  border: none;
}

.btn-primary:hover {
  background-color: var(--rosaHover);
}

.animate-fade {
  animation: fadeIn 1.2s ease-in-out;
}

.animate-fade-delay {
  animation: fadeIn 1.8s ease-in-out;
}

.animate-fade-delay2 {
  animation: fadeIn 2.2s ease-in-out;
}

.animate-up {
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 1s forwards;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--rosa);
  transition: transform 0.3s ease;
}

.text-blue h4{ color: var(--blanco);font-family: "Montserrat", sans-serif !important;}

.counter:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  to { transform: translateY(0); opacity: 1; }
}

.card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease;
}


#casos .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--rosa);
   box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

#casos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


#casos h3 {
  font-weight: 600;
}

#casos .lead {
  font-size: 1.15rem;
  color: #6c757d;
}


.testimonios {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.titulo-seccion {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.intro-seccion {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}
.testimonios-swiper {
    padding-bottom: 60px;
    overflow-x: hidden;
}
.card-testimonio {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-testimonio:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-testimonio .texto {
  font-style: italic;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.card-testimonio .autor {
  margin-top: 20px;
  font-weight: 600;
  color: var(--rosa);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--rosa);
}

.swiper-pagination-bullet {
  background: var(--rosa);
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}



@media (max-width: 768px) {
  .menu-toggle {display: block;}
  .nav-links {display: none;flex-direction: column;background: #1a1a1a;position: absolute;top: 80px;left: 0;width: 100%;padding: 20px;gap: 15px;}
  .nav-links.active {display: flex;}

  /* Submenú en móvil */
  .dropdown-menu {position: static;background: transparent;box-shadow: none;padding: 0;}
  .dropdown-menu .dropdown-item {padding: 8px 15px;}
  .dropdown:hover .dropdown-menu {display: none; /* evita el hover en móvil */}
  .dropdown.open .dropdown-menu {display: block;}

  /* Icono dentro del flujo del texto */
  .arrow-icon {margin-left: auto;transition: transform 0.3s ease;}
  .ancho-90{width: 100%;}
  .display-4{font-size: 2.5rem;}
}




