@charset "utf-8";

/* ==========================================================
   QUIÉNES SOMOS – BASE (SOLO ESTA PÁGINA)
   Archivo: css/quienes.css
   ========================================================== */

#quienes-page {
  background: #ffffff;
}

/* Contenedor general de secciones */
#quienes-page section {
  padding: 90px 0;
}

/* Titulares principales dentro de la página */
#quienes-page h1,
#quienes-page h2 {
  color: var(--primary);
  letter-spacing: -0.6px;
}

/* Bajadas y textos */
#quienes-page p {
  color: #555;
  line-height: 1.6;
}

/* Ajuste responsive general */
@media (max-width: 768px) {
  #quienes-page section {
    padding: 70px 0;
  }
}

/* ==========================================================
   HERO QUIÉNES SOMOS – PIXELDOT
   ========================================================== */

#hero-quienes {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Imagen de fondo */
#hero-quienes .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero/hero-quienes.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.05);
}

/* Overlay original */
#hero-quienes .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 67, 143, 0.75) 0%,
    rgba(20, 67, 143, 0.85) 60%,
    rgba(20, 67, 143, 0.95) 100%
  );
  z-index: 2;
}

/* Contenido */
#hero-quienes .hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 0 20px;
}

/* Título */
#hero-quienes h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

/* Bajada */
#hero-quienes p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 38px;
}

/* Botón */
#hero-quienes .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 36px;
  border-radius: 999px;

  background: linear-gradient(90deg, #149bd7, #127ab0);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;

  box-shadow: 0 18px 40px rgba(20, 155, 215, 0.45);
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Hover */
#hero-quienes .hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(20, 155, 215, 0.65);
  color: #ffffff;
}

/* ==========================================================
   HERO QUIÉNES – MOBILE
   ========================================================== */

@media (max-width: 768px) {

  #hero-quienes {
    min-height: 85vh;
  }

  #hero-quienes h1 {
    font-size: 2.4rem;
  }

  #hero-quienes p {
    font-size: 1rem;
  }

}

/* ==========================================================
   NUESTRA HISTORIA – QUIÉNES SOMOS
   ========================================================== */

#historia {
  padding: 100px 0;
  background: #ffffff;
}

/* -------------------------------
   VIDEO
-------------------------------- */

.historia-video-wrapper {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

/* Video */
.historia-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

/* Overlay sutil */
.historia-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

/* -------------------------------
   TEXTO
-------------------------------- */

.historia-text {
  padding-left: 48px;
}

.historia-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 26px;
  position: relative;
}

/* Línea decorativa */
.historia-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, #149bd7, #127ab0);
  border-radius: 4px;
}

.historia-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.historia-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================
   HISTORIA – MOBILE
   ========================================================== */

@media (max-width: 992px) {

  #historia {
    padding: 80px 0;
  }

  .historia-text {
    padding-left: 0;
    margin-top: 40px;
  }

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

  .historia-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .historia-text p {
    text-align: center;
  }

}

/* ==========================================================
   NUESTRA ESENCIA – QUIÉNES SOMOS
   ========================================================== */

#esencia {
  padding: 110px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Título */
#esencia .section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 70px;
  position: relative;
}

/* Línea decorativa */
#esencia .section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, #149bd7, #127ab0);
  border-radius: 4px;
}

/* -------------------------------
   CARD ESENCIA
-------------------------------- */

.esencia-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 42px 26px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  height: 100%;
}

/* Hover premium */
.esencia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.16);
  border-color: rgba(20,155,215,0.55);
}

/* Ícono */
.esencia-icon {
  font-size: 2.8rem;
  color: var(--secondary);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(20,155,215,0.12);
}

/* Subtítulo */
.esencia-subtitle {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Texto */
.esencia-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

/* ==========================================================
   ESENCIA – MOBILE
   ========================================================== */

@media (max-width: 992px) {

  #esencia {
    padding: 90px 0;
  }

  #esencia .section-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  .esencia-card {
    padding: 36px 22px;
  }

  .esencia-icon {
    font-size: 2.4rem;
    width: 64px;
    height: 64px;
  }

}

