/* INTEGRATEC - CSS SIMPLIFICADO v3 */

/* HEADER */
header { background: transparent; transition: background 0.3s ease, box-shadow 1s ease; }
header.header-solid { background: var(--negro); }
header.menu { background: var(--negro); box-shadow: 0 8px 15px rgba(0,0,0,.15); }

/* Header móvil con fondo blanco */
@media screen and (max-width: 900px) {
  header { background: #fff; }
  /* Logo de color en móvil */
  header > #logo-movil > img {
    content: url('/blog/imagenes/logo-integratec.webp');
  }
  /* Hamburguesa de color oscuro en móvil */
  header > #icono-movil > span {
    background: var(--negro);
  }
  /* Nav abierto: logo y hamburguesa blancos */
  header.nav-open { background: transparent; }
  header.nav-open > #logo-movil > img {
    content: url('/index/img/logo-integratec-blanco.png');
  }
  header.nav-open > #icono-movil > span {
    background: var(--blanco);
  }
}
header.menu-2 { position: absolute; }
header > #escritorio { width: 90%; }
header > #escritorio > .botones-esc:first-of-type { margin-left: 0; }
header > #escritorio > ul { justify-content: space-between; width: calc(100% - 450px); }
header > #escritorio > #btn-demo { cursor: pointer; }

/* DROPDOWN MODERNO - CORTINILLA */
header > #escritorio > ul > aside {
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  gap: 0;
  justify-content: center;
  left: 0;
  margin-left: 0;
  max-width: none;
  padding: 20px 5%;
  top: 77px;
  width: 100vw;
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}
header > #escritorio > ul > aside:hover,
header > #escritorio > ul > li:hover + aside {
  transform: scaleY(1);
}
header > #escritorio > ul > aside > ul {
  background: #f8f9fa;
  border-radius: 12px;
  margin: 0 8px;
  padding: 15px 20px;
  min-width: 160px;
  width: auto;
  transition: all 0.2s ease;
}
header > #escritorio > ul > aside > ul:hover {
  background: rgba(240, 166, 108, 0.15);
}
header > #escritorio > ul > aside > ul > h4 {
  border-bottom: 2px solid currentColor;
  display: inline-block;
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 6px;
}
header > #escritorio > ul > aside > ul:first-of-type > h4 { color: #e1857f; }
header > #escritorio > ul > aside > ul:nth-of-type(2) > h4 { color: #25745f; }
header > #escritorio > ul > aside > ul:nth-of-type(3) > h4 { color: #9782e6; }
header > #escritorio > ul > aside > ul:nth-of-type(4) > h4 { color: #5ba4c9; }
header > #escritorio > ul > aside > ul > li { margin: 8px 0; }
header > #escritorio > ul > aside > ul > li > a {
  color: var(--negro);
  font-size: 0.85em;
  font-weight: 500;
}

