
body {
  padding-top: 90px; 
  background: linear-gradient(160deg, var(--arena-suave) 0%, #ffffff 40%, var(--lila-rosa) 80%, var(--turquesa-pastel) 100%);
  background-attachment: fixed;
}

.text-gris-humo {
  color: var(--gris-humo) !important;
}

.bg-turquesa-pastel {
  background: linear-gradient(135deg, #8fd1d4 0%, #bce3e5 50%, #e9d8ec 100%);
  background-blend-mode: soft-light;
  box-shadow: 0 10px 40px rgba(110, 191, 195, 0.25);
  border-radius: 20px;
  color: #3a3a3a;
}

.bg-lila-rosa-gradient {
  background: linear-gradient(135deg, var(--arena-suave), var(--lila-rosa));
}

.about-main {
  position: relative;
}

.about-section {
  position: relative;
}

.section-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--turquesa-pastel);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  letter-spacing: 0.02em;
}

.about-hero {
  position: relative;
  padding: 3rem 2rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left, var(--sal-marina) 0%, #ffffff 50%, #ffffff 100%);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(110, 191, 195, 0.15);
}

.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.6;
}

.about-hero::before {
  width: 220px;
  height: 220px;
  background: rgba(110, 191, 195, 0.25);
  top: -60px;
  right: -50px;
}

.about-hero::after {
  width: 180px;
  height: 180px;
  background: rgba(235, 210, 236, 0.28);
  bottom: -40px;
  left: -30px;
}

.badge-soft-turquesa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(110, 191, 195, 0.12);
  color: var(--turquesa-pastel);
  font-size: 0.85rem;
  font-weight: 600;
}

.about-tagline {
  margin-top: 0.25rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 191, 195, 0.3);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  color: var(--gris-humo);
  box-shadow: 0 4px 18px rgba(110, 191, 195, 0.15);
}

.about-metrics {
  border-radius: 20px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(110, 191, 195, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.about-metrics .card-body {
  position: relative;
  z-index: 1;
}

.about-metric-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--turquesa-pastel);
  margin-bottom: 0.1rem;
}

.about-metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0;
}

.about-metric-note {
  display: flex;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #4b5563;
  background: rgba(215, 236, 235, 0.35);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
}

.about-history {
  margin-top: 1rem;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  display: block;
}

.about-image-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gris-humo);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
  color: #4b5563;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquesa-pastel);
}


.about-mision-vision {
  padding: 2.5rem 0 0;
}

.about-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.9rem 1.6rem 1.7rem;
  box-shadow: 0 16px 35px rgba(110, 191, 195, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 191, 195, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(215, 236, 235, 0.25), rgba(235, 210, 236, 0.15));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(110, 191, 195, 0.32);
  border-color: rgba(110, 191, 195, 0.4);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(110, 191, 195, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--turquesa-pastel);
  font-size: 1.6rem;
}

.about-card-icon-alt {
  background: rgba(235, 210, 236, 0.16);
}

@keyframes pulsoPastel {
  0%, 100% { box-shadow: 0 0 15px rgba(110, 191, 195, 0.3); }
  50% { box-shadow: 0 0 25px rgba(235, 210, 236, 0.4); }
}

.tarjeta-hover {
  position: relative;
  background: linear-gradient(145deg, var(--sal-marina), var(--lila-rosa));
  border-radius: 20px;
  padding: 2rem 1.8rem;
  min-height: 280px;
  color: var(--gris-humo);
  transition: all 0.5s ease;
  animation: pulsoPastel 5s ease-in-out infinite;
  overflow: visible;
}

.tarjeta-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--lila-rosa), var(--turquesa-pastel));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tarjeta-hover:hover::before {
  opacity: 1;
}

.tarjeta-hover:hover {
  background: linear-gradient(145deg, var(--turquesa-pastel), var(--lila-rosa));
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 14px 40px rgba(110, 191, 195, 0.3);
}

.valores-scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.valores-scroll-track {
  display: flex;
  gap: 1.5rem;
  animation: scrollInfinito 40s linear infinite;
  width: fit-content;
}

.valores-scroll-track:hover {
  animation-play-state: paused;
}

.valor-card {
  min-width: 280px;
  flex-shrink: 0;
}

@keyframes scrollInfinito {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.valores-scroll-container::before,
.valores-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.valores-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, var(--arena-suave), transparent);
}

.valores-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, var(--arena-suave), transparent);
}

@media (max-width: 768px) {
  .valores-scroll-track {
    animation-duration: 30s;
  }

  .valor-card {
    min-width: 260px;
  }

  .valores-scroll-container::before,
  .valores-scroll-container::after {
    width: 50px;
  }
}

.about-philosophy-card {
  padding: 2.5rem 2.1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.about-philosophy-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.4), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.about-philosophy-card > .row {
  position: relative;
  z-index: 1;
}

.about-philosophy-badges {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.philosophy-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gris-humo);
  font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.equipo-card {
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
}

