/* Fotos del equipo en formato circular y grande */
.equipo-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 16px 0 rgba(150,16,218,0.10);
  display: block;
  margin: 0 auto 1.2rem auto;
}
/* Carrusel horizontal para equipo */
.equipo-carrusel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
}
.equipo-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.4,2,.6,1);
  gap: 2rem;
}
.equipo-card {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--blanco);
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
  padding: 2rem 1.2rem;
}
@media (max-width: 900px) {
  .equipo-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 2rem 0.5rem;
  }
  .equipo-img {
    width: 80px;
    height: 80px;
  }
}
/* Logo de cliente en testimonios */
.testimonio-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(150,16,218,0.10);
}
/* SeparaciÃ³n entre secciones principales */
.section {
  margin-bottom: 4.5rem;
}
/* Carrusel de testimonios tipo rotativo */
.testimonios-carrusel {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  position: relative;
  overflow: hidden;
}
.testimonios-track-carrusel {
  display: flex;
  transition: transform 0.7s cubic-bezier(.4,2,.6,1);
  width: auto;
  max-width: none;
  gap: 0;
}
.testimonio-carrusel {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0 1rem;
}
.slider-arrow {
  background: var(--morado-idp);
  color: var(--blanco);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 0.7rem;
  transition: background 0.2s;
  z-index: 10;
}
.slider-arrow:hover {
  background: var(--morado-profundo);
}
@media (max-width: 900px) {
  .testimonios-carrusel {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
  }
  .testimonios-track-carrusel {
    display: flex;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
  }
  .testimonio-carrusel {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 1.2rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  .testimonio-carrusel > * {
    width: 100%;
    background: var(--blanco);
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    padding: 1.2rem;
    box-sizing: border-box;
  }
}
/* Testimonios grid igual que equipo */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .testimonios-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
/* --- SLIDER DE TESTIMONIOS --- */
/* ==================================================
   IDP CONSULTING â€“ STYLES FINAL RESPONSIVE
================================================== */

/* =========================
   VARIABLES / PALETA IDP
========================= */
:root {
  --morado-idp: #9610DA;
  --morado-profundo: #6A0DAD;
  --morado-medio: #8F2DCC;
  --lila-suave: #D9B8F5;
  --celeste-terapeutico: #BFD9F2;
  --lavanda-grisaceo: #C7C9E2;

  --blanco: #FFFFFF;
  --gris-claro: #F2F2F2;
  --gris-medio: #B0B0B0;
  --gris-oscuro: #4A4A4A;

  --degradado-principal: linear-gradient(180deg, #9610DA 0%, #D9B8F5 100%);
  --degradado-dinamico: linear-gradient(135deg, #9610DA 0%, #BFD9F2 100%);

  --font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* =========================
   RESET / BASE
========================= */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background: var(--blanco);
  color: var(--gris-oscuro);
  max-width: 100%;
  overflow-x: hidden;
}

.body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 56px;
  max-width: 180px;
  width: auto;
  display: block;
}

/* =========================
   NAV MENU
========================= */
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--morado-idp);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--morado-medio);
}

.cta-btn {
  background: var(--degradado-dinamico);
  color: var(--blanco);
  padding: 0.7em 2em;
  border-radius: 24px;
  font-weight: 600;
  border: none;
}

/* =========================
   MOBILE MENU BUTTON
========================= */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  height: 4px;
  width: 28px;
  margin: 4px 0;
  background: var(--morado-idp);
  border-radius: 2px;
}

/* =========================
   HERO / SLIDER
========================= */
.slider-hero {
  width: 100%;
  height: 90vh; 
  min-height: 80vh;     /* altura base desktop */
  background: var(--degradado-principal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


.slider-bg {
  width: 100%;
  height: 100%;
  min-height: 70vh;     /* SOLO la imagen */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}






.slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(150,16,218,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.slider-text {
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  padding: 2rem;
  background: rgba(150,16,218,0.25);
  border-radius: 16px;
  color: var(--blanco);
  max-width: min(900px, 90vw);
}

/* =========================
   STATS
========================= */
.stats {
  position: absolute;
  left: 50%;
  bottom: 60px;               /* ðŸ‘ˆ justo debajo del botÃ³n */
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(150,16,218,0.95),
    rgba(217,184,245,0.95)
  );
  border-radius: 24px;
  max-width: 1100px;
  width: calc(100% - 3rem);
  justify-content: center;
  z-index: 3;
}


.stat {
  background: rgba(255,255,255,0.18);
  color: var(--blanco);
  padding: 1.2rem 2rem;
  border-radius: 16px;
  text-align: center;
  min-width: 160px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
}


/* =========================
   SECTIONS
========================= */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--morado-profundo);
}

/* =========================
   SERVICIOS
========================= */

.services-grid {
  margin-top: 2.5rem;
}

.service-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.9),
    var(--lavanda-grisaceo)
  );
  box-shadow: 0 12px 30px rgba(150,16,218,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(150,16,218,0.15);
}

.service-icon {
  width: 72px;
  height: auto;
  margin-bottom: 1.2rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--morado-profundo);
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  color: var(--gris-oscuro);
}

.service-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  border-radius: 22px;
  background: var(--degradado-dinamico);
  color: var(--blanco);
  transition: all 0.25s ease;
}

.service-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(150,16,218,0.25);
}


/* =========================
   DIFERENCIADORES
========================= */

.diferenciadores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.diferenciador {
  background: linear-gradient(
    135deg,
    rgba(150,16,218,0.08),
    rgba(191,217,242,0.25)
  );
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  font-weight: 600;
  color: var(--morado-profundo);
  text-align: center;
  box-shadow: 0 6px 18px rgba(150,16,218,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.diferenciador:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(150,16,218,0.18);
}

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

.equipo-grid {
  margin-top: 2.5rem;
}

.equipo-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.95),
    var(--lavanda-grisaceo)
  );
  border-radius: 20px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(150,16,218,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(150,16,218,0.16);
}

.equipo-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.equipo-nombre {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--morado-profundo);
  margin-bottom: 0.3rem;
}

.equipo-puesto {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--morado-idp);
  margin-bottom: 0.8rem;
}

.equipo-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gris-oscuro);
}

/* =========================
   TESTIMONIOS
========================= */



.testimonio {
  background: linear-gradient(
    135deg,
    rgba(150,16,218,0.08),
    rgba(191,217,242,0.35)
  );
  padding: 2.2rem 2rem 2.7rem 2rem;
  border-radius: 22px;
  font-style: italic;
  line-height: 1.6;
  color: var(--gris-oscuro);
  box-shadow: 0 10px 28px rgba(150,16,218,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.testimonios-slide {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  min-width: 100%;
  justify-content: center;
  align-items: stretch;
}
@media (max-width: 900px) {
  .testimonios-slide {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .testimonio {
    min-width: 90vw;
    max-width: 98vw;
    margin: 0 auto;
  }
}

.testimonio::before {
  content: "\201C";
  font-size: 3.5rem;
  position: absolute;
  top: -10px;
  left: 18px;
  color: var(--morado-idp);
  opacity: 0.25;
}

.testimonio-autor {
  margin-top: 1.2rem;
  font-style: normal;
  font-weight: 600;
  color: var(--morado-profundo);
  text-align: right;
}

/* =========================
   CONTACTO
========================= */

.contacto-section {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.95),
    rgba(217,184,245,0.35)
  );
  padding: 2.5rem 2rem;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(150,16,218,0.12);
}

.contacto-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--morado-profundo);
  text-align: center;
  margin-bottom: 2rem;
}

.contacto-form {
  display: grid;
  gap: 1rem;
}

.input,
.textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(150,16,218,0.25);
  font-family: var(--font-family);
  font-size: 0.95rem;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--morado-idp);
  box-shadow: 0 0 0 2px rgba(150,16,218,0.15);
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-enviar {
  margin-top: 1rem;
  background: var(--degradado-dinamico);
  color: var(--blanco);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 28px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(150,16,218,0.35);
}

/* =========================
   FOOTER
========================= */

.footer {
  background: linear-gradient(
    180deg,
    var(--morado-profundo),
    #4b0878
  );
  color: var(--blanco);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

/* ---------- Links ---------- */

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.footer-link {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: all 0.25s ease;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Social ---------- */

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

.footer-social img,
.social-icon {
  width: 40px;
  height: 30px;
  display: block;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}



/* ---------- Copyright ---------- */

.footer div:last-child {
  font-size: 0.85rem;
  opacity: 0.75;
}


/* =========================
   GRID / CARDS
========================= */
.services-grid,
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card,
.equipo-card {
  background: var(--lavanda-grisaceo);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
}

/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}


/* =========================
   RESPONSIVE â€“ TABLET
========================= */
@media (max-width: 900px) {

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanco);
    flex-direction: column;
    padding: 1.2rem 2rem;
    box-shadow: 0 8px 32px rgba(150,16,218,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .stats {
    flex-direction: column;
    margin-top: 1rem;
  }
}

/* =========================
   RESPONSIVE â€“ MOBILE
========================= */
@media (max-width: 600px) {

  .slider-hero {
    height: auto;          /* ðŸ‘ˆ CLAVE */
    min-height: unset;     /* ðŸ‘ˆ CLAVE */
    padding-bottom: 1.5rem;
    overflow: visible;     /* ðŸ‘ˆ CLAVE */
  }

  .slider-bg {
    min-height: 360px;     /* solo la imagen */
  }

  .stats {
    position: static;
    transform: none;
    margin: 1.5rem auto 0 auto;
    flex-direction: column;
    gap: 1rem;
    border-radius: 20px;
  }

  .service-card {
    padding: 2rem 1.2rem;
  }

  .service-title {
    font-size: 1.15rem;
  }

  .service-desc {
    font-size: 0.95rem;
  }

  .diferenciadores {
    gap: 1rem;
  }

  .diferenciador {
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
  }

  .equipo-card {
    padding: 2rem 1.3rem;
  }

  .equipo-img {
    width: 88px;
    height: 88px;
  }

  .testimonio {
    padding: 1.8rem 1.4rem;
    font-size: 0.95rem;
  }

  .contacto-section {
    padding: 2rem 1.4rem;
  }

  .contacto-title {
    font-size: 1.15rem;
  }

  .footer {
    padding: 2.5rem 1.2rem 1.8rem;
  }

  .footer-links {
    gap: 1rem;
  }

  .footer-social {
    gap: 1rem;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }

}



.slider-hero,
.slider-bg,
.slider-overlay {
  max-width: 100%;
  overflow: hidden;
}

.section,
.stats,
.footer {
  width: 100%;
  overflow-x: hidden;
}

/* =========================
   BTN â€“ SLIDER
========================= */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 28px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--degradado-dinamico);
  color: var(--blanco);
  padding: 0.9rem 2.2rem;
  box-shadow: 0 6px 20px rgba(150,16,218,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(150,16,218,0.35);
}

.dropdown {
  position: relative;
}

.dropdown-details {
  position: relative;
}

.dropdown-details summary {
  list-style: none;
  cursor: pointer;
}

.dropdown-details summary::-webkit-details-marker {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta::after {
  content: "▾";
  font-size: 0.85em;
  line-height: 1;
}

.dropdown-details[open] .nav-cta::after {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  margin: 0.75rem 0 0;
  background: var(--blanco);
  list-style: none;
  padding: 0.75rem 0;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 16px;
}

.submenu li {
  padding: 0;
}

.submenu li a {
  display: block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--gris-oscuro);
}

.submenu li a:hover {
  background: rgba(150,16,218,0.08);
}

.dropdown:hover .submenu,
.dropdown-details[open] .submenu {
  display: block;
}

@media (max-width: 900px) {
  .testimonio-logo {
    width: 80px;
    height: 80px;
  }

  .dropdown,
  .dropdown-details {
    width: 100%;
  }

  .dropdown-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dropdown-details summary {
    justify-content: center;
  }

  .submenu {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
    min-width: 0;
    text-align: center;
  }
}