@media (max-width: 576px) {

  .esencia-card {
    padding: 32px 20px;
  }

  .esencia-card p {
    font-size: 0.95rem;
  }

}


/* ==========================================================
   EQUIPO – PIXELDOT (PREMIUM)
   ========================================================== */

#equipo {
  padding: 100px 0;
  background: #ffffff;
}

#equipo .section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}

#equipo .section-subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 520px;
  margin: 0 auto;
}

/* ===============================
   TARJETA EQUIPO
   =============================== */

.team-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 38px rgba(0,0,0,0.15);
  transition: transform .45s ease, box-shadow .45s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.25);
}

/* Imagen */
.team-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}

.team-card:hover .team-img {
  transform: scale(1.12);
}

/* ===============================
   OVERLAY
   =============================== */

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.85) 100%
  );

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  padding: 28px 22px;
  text-align: center;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Nombre */
.team-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

/* Rol */
.team-role {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

/* ===============================
   REDES
   =============================== */

.team-social {
  display: flex;
  gap: 14px;
}

.team-social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #ffffff;

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

  font-size: 1.2rem;
  transition: background .3s ease, transform .3s ease;
}

.team-social-link:hover {
  background: var(--secondary);
  transform: translateY(-4px);
  color: #ffffff;
}

/* ===============================
   SWIPER CONTROLES
   =============================== */

.teamSwiper .swiper-button-prev,
.teamSwiper .swiper-button-next {
  color: var(--secondary);
  transition: transform .25s ease;
}

.teamSwiper .swiper-button-prev:hover,
.teamSwiper .swiper-button-next:hover {
  transform: scale(1.25);
}

.teamSwiper .swiper-pagination-bullet {
  background: #bbb;
  opacity: 1;
}

.teamSwiper .swiper-pagination-bullet-active {
  background: var(--secondary);
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {

  #equipo {
    padding: 80px 0;
  }

  #equipo .section-title {
    font-size: 2rem;
  }

  .team-img {
    height: 360px;
  }

  .team-card:hover {
    transform: none;
  }

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

/* ==========================================================
   NUESTRA FORMA DE TRABAJAR – QUIÉNES SOMOS
   ========================================================== */

.metodologia-section {
  background: #f7f9fc;
}

.metodologia-section .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.metodologia-section .section-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
}

/* Card */
.metodologia-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 26px 40px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.metodologia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.14);
}

/* Número */
.metodologia-step {
  position: absolute;
  top: -16px;
  left: 22px;
  background: linear-gradient(135deg, #149bd7, #127ab0);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 1px;
}

/* Ícono */
.metodologia-icon {
  font-size: 2.8rem;
  color: var(--secondary);
  margin-bottom: 18px;
  display: inline-block;
}

/* Título */
.metodologia-card h5 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Texto */
.metodologia-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .metodologia-section .section-title {
    font-size: 1.9rem;
  }

  .metodologia-card {
    padding: 30px 22px 34px;
  }
}

/* ==========================================================
   POR QUÉ ELEGIR PIXELDOT
   ========================================================== */

#porque {
  padding: 100px 0;
  background: radial-gradient(
    1200px 500px at top center,
    #1f4fa3 0%,
    #0f2f66 60%,
    #0b234a 100%
  );
}

#porque .section-title {
  color: #ffffff;
  font-weight: 800;
}

#porque .section-subtitle {
  color: rgba(255, 255, 255, 0.80);
  max-width: 760px;
  margin: 0 auto;
}

#porque .porque-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 38px 28px;
  height: 100%;
  backdrop-filter: blur(8px);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

#porque .porque-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

#porque .porque-card i {
  font-size: 2.6rem;
  color: var(--secondary);
  margin-bottom: 16px;
  display: inline-block;
}

#porque .porque-card h5 {
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 10px;
}

#porque .porque-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  #porque { padding: 80px 0; }
  #porque .porque-card { padding: 30px 22px; }
}