/* SECCIONES BASE */
.section { align-items: center; box-sizing: border-box; display: flex; flex-direction: column; padding: 5% 5%; width: 100%; }
.section--bg-light { background: #f8f9fa; }
.section--bg-orange { background-color: rgba(240, 166, 108, 0.20); }
.section--bg-blue { background: #f8f9fa; }

/* TIPOGRAFIA */
.section-label { color: var(--naranja); font-size: 1rem; font-weight: 700; letter-spacing: 0.5px; line-height: 1rem; margin-bottom: 15px; max-width: 1300px; text-align: center; text-transform: uppercase; width: 100%; }
.section-label--left { max-width: 1300px; text-align: left; }
.section-title { color: var(--negro); font-size: 2.3em; font-weight: 600; line-height: 1.3; max-width: 800px; text-align: center; width: 100%; }
.section-title--left { max-width: 650px; text-align: left; }
.section-title--white { color: var(--blanco); }
.section-title span { color: var(--naranja); }
.section-desc { color: var(--negro); font-size: 1.1em; font-weight: 500; line-height: 1.5; margin: 10px 0 15px; max-width: 800px; text-align: center; width: 100%; }
.section-desc--left { text-align: left; }
.section-desc--white { color: var(--blanco); opacity: 0.85; }
.section-img { border-radius: 15px; margin-top: 30px; max-width: 1000px; width: 100%; }

/* BOTONES */
.btn-primary { background: var(--naranja); border-radius: 10px; box-sizing: border-box; color: var(--blanco); display: inline-block; font-size: 1.1em; font-weight: 600; margin-top: 20px; max-width: 300px; padding: 15px 30px; text-align: center; text-decoration: none; transition: opacity 0.3s ease; }
.btn-primary:hover { opacity: 0.9; }
.btn-primary--large { font-size: 1.2em; max-width: 433px; padding: 25px 40px; }

/* GRIDS */
.card-grid { display: grid; grid-gap: 25px; margin-top: 50px; max-width: 1300px; width: 100%; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--mt-lg { margin-top: 50px; }

/* CARDS */
.card { align-items: center; background: var(--blanco); border-radius: 15px; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; padding: 25px; }
.card--transparent { background: transparent; padding: 0; }
.card--hover { cursor: pointer; transition: all 0.3s ease; }
.card--hover:hover { transform: translateY(-3px); }
.card--gray { background: #f0f0f0; }
.card--gray:hover { background: #e5e5e5; }
.card__img { border-radius: 15px; margin-bottom: 10px; margin-top: 15px; max-height: 280px; object-fit: contain; width: 100%; }
.card__title { border-top: 1px solid var(--negro); color: var(--negro); font-size: 1rem; font-weight: 700; line-height: 1.5; margin-top: 20px; padding-top: 20px; text-align: left; width: 100%; }
.card__title--no-border { border: none; margin-top: 0; padding-top: 0; }
.card__text { color: var(--negro); font-size: 1em; font-weight: 500; line-height: 1.4; margin-top: 10px; text-align: left; width: 100%; }

/* FEATURE CARDS */
.feature-card { align-items: flex-start; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; display: flex; gap: 15px; padding: 20px; transition: border-color 0.2s ease; }
.feature-card:hover { border-color: var(--naranja); }
.feature-card__icon { margin-top: 2px; min-width: 24px; width: 24px; }
.feature-card__content { display: flex; flex-direction: column; }
.feature-card__title { color: var(--negro); font-size: 1em; font-weight: 600; line-height: 1.4; margin: 0 0 6px 0; text-align: left; }
.feature-card__text { color: #6b7280; font-size: 0.9em; font-weight: 400; line-height: 1.5; text-align: left; }

/* TEAM PHOTOS */
.team-photos { display: flex; flex-wrap: wrap; gap: 30px 40px; justify-content: center; margin: 25px 0; max-width: 900px; width: 100%; }
.team-photos__item { align-items: center; display: flex; flex-direction: column; }
.team-photos__img { border: 3px solid var(--naranja); border-radius: 100%; height: 100px; object-fit: cover; width: 100px; }
.team-photos__name { color: var(--negro); font-size: 1em; font-weight: 600; margin-top: 12px; text-align: center; }
.team-photos__more { align-items: center; background: var(--naranja); border-radius: 100%; color: var(--blanco); display: flex; font-size: 0.85em; font-weight: 600; height: 100px; justify-content: center; line-height: 1.3; padding: 10px; text-align: center; width: 100px; }

/* PORTADA */
#portada { align-items: center; background: linear-gradient(180deg, var(--negro) 85%, var(--blanco) 85%); display: flex; flex-direction: column; height: fit-content; max-width: none; overflow: hidden; padding-top: 100px; position: relative; width: 100%; }
#portada .animation-wrapper { height: 100%; left: 0; overflow: hidden; pointer-events: none; position: absolute; top: 0; width: 100%; z-index: 1; }
#portada .geo-line { animation: waveMove 30s infinite linear; background: transparent; border: 2px solid rgba(255, 255, 255, 0.15); border-radius: 40%; height: 200%; left: -50%; position: absolute; width: 200%; }
#portada .line-1 { animation-duration: 40s; border-radius: 45%; bottom: -160%; opacity: 0.6; }
#portada .line-2 { animation-direction: reverse; animation-duration: 35s; border-radius: 43%; border-width: 1px; bottom: -165%; opacity: 0.5; }
#portada .line-3 { animation-duration: 25s; border-radius: 40%; border-width: 3px; bottom: -170%; opacity: 0.3; }
#portada .line-4 { animation-direction: reverse; animation-duration: 45s; border-radius: 48%; bottom: -155%; opacity: 0.4; }
@keyframes waveMove { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
#portada > * { position: relative; z-index: 2; }
#portada > img { max-width: 1000px; width: 70%; height: auto; }
#portada > p:first-of-type { color: var(--blanco); font-size: 1rem; font-weight: 700; text-align: center; }
#portada > h1 { color: var(--blanco); font-size: 2.1rem; font-weight: 600; line-height: 3rem; margin: 10px 0; max-width: 900px; text-align: center; width: 100%; }
#portada > h1 > span { color: var(--naranja); }
#portada > p:nth-of-type(2) { color: var(--blanco); font-size: 1.3rem; font-weight: 400; line-height: 1.5; margin: 10px 0; max-width: 750px; text-align: center; }
#portada > a { margin: 20px 0 60px; }

/* SURVEY TAGS */
.survey-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; max-width: 700px; }
.survey-tag { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50px; color: var(--blanco); font-size: 0.9rem; font-weight: 500; padding: 8px 20px; transition: all 0.3s ease; }
.survey-tag:hover { background: rgba(240, 166, 108, 0.3); border-color: var(--naranja); }

/* CLIENTES PORTADA */
#clientes-portada { align-items: center; background: #fff; display: flex; flex-direction: column; padding: 0 0 30px; width: 100%; }

/* STATS CAPSULE */
.stats-capsule { align-items: center; background: rgba(240, 166, 108, 0.15); border-radius: 50px; display: flex; gap: 0; margin-bottom: 25px; padding: 15px 40px; }
.stats-capsule__item { align-items: center; display: flex; gap: 10px; padding: 0 25px; }
.stats-capsule__number { color: var(--naranja); font-size: 1.4em; font-weight: 700; }
.stats-capsule__label { color: var(--negro); font-size: 0.95em; font-weight: 500; }
.stats-capsule__divider { background: rgba(240, 166, 108, 0.3); height: 30px; width: 1px; }
#clientes-portada > .clientes-titulo, #clientes-portada > .pasos-titulo { text-align: center; }
#clientes-portada > .clientes-titulo { margin-bottom: 25px; }
#clientes-portada > .pasos-titulo { background: rgba(240, 166, 108, 0.1); border-radius: 50px; margin-top: 10px; padding: 15px 40px; }
#clientes-portada p { color: var(--negro); font-size: 1.5em; font-weight: 600; line-height: 1.4; }
#clientes-portada p span { color: var(--naranja); font-weight: 700; }
#clientes-portada > #logos-clientes { margin: 0 0 25px 0; max-width: 1100px; opacity: 0.85; }

/* PASOS */
#pasos { align-items: center; background: #fff; box-sizing: border-box; display: flex; gap: 15px; justify-content: center; padding: 15px 20px 35px; transition: all 0.5s ease; width: 100%; z-index: 900; }
#pasos.fixed { box-shadow: 0 8px 15px rgba(0, 0, 0, .15); gap: 10px; padding: 10px; position: fixed; top: 0; }
#pasos > div { align-items: center; cursor: pointer; display: flex; flex-direction: column; padding: 12px 25px; text-align: center; transition: all 0.4s ease; }
#pasos > div:hover p { color: var(--naranja); }
#pasos.fixed > div { padding: 8px 15px; }
#pasos > div > p:first-child { color: var(--naranja); font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase; }
#pasos.fixed > div > p:first-child { font-size: .7rem; margin-bottom: 3px; }
#pasos > div > p:last-child { color: var(--negro); font-size: 1.2em; font-weight: 600; }
#pasos.fixed > div > p:last-child { font-size: 0.9em; }

/* PASO HEADER */
.paso-header { align-items: flex-start; display: flex; justify-content: space-between; max-width: 1300px; width: 100%; }
.paso-header > div { width: 48%; }
.paso-header .section-title { max-width: 100%; }

/* PLANES */
#planes { align-items: center; background: #2f4858; display: flex; flex-direction: column; padding: 70px 20px; width: 100%; }
#planes > div { display: grid; grid-gap: 20px; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); margin-top: 35px; max-width: 1300px; width: 95%; }
#planes > div > div:nth-of-type(1) { background: rgba(37, 150, 115, 0.45); grid-area: 1 / 1 / 2 / 4; }
#planes > div > div:nth-of-type(2) { background: rgba(130, 100, 200, 0.45); grid-area: 1 / 4 / 2 / 6; }
#planes > div > div:nth-of-type(3) { background: rgba(100, 180, 220, 0.45); grid-area: 2 / 1 / 3 / 3; }
#planes > div > div:nth-of-type(4) { background: rgba(220, 120, 100, 0.55); grid-area: 2 / 3 / 3 / 6; }
#planes > div > div { border-radius: 15px; display: flex; flex-direction: column; gap: 15px; padding: 15px 20px; }
#planes > div > div > aside { align-items: center; display: flex; gap: 15px; }
#planes > div > div > aside > p { color: var(--blanco); font-size: 1.3em; font-weight: 700; }
#planes > div > div > div { display: inline-flex; flex-wrap: wrap; gap: 10px; }
#planes > div > div > div > p { background: rgba(0, 0, 0, 0.25); border-radius: 8px; color: #fff; font-size: 0.85em; font-weight: 600; padding: 8px 12px; }
#planes > div > div > div > p.active { background: var(--naranja); }

/* CTA */
#CTA { align-items: center; background-color: rgba(240, 166, 108, 0.20); border-radius: 35px; display: flex; flex-direction: column; margin: 35px auto; padding: 65px 20px; width: 90%; }

/* FOOTER */
.footer-pro { align-items: center; background: linear-gradient(180deg, #1a2e3b 0%, #0f1c24 100%); display: flex; flex-direction: column; width: 100%; }
.footer-main { box-sizing: border-box; display: flex; gap: 40px; justify-content: space-between; max-width: 1300px; padding: 60px 50px 40px; width: 100%; }
.footer-brand { display: flex; flex-direction: column; gap: 15px; max-width: 280px; }
.footer-brand > p { color: rgba(255, 255, 255, 0.7); font-size: 0.95em; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social > a { align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 8px; color: rgba(255, 255, 255, 0.7); display: flex; height: 36px; justify-content: center; transition: all 0.3s ease; width: 36px; }
.footer-social > a:hover { background: var(--naranja); color: #fff; transform: translateY(-2px); }
.footer-links { display: flex; flex: 1; gap: 50px; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.footer-col > h4 { color: #fff; font-size: 1em; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase; }
.footer-col > a { color: rgba(255, 255, 255, 0.7); font-size: 0.9em; text-decoration: none; transition: all 0.2s ease; }
.footer-col > a:hover { color: var(--naranja); padding-left: 5px; }
.footer-contact > a { align-items: center; display: flex; gap: 8px; }
.footer-contact > a > img { border-radius: 2px; }
.footer-bottom { align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.1); box-sizing: border-box; display: flex; justify-content: space-between; max-width: 1300px; padding: 25px 50px; width: 100%; }
.footer-bottom > p { color: rgba(255, 255, 255, 0.5); font-size: 0.85em; }
.footer-legal { display: flex; gap: 15px; }
.footer-legal > a { color: rgba(255, 255, 255, 0.5); font-size: 0.85em; text-decoration: none; }
.footer-legal > a:hover { color: var(--naranja); }
.footer-legal > span { color: rgba(255, 255, 255, 0.3); }

/* PASO 4 LAYOUT */
.paso-4-layout { align-items: flex-start; display: flex; gap: 50px; justify-content: space-between; max-width: 1300px; width: 100%; }
.paso-4-left { width: 45%; }
.paso-4-right { width: 50%; }
.paso-4-img { margin-top: 20px; max-height: 350px; max-width: 100%; object-fit: contain; width: 100%; }
.paso-4-right .card-grid { margin-top: 25px; }
.paso-4-right .btn-primary { margin-top: 25px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* MODULOS SECTION */
#modulos-section {
  align-items: center;
  background: #f8f9fa;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 80px 5%;
  width: 100%;
}
.modulos-header {
  max-width: 800px;
  text-align: center;
  margin-bottom: 50px;
}

/* TIMELINE HORIZONTAL */
.timeline-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin-bottom: 50px;
  padding: 0 40px;
  box-sizing: border-box;
}
.timeline-line {
  position: absolute;
  top: 18px;
  left: 40px;
  right: 40px;
  height: 28px;
  background: #2f4858;
  border-radius: 14px;
}
.timeline-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 3px;
  background: repeating-linear-gradient(90deg, #fff 0px, #fff 20px, transparent 20px, transparent 35px);
  background-size: 35px 3px;
  transform: translateY(-50%);
  animation: roadMove var(--road-speed, 5s) linear infinite;
}

@keyframes roadMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 35px 0;
  }
}
.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.timeline-step:hover {
  transform: translateY(-3px);
}
.step-pin {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-step:hover .step-pin {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.step-pin img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}
.step-pin--red { background: #e1857f; }
.step-pin--green { background: #25745f; }
.step-pin--purple { background: #9782e6; }
.step-pin--blue { background: #5ba4c9; }
.step-label {
  color: var(--negro);
  font-size: 0.85em;
  font-weight: 600;
  text-align: center;
}

/* MODULOS GRID */
.modulos-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1300px;
  width: 100%;
}
.modulo-card {
  border-radius: 16px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modulo-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}
.modulo-card--reclutamiento { background: linear-gradient(135deg, #e1857f 0%, #d4706a 100%); }
.modulo-card--desempeno { background: linear-gradient(135deg, #25745f 0%, #1d5c4b 100%); }
.modulo-card--satisfaccion { background: linear-gradient(135deg, #9782e6 0%, #7a64d4 100%); }
.modulo-card--capacitacion { background: linear-gradient(135deg, #5ba4c9 0%, #3d7a9e 100%); }
.modulo-card--analitica { background: linear-gradient(135deg, #f0a66c 0%, #e8945a 100%); }
.modulo-card--acompanamiento { background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%); }
.modulo-card--wide { grid-column: span 2; padding: 25px 30px; }
.modulo-card--wide .modulo-card__desc { margin-bottom: 15px; }
.modulo-card--full { grid-column: span 4; padding: 25px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.modulo-card--full .modulo-card__header { margin-bottom: 0; flex-shrink: 0; }
.modulo-card--full .modulo-card__desc { margin-bottom: 0; flex: 1; min-width: 200px; }
.modulo-card--full .modulo-card__features { margin-bottom: 0; flex-direction: row; flex-wrap: wrap; gap: 20px; }
.modulo-card--full .modulo-card__cta { margin-left: auto; flex-shrink: 0; }
.modulo-card__header { align-items: center; display: flex; gap: 12px; margin-bottom: 12px; }
.modulo-card__icon { display: none; }
.modulo-card__title { color: #fff; font-size: 1.1em; font-weight: 700; }
.modulo-card__desc { color: rgba(255,255,255,0.9); font-size: 0.85em; font-weight: 400; line-height: 1.5; margin-bottom: 15px; }
.modulo-card__features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.modulo-card__feature { align-items: center; color: #fff; display: flex; font-size: 0.8em; font-weight: 500; gap: 8px; }
.modulo-card__feature img { filter: brightness(0) invert(1); height: 14px; width: 14px; }
.modulo-card__cta { align-items: center; color: #fff; display: inline-flex; font-size: 0.85em; font-weight: 600; gap: 6px; margin-top: auto; }
.modulo-card__cta svg { height: 14px; width: 14px; transition: transform 0.3s ease; }
.modulo-card:hover .modulo-card__cta svg { transform: translateX(4px); }

/* MODULOS RESPONSIVE */
@media screen and (max-width: 1100px) {
  .modulos-grid { grid-template-columns: repeat(2, 1fr); }
  .modulo-card--full { grid-column: span 2; }
}
@media screen and (max-width: 750px) {
  #modulos-section { padding: 50px 20px; }
  .timeline-container { display: none; }
  .modulos-grid { grid-template-columns: 1fr; gap: 15px; }
  .modulo-card--wide { grid-column: span 1; }
  .modulo-card--full { grid-column: span 1; flex-direction: column; align-items: flex-start; padding: 25px; }
  .modulo-card--full .modulo-card__features { gap: 10px; }
  .modulo-card--full .modulo-card__cta { margin-left: 0; margin-top: 10px; }
}

/* MODAL MODULOS */
.modulo-modal-overlay { align-items: center; background: rgba(0,0,0,0.6); display: flex; height: 100vh; justify-content: center; left: 0; opacity: 0; pointer-events: none; position: fixed; top: 0; transition: opacity 0.3s ease; width: 100vw; z-index: 2000; }
.modulo-modal-overlay.active { opacity: 1; pointer-events: auto; }
.modulo-modal { background: #fff; border-radius: 20px; box-shadow: 0 25px 80px rgba(0,0,0,0.3); display: flex; flex-direction: column; height: 650px; max-width: 1000px; overflow: hidden; position: relative; transform: scale(0.9) translateY(20px); transition: transform 0.3s ease; width: 90%; }
.modulo-modal-overlay.active .modulo-modal { transform: scale(1) translateY(0); }
.modulo-modal__body { display: flex; flex: 1; overflow: hidden; }
.modulo-modal__content { box-sizing: border-box; display: flex; flex-direction: column; flex: 0 0 50%; overflow-y: auto; padding: 30px 35px; width: 50%; }
.modulo-modal__close { align-items: center; background: #f5f5f5; border: none; border-radius: 0 20px 0 0; color: #666; cursor: pointer; display: flex; font-size: 1.4em; justify-content: center; padding: 0 25px; transition: all 0.2s ease; }
.modulo-modal__close:hover { background: #eee; color: #333; }
.modulo-modal__tabs { box-sizing: border-box; display: flex; gap: 0; }
.modulo-modal__tab { background: #f5f5f5; border: none; border-radius: 0; color: #666; cursor: pointer; flex: 1; font-family: inherit; font-size: 0.9em; font-weight: 600; padding: 18px 16px; transition: all 0.2s ease; }
.modulo-modal__tab:first-child { border-radius: 20px 0 0 0; }
.modulo-modal__tab:hover { background: #eee; }
.modulo-modal__tab.active { color: #fff; }
.modulo-modal__tab.active[data-tab="reclutamiento"] { background: #e1857f; }
.modulo-modal__tab.active[data-tab="desempeno"] { background: #25745f; }
.modulo-modal__tab.active[data-tab="satisfaccion"] { background: #9782e6; }
.modulo-modal__tab.active[data-tab="capacitacion"] { background: #5ba4c9; }
.modulo-modal__label { color: var(--naranja); font-size: 0.85em; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase; }
.modulo-modal__title { color: var(--negro); font-size: 1.8em; font-weight: 700; line-height: 1.3; margin-bottom: 15px; }
.modulo-modal__desc { color: #555; font-size: 1em; font-weight: 400; line-height: 1.6; margin-bottom: 25px; }
.modulo-modal__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.modulo-modal__feature { align-items: flex-start; display: flex; gap: 10px; }
.modulo-modal__feature img { margin-top: 3px; width: 18px; }
.modulo-modal__feature span { color: var(--negro); font-size: 0.95em; font-weight: 500; line-height: 1.4; }
.modulo-modal__btn { background: var(--naranja); border-radius: 10px; color: #fff; display: inline-block; font-size: 1em; font-weight: 600; margin-top: auto; padding: 15px 30px; text-align: center; text-decoration: none; transition: opacity 0.3s; width: fit-content; }
.modulo-modal__btn:hover { opacity: 0.9; }
.modulo-modal__image { align-items: center; background: #f5f5f5; box-sizing: border-box; display: flex; flex: 0 0 50%; justify-content: center; overflow: hidden; padding: 20px; position: relative; width: 50%; }
.modulo-modal__image img { border-radius: 10px; height: auto; max-width: 100%; object-fit: contain; }

/* RESPONSIVE - LAPTOP */
@media screen and (max-width: 1200px) {
  .section { padding: 5% 30px; }
  .card-grid--4, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  #modulos-showcase .showcase-grid { gap: 20px; }
  .paso-4-layout { flex-direction: column; gap: 30px; }
  .paso-4-left, .paso-4-right { width: 100%; }
  .paso-4-layout .section-title--left, .paso-4-layout .section-label--left, .paso-4-layout .section-desc--left { text-align: center !important; }
  .paso-4-right .btn-primary { display: block; margin: 25px auto 0; }
  .paso-header { flex-direction: column; gap: 20px; }
  .paso-header > div { width: 100%; }
  .section-label--left, .section-title--left, .section-desc--left { text-align: center !important; }
  .team-photos { flex-wrap: wrap; gap: 30px; }
  #pasos { flex-wrap: nowrap; gap: 5px; padding: 15px 10px 30px; }
  #pasos > div { padding: 10px 15px; }
  #pasos > div > p:first-child { font-size: 0.85rem; }
  #pasos > div > p:last-child { font-size: 1em; }
  #planes > div { grid-template-columns: 1fr; grid-template-rows: auto; }
  #planes > div > div:nth-of-type(1), #planes > div > div:nth-of-type(2), #planes > div > div:nth-of-type(3), #planes > div > div:nth-of-type(4) { grid-area: auto; }
  .footer-main { flex-direction: column; padding: 40px 30px; align-items: center; }
  .footer-brand { align-items: center; max-width: 100%; text-align: center; width: 100%; margin-bottom: 30px; }
  .footer-social { justify-content: center; }
  .footer-links { flex-wrap: wrap; gap: 30px 50px; justify-content: center; width: 100%; }
  .footer-col { min-width: 180px; max-width: 220px; }
}

/* RESPONSIVE - TABLET */
@media screen and (max-width: 900px) {
  #pasos > div { padding: 8px 10px; }
  #pasos > div > p:first-child { font-size: 0.75rem; margin-bottom: 5px; }
  #pasos > div > p:last-child { font-size: 0.85em; }
}

/* RESPONSIVE - MOBILE */
@media screen and (max-width: 750px) {
  .section { padding: 40px 20px; }
  .section-title { font-size: 1.8em; }
  .section .btn-primary { display: block; margin-left: auto; margin-right: auto; }
  .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  #modulos-showcase { padding: 50px 20px; }
  #modulos-showcase .showcase-grid { grid-template-columns: 1fr; gap: 15px; }
  .modulo-card { padding: 20px; }
  .modulo-card__title { font-size: 1.15em; }
  .modulo-modal { border-radius: 15px; height: auto; max-height: 90vh; width: 95%; }
  .modulo-modal__tabs { flex-wrap: wrap; }
  .modulo-modal__tab { flex: 1 1 40%; font-size: 0.75em; padding: 12px 8px; }
  .modulo-modal__tab:first-child { border-radius: 15px 0 0 0; }
  .modulo-modal__close { flex: 0 0 auto; border-radius: 0 15px 0 0; }
  .modulo-modal__body { flex-direction: column; overflow-y: auto; }
  .modulo-modal__content { align-items: center; box-sizing: border-box; flex: none !important; max-width: 100%; padding: 20px; text-align: center; width: 100% !important; }
  .modulo-modal__image { box-sizing: border-box; flex: none !important; min-height: 200px; padding: 15px; width: 100% !important; }
  .modulo-modal__btn { margin-left: auto; margin-right: auto; }
  .modulo-modal__title { font-size: 1.3em; }
  .modulo-modal__desc { font-size: 0.9em; }
  .modulo-modal__feature span { font-size: 0.85em; }
  .team-photos { gap: 25px; padding: 30px 20px; }
  .team-photos__img, .team-photos__more { height: 80px; width: 80px; }
  .team-photos__more { font-size: 0.7em; padding: 8px; }
  #portada { background: linear-gradient(180deg, var(--negro) 90%, var(--blanco) 90%); margin-top: 75px; padding: 50px 20px 0; box-sizing: border-box; }
  #portada > h1 { font-size: 1.9em; line-height: 1.3; padding: 0 10px; }
  #portada > p { padding: 0 15px; }
  #portada > img { width: 100%; }
  #clientes-portada { padding: 30px 15px; }
  #clientes-portada > .pasos-titulo { margin-left: 15px; margin-right: 15px; width: auto; }
  #clientes-portada p { font-size: 1.3em; }
  .stats-capsule { flex-wrap: wrap; gap: 10px; justify-content: center; padding: 15px 20px; }
  .stats-capsule__item { padding: 5px 15px; }
  .stats-capsule__divider { display: none; }
  .stats-capsule__number { font-size: 1.2em; }
  .stats-capsule__label { font-size: 0.85em; }
  #pasos { flex-wrap: wrap; gap: 10px; padding: 10px 15px 25px; }
  #pasos.fixed { position: static; box-shadow: none; }
  #pasos > div { padding: 10px 20px; width: calc(50% - 10px); box-sizing: border-box; }
  #pasos > div > p:first-child { font-size: 0.7rem; }
  #pasos > div > p:last-child { font-size: 0.8em; }
  #planes > aside { flex-direction: column; text-align: center; }
  #planes > div > div { align-items: center; text-align: center; }
  #planes > div > div > aside { justify-content: center; width: 100%; }
  #planes > div > div > div { justify-content: center; }
  #CTA { border-radius: 20px; padding: 40px 20px; }
  .footer-links { flex-direction: column; gap: 25px; }
  .footer-col { align-items: center; min-width: 100%; max-width: 100%; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 15px; padding: 20px; text-align: center; }
}

/* FAQ SECTION */
.faq-grid { align-items: start; display: grid; gap: 15px; grid-template-columns: repeat(2, 1fr); max-width: 1100px; width: 100%; margin-top: 40px; }
.faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: border-color 0.2s ease; height: fit-content; }
.faq-item:hover { border-color: var(--naranja); }
.faq-item[open] { border-color: var(--naranja); }
.faq-question { align-items: center; color: var(--negro); cursor: pointer; display: flex; font-size: 1em; font-weight: 600; gap: 12px; justify-content: space-between; list-style: none; padding: 20px 25px; transition: background 0.2s ease; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; color: var(--naranja); font-size: 1.4em; font-weight: 400; transition: transform 0.2s ease; }
.faq-item[open] .faq-question::after { content: '−'; }
.faq-question:hover { background: rgba(240, 166, 108, 0.05); }
.faq-answer { color: #555; font-size: 0.95em; line-height: 1.6; padding: 0 25px 20px; }

/* RESPONSIVE - SMALL MOBILE */
@media screen and (max-width: 500px) {
  .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
}

/* FAQ RESPONSIVE */
@media screen and (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 750px) {
  .faq-question { font-size: 0.95em; padding: 15px 20px; }
  .faq-answer { padding: 0 20px 15px; font-size: 0.9em; }
}

/* ACOMPAÑAMIENTO CONSULTIVO */
.consulting-steps {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
  max-width: 1000px;
  width: 100%;
}

.consulting-step {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 280px;
  text-align: center;
}

.consulting-step__number {
  align-items: center;
  background: var(--naranja);
  border-radius: 50%;
  color: var(--blanco);
  display: flex;
  font-size: 1.5em;
  font-weight: 700;
  height: 60px;
  justify-content: center;
  margin-bottom: 20px;
  width: 60px;
}

.consulting-step__title {
  color: var(--negro);
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.consulting-step__text {
  color: var(--negro);
  font-size: 0.95em;
  line-height: 1.5;
  opacity: 0.8;
}

/* Paso de plataforma (sin consultoría) */
.consulting-step--platform {
  opacity: 0.5;
}

.consulting-step--platform .consulting-step__number {
  background: #ccc;
}

@media screen and (max-width: 750px) {
  .consulting-steps {
    flex-direction: column;
    gap: 30px;
  }
  .consulting-step {
    max-width: 100%;
  }
  .consulting-step__number {
    height: 50px;
    width: 50px;
    font-size: 1.3em;
  }
}

/* WORLD MAP - PRESENCIA GLOBAL */
.world-map-container {
  margin-top: 40px;
  max-width: 1000px;
  width: 100%;
}

#world-map-wrapper {
  position: relative;
  width: 100%;
}

.map-tooltip {
  background: var(--negro);
  border-radius: 6px;
  color: #fff;
  font-size: 0.85em;
  font-weight: 500;
  opacity: 0;
  padding: 6px 12px;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  z-index: 10;
}

.map-tooltip.visible {
  opacity: 1;
}

#world-map {
  width: 100%;
  height: auto;
}

#world-map path {
  fill: #e0e0e0;
  stroke: #fff;
  stroke-width: 0.3;
  transition: fill 0.3s ease;
}

#world-map path.active {
  fill: var(--naranja);
  cursor: pointer;
}

#world-map path.active:hover {
  fill: #e8945a;
  filter: drop-shadow(0 2px 4px rgba(240, 166, 108, 0.4));
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.map-legend__item {
  align-items: center;
  display: flex;
  font-size: 0.9em;
  gap: 8px;
}

.map-legend__dot {
  border-radius: 50%;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.map-legend__dot--active {
  background: var(--naranja);
}

.map-legend__dot--inactive {
  background: #e0e0e0;
}

/* LANGUAGES AVAILABLE */
.languages-available {
  margin-top: 40px;
  text-align: center;
}

.languages-title {
  color: var(--negro);
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 15px;
}

.languages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.language-tag {
  background: #f0f0f0;
  border-radius: 20px;
  color: var(--negro);
  font-size: 0.9em;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.language-tag:hover {
  background: var(--naranja);
  color: var(--blanco);
}

/* WORLD MAP RESPONSIVE */
@media screen and (max-width: 750px) {
  .world-map-container {
    margin-top: 30px;
  }
  .map-legend {
    gap: 15px;
  }
  .map-legend__item {
    font-size: 0.8em;
  }
  .languages-available {
    margin-top: 30px;
  }
  .languages-title {
    font-size: 0.9em;
  }
  .language-tag {
    font-size: 0.8em;
    padding: 6px 12px;
  }
}