.equipo-card .card-img-top {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.equipo-card .card-body {
  padding-bottom: 0.7rem;
}

.equipo-card .card-footer {
  background-color: transparent;
  border-top: none;
  padding: 0.75rem 1rem 1rem;
  text-align: center;
}

.equipo-card .card-footer a {
  align-items: center;
  color: var(--gris-humo);
  margin: 0 0.75rem;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.equipo-card .card-footer a:hover {
  color: var(--turquesa-pastel);
  transform: translateY(-2px);
}

.carousel-3d-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 700px;
  perspective: 1500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  margin: 0 auto 3rem auto;
}

.carousel-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 320px;
  will-change: transform, opacity;
}

.carousel-card.active {
  transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 10;
  filter: blur(0px);
}

.carousel-card.next {
  transform: translate(-50%, -50%) translateX(420px) translateZ(-320px) rotateY(-35deg) scale(0.82);
  opacity: 0.65;
  z-index: 5;
  filter: blur(2px);
}

.carousel-card.prev {
  transform: translate(-50%, -50%) translateX(-420px) translateZ(-320px) rotateY(35deg) scale(0.82);
  opacity: 0.65;
  z-index: 5;
  filter: blur(2px);
}

.carousel-card.hidden-right {
  transform: translate(-50%, -50%) translateX(850px) translateZ(-550px) rotateY(-45deg) scale(0.65);
  opacity: 0;
  z-index: 1;
  filter: blur(5px);
  pointer-events: none;
}

.carousel-card.hidden-left {
  transform: translate(-50%, -50%) translateX(-850px) translateZ(-550px) rotateY(45deg) scale(0.65);
  opacity: 0;
  z-index: 1;
  filter: blur(5px);
  pointer-events: none;
}

.carousel-card.transitioning {
  filter: blur(4px);
}

.carousel-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 20;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: all;
  background: var(--sal-marina);
  border: 2px solid var(--turquesa-pastel);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(110, 191, 195, 0.25);
}

.carousel-btn:hover {
  background: var(--lila-rosa);
  border-color: var(--turquesa-pastel);
  transform: scale(1.12);
  box-shadow: 0 6px 25px rgba(235, 210, 236, 0.4);
}

.carousel-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 15;
}

.carousel-indicator span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--turquesa-pastel);
  opacity: 0.3;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-indicator span:hover {
  opacity: 0.6;
  transform: scale(1.2);
}

.carousel-indicator span.active {
  opacity: 1;
  background: var(--lila-rosa);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .about-hero {
    padding: 2.2rem 1.4rem;
  }

  .about-metrics {
    margin-top: 1.5rem;
  }

  .carousel-3d-container {
    height: 550px;
    padding: 40px 0;
  }
  .carousel-card {
    width: 280px;
  }
  .carousel-btn {
    width: 45px;
    height: 45px;
  }
  .carousel-controls {
    padding: 0 15px;
  }

  .about-philosophy-card {
    padding: 2rem 1.4rem;
  }
}

@media (max-width: 480px) {
  .carousel-3d-container {
    height: 500px;
  }
  .carousel-card {
    width: 260px;
  }
  .carousel-card.next,
  .carousel-card.prev {
    opacity: 0.4;
    filter: blur(3px);
  }
}

.faq-floating-btn,
.whatsapp-floating-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeInUp 0.8s ease forwards;
}

.faq-floating-btn {
  bottom: 25px;
  right: 25px;
  background: var(--turquesa-pastel);
}

.whatsapp-floating-btn {
  bottom: 100px;
  right: 25px;
  background: var(--lila-rosa);
}

.faq-floating-btn:hover,
.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.faq-floating-btn:hover {
  background: var(--lila-rosa);
}

.whatsapp-floating-btn:hover {
  background: var(--turquesa-pastel);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 237, 228, 0.95);
  z-index: 2000;
  display: none;
  overflow-y: auto;
  padding: 3rem 1rem;
}

.faq-overlay.activo {
  display: block;
  animation: fadeInOverlay 0.4s ease forwards;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--blanco);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: subirSuave 0.5s ease;
  position: relative;
}

@keyframes subirSuave {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.faq-cerrar {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--turquesa-pastel);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-cerrar:hover {
  background: var(--lila-rosa);
  transform: scale(1.1);
}

.faq-item {
  background: var(--blanco);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(110, 191, 195, 0.2);
}

.faq-item h5 {
  color: var(--gris-humo);
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.faq-item h5 i {
  color: var(--turquesa-pastel);
  margin-right: 0.8rem;
  font-size: 1.3rem;
}

.faq-item p {
  color: var(--gris-humo);
  margin: 0;
  line-height: 1.7;
}

.about-certifications-card {
  position: relative;
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.about-certifications-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.cert-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
  .about-hero {
    margin-bottom: 2.5rem;
  }

  .about-certifications-card {
    padding: 2rem 1.5rem;
  }
}
