@charset "UTF-8";
/* =========================================
   SECCIÓN SOBRE NOSOTROS - SALUD DEPORTIVA
========================================= */

.sd-about {
  --sd-green: #a6ff00;
  --sd-white: #ffffff;

  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: #05090b;
  color: var(--sd-white);
  font-family: inherit;
}

/* IMAGEN DE FONDO */

.sd-about-background {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("../images/banner/nutriologo-y-entrenador.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;

  transform: scale(1.02);
}

/* CAPA OSCURA */

.sd-about-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .68) 0%,
      rgba(0, 0, 0, .28) 55%,
      rgba(0, 0, 0, .20) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, .95) 0%,
      rgba(0, 0, 0, .08) 55%,
      rgba(0, 0, 0, .15) 100%
    );
    
}

/* CONTENEDOR */

.sd-about-container {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1450px;
  min-height: 720px;

  margin: auto;
  padding: 90px 8% 55px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* TEXTO PRINCIPAL */

.sd-about-content {
  max-width: 650px;
  animation: sdAboutFade 1.2s ease both;
}

.sd-about-eyebrow {
  display: inline-block;
  margin-bottom: 24px;

  color: var(--sd-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
}

.sd-about-content h2 {
  margin: 0 0 25px;

  color: #fff;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -2.5px;
}

.sd-about-content h2 span {
  display: block;
  color: rgba(255,255,255,.78);
  font-weight: 300;
}

.sd-about-content p {
  max-width: 440px;
  margin: 0;

  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.8;
}

/* BOTÓN DE VIDEO */

.sd-about-play {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 115px;
  height: 115px;
  padding: 0;

  border: 1.5px solid rgba(255,255,255,.75);
  border-radius: 50%;

  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;

  color: #fff;
  cursor: pointer;
  transition: .35s ease;
}

.sd-about-play:hover {
  background: var(--sd-green);
  border-color: var(--sd-green);
  box-shadow: 0 0 35px rgba(166,255,0,.35);
  transform: translate(-50%, -50%) scale(1.09);
}

.sd-about-play-icon {
  width: 0;
  height: 0;
  margin-left: 5px;

  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #fff;
  transition: .3s ease;
}

.sd-about-play:hover .sd-about-play-icon {
  border-left-color: #101510;
}

.sd-about-play small {
  position: absolute;
  top: calc(100% + 22px);

  width: 160px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
}

/* INDICADORES */

.sd-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  width: 100%;
  margin-top: 100px;
}

.sd-about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  animation: sdAboutStat 1s ease both;
}

.sd-about-stat strong {
  color: #fff;
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.sd-stat-line {
  width: 38px;
  height: 2px;
  margin: 17px 0;

  background: var(--sd-green);
}

.sd-about-stat small {
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* MODAL DEL VIDEO */

.sd-about-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;
  opacity: 0;
  visibility: hidden;
  transition: .35s ease;
}

.sd-about-modal.active {
  opacity: 1;
  visibility: visible;
}

.sd-about-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
}

.sd-about-modal-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1050px;

  transform: scale(.92);
  transition: .35s ease;
}

.sd-about-modal.active .sd-about-modal-content {
  transform: scale(1);
}

.sd-about-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;
  border: 1px solid rgba(166,255,0,.45);
  border-radius: 12px;

  background: #000;
  box-shadow: 0 20px 80px rgba(0,0,0,.7);
}

.sd-about-video iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  border: 0;
}

.sd-about-close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;

  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 30px;
  line-height: 1;

  cursor: pointer;
  transition: .3s ease;
}

.sd-about-close:hover {
  color: #111;
  background: var(--sd-green);
  border-color: var(--sd-green);
}

/* ANIMACIONES */

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

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

/* TABLET */

@media (max-width: 900px) {
  .sd-about,
  .sd-about-container {
    min-height: 650px;
  }

  .sd-about-container {
    padding: 75px 6% 45px;
  }

  .sd-about-content {
    max-width: 560px;
  }

  .sd-about-content h2 {
    font-size: clamp(40px, 7vw, 62px);
  }

  .sd-about-play {
    width: 95px;
    height: 95px;
    top: 48%;
  }

  .sd-about-stats {
    gap: 15px;
  }

  .sd-about-stat strong {
    font-size: clamp(36px, 5vw, 48px);
  }

  .sd-about-stat small {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
}

/* CELULAR */

@media (max-width: 600px) {
  .sd-about,
  .sd-about-container {
    min-height: 720px;
  }

  .sd-about-background {
    background-position: 58% center;
  }

  .sd-about-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0,0,0,.62),
        rgba(0,0,0,.25)
      ),
      linear-gradient(
        0deg,
        rgba(0,0,0,.96) 0%,
        rgba(0,0,0,.35) 55%,
        rgba(0,0,0,.30) 100%
      );
  }

  .sd-about-container {
    padding: 65px 7% 35px;
  }

  .sd-about-eyebrow {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
  }

  .sd-about-content h2 {
    font-size: clamp(37px, 10vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.5px;
  }

  .sd-about-content p {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.7;
  }

  .sd-about-play {
    top: 54%;
    width: 82px;
    height: 82px;
    gap: 12px;
  }

  .sd-about-play-icon {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 13px;
  }

  .sd-about-play small {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .sd-about-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 80px;
  }

  .sd-about-stat strong {
    font-size: clamp(27px, 8vw, 38px);
    letter-spacing: -1px;
  }

  .sd-stat-line {
    width: 25px;
    margin: 12px 0;
  }

  .sd-about-stat small {
    max-width: 100px;
    font-size: 8px;
    line-height: 1.5;
    letter-spacing: .8px;
  }

  .sd-about-modal {
    padding: 15px;
  }

  .sd-about-close {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
  .sd-about *,
  .sd-about *::before,
  .sd-about *::after {
    animation: none !important;
    transition: none !important;
  }
}

