/* =========================================================
   LICITAMÁS - styles.css (LIMPIO / CONSOLIDADO)
   - Sin duplicados de header/footer
   - Fix variables faltantes (aliases)
   - Fix degradados / cortes en móvil
   ========================================================= */

/* =============== 1) TOKENS / VARIABLES ================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700;900&display=swap');

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;

  --primary: #0a1e32;
  --secondary: #050038;
  --accent: #013aff;
  --accent-dark: #0040c1;
  --success: #7cda24;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, .12);
  --shadow-md: 0 10px 26px rgba(0, 0, 0, .16);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --container: 1200px;

  --header-h: 60px;

  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;

  --font: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;

  /* ✅ Aliases para que tu CSS de Asesorías no se rompa */
  --font-main: var(--font);
  --color-text-dark: var(--text);
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  padding-top: var(--header-h);
  /* header fijo */
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.section-fill-height {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.main-content {
  flex: 1 0 auto;
  width: 100%;
}

/* =============== 3) BOTONES ================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.02);
}

/* =============== 4) HEADER / NAVBAR ================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  width: 100%;
  z-index: 9999;
  background-color: #0b1d46;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.licitamas-navbar {
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.navbar-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
  white-space: nowrap;
  line-height: 1;
}

.navbar-item:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.navbar-item i {
  font-size: 16px;
}

.navbar-toggle {
  display: none;
  font-size: 26px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background-color .2s ease, transform .2s ease;
}

.navbar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .navbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #0b1d46;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 12px 14px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-item {
    justify-content: flex-start;
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 10px;
  }

  .licitamas-navbar {
    max-width: 100%;
  }
}

/* =============== 5) INICIO - HERO (SIN CARRUSEL) ================== */
.hero {
  position: relative;
  z-index: 1;
  background-color: #0a1e32;
  background-image:
    linear-gradient(180deg,
      rgba(10, 30, 50, 0.92),
      rgba(10, 30, 50, 0.75)),
    url('/assets/img/Fondo_Inicio_01.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.25rem, 6vw, 5rem);
  overflow: hidden;
}

/* Layout principal */
.hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 3rem);
}

/* Texto */
.hero-text {
  flex: 1 1 420px;
  max-width: 640px;
}

.hero-title {
  margin: 0 0 1rem 0;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  display: block;
  font-weight: 500;
  opacity: 0.98;
}

.hero-cta {
  margin-top: 1.5rem;
}

/* Contenedor de imagen */
.hero-carousel {
  flex: 1 1 420px;
  max-width: 800px;
  min-width: 280px;
  height: clamp(240px, 34vw, 400px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel img,
.hero-carousel .hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Bloques inferiores */
.hero-blocks {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin: 1.75rem auto 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.block-item {
  flex: 1 1 0;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.block-item:first-child {
  background: var(--accent);
}

.block-item:last-child {
  background: var(--success);
}

.block-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-blocks .block-item h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.25;
  font-weight: 900;
}

/* Texto adicional */
.additional-text-content {
  margin-top: .75rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem 1.5rem;
}

.services-title {
  margin: 1rem 0;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  position: relative;
}

.services-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  background: var(--accent);
  margin: .6rem auto 0;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  text-align: left;
  width: min(720px, 100%);
}

.services-list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: .9rem;
  line-height: 1.55;
}

.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--success);
  font-size: 1.8rem;
  line-height: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-blocks {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .additional-text-content {
    padding-bottom: 2.25rem;
  }

  .hero-carousel {
    height: clamp(220px, 55vw, 340px);
  }
}

/* =============== 6) INICIO - CONCEPTOS ================== */
.inicio-conceptos-section {
  position: relative;
  z-index: 0;
  background: #f8fafc;
  overflow: visible;
}

.inicio-conceptos-section::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(10, 30, 50, 1), rgba(248, 250, 252, 1));
  z-index: -1;
  pointer-events: none;
}

.conceptos-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
  padding-top: 1.5rem;
}

.conceptos-columna-izquierda,
.conceptos-columna-derecha {
  flex: 1 1 320px;
  min-width: 280px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 900;
  margin: 1.5rem 0 1.25rem;
  color: var(--primary);
  text-transform: uppercase;
}

.conceptos-texto .concepto-title {
  margin: 1.2rem 0 .4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #0b1a48;
}

.conceptos-texto p {
  margin: 0 0 1rem;
  color: #1f2937;
  line-height: 1.7;
}

.concepto-izquierda {
  margin-top: 1.25rem;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.frase-impacto {
  margin: 0 0 .5rem;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
  font-weight: 900;
  color: #111;
}

.frase-subtitulo {
  margin: 0;
  letter-spacing: .08em;
  font-weight: 900;
  color: #111;
}

/* Glide conceptos */
.glide-conceptos {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  position: relative;
}

.glide-conceptos .glide__slide img {
  width: 100%;
  height: clamp(260px, 40vw, 450px);
  object-fit: cover;
  object-position: center;
}

.glide-conceptos .glide__bullets {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 2;
}

.glide-conceptos .glide__bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .65);
}

.glide-conceptos .glide__bullet--active {
  background: var(--accent);
  transform: scale(1.15);
}

.concepto-derecha {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.concepto-derecha p {
  margin: 0;
  color: #111;
  line-height: 1.65;
}

.concepto-derecha strong {
  font-weight: 900;
}

/* =============== 7) INICIO - STATS (FIX DEGRADADO) ================== */
.inicio-stats-section {
  position: relative;
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 5.5rem);
  overflow: hidden;
  /* ✅ evita “corte” raro */
}

.inicio-stats-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.25rem;
  /* ✅ un poco más para móvil */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(10, 30, 50, 1));
  z-index: 0;
  /* ✅ detrás */
  pointer-events: none;
}

.stats-container,
.stats-grid,
.stat-card {
  position: relative;
  z-index: 1;
  /* ✅ arriba del degradado */
}

.stats-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.stat-card {
  flex: 1 1 240px;
  max-width: 320px;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card--primary {
  background: linear-gradient(135deg, #0a1e32, #1a3a5a);
}

.stat-card--secondary {
  background: linear-gradient(135deg, #013AFF, #0040C1);
}

.stat-card--accent {
  background: linear-gradient(135deg, #7CDA24, #5CB300);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: .6rem;
}

.stat-number {
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stat-title {
  margin-top: .35rem;
  font-size: 1.05rem;
  opacity: .98;
}

@media (max-width: 480px) {
  .inicio-stats-section {
    padding-bottom: 7.25rem;
  }
}

/* ===================== FOOTER (footer.php) ===================== */
.footer-bg {
  position: relative;
  background-image: url('/assets/img/Fondo_Inicio_01.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding-top: 2.25rem;
  /* ✅ separa del stats */
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 1.5rem 1rem 1rem;
  background: transparent;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-container h2 {
  font-size: clamp(1.6rem, 4.8vw, 2.5rem);
  font-weight: 900;
  margin: 0 0 1.25rem 0;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.cta-button {
  display: inline-block;
  width: min(720px, 100%);
  background: #2186fd;
  color: #fff;
  padding: 1rem 1.25rem;
  font-size: clamp(1rem, 3.2vw, 1.1rem);
  border: none;
  border-radius: 14px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

/* Footer contenido */
.footer.fondo,
.footer {
  background: transparent !important;
  padding: 1.5rem 1rem 2rem;
}

.info-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-box {
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 1rem 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.info-box h3 {
  margin: 0 0 .75rem 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}

.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-box ul li,
.info-box p {
  margin: 0 0 .55rem 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, .92);
  line-height: 1.45;
}

.info-box a {
  color: #fff !important;
  text-decoration: none;
  transition: color .2s ease;
  font-weight: 700;
}

.info-box a:hover {
  color: #7cda24 !important;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: .75rem;
}

.insta-neon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  transition: transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.insta-neon-circle:hover {
  color: #7cda24;
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(124, 218, 36, 0.6);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* Subfooter */
.sub-footer.fondo,
.sub-footer {
  background-color: #000 !important;
  background-image: none !important;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: .95rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.sub-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .info-container {
    grid-template-columns: 1fr;
  }
}

/* =========================== ASESORÍAS - HERO =========================== */
.asesorias-hero {
  margin-top: 3rem;
  margin-bottom: 3rem;
  position: relative;
  min-height: 350px;
}

.asesorias-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  min-height: 350px;
}

.asesorias-hero-text {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 600px;
  z-index: 2;
  position: relative;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 350px;
}

.asesorias-hero-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 1.2rem;
  text-align: left;
}

.asesorias-hero-lead {
  font-family: var(--font-main);
  font-size: 1.7rem;
  color: var(--color-text-dark);
  line-height: 1.3;
  margin-bottom: 2rem;
  text-align: left;
  font-weight: 400;
}

.asesorias-hero-media {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 600px;
  position: relative;
  display: flex;
  align-items: center;
  height: 350px;
}

.asesorias-hero-img {
  width: 100%;
  max-width: 600px;
  height: 350px;
  border-radius: 0 12px 12px 0;
  object-fit: cover;
  opacity: 0.25;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Responsive HERO */
@media (max-width: 768px) {
  .asesorias-hero {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .asesorias-hero-text {
    height: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .asesorias-hero-title {
    font-size: 1.6rem;
  }

  .asesorias-hero-lead {
    font-size: 1.15rem;
  }

  .asesorias-hero-media {
    height: auto;
  }

  .asesorias-hero-img {
    height: 240px;
    border-radius: 12px;
    clip-path: none;
    opacity: 0.35;
  }
}

/* =========================== ASESORÍAS - PROPUESTA (GRID) =========================== */
.asesorias-propuesta {
  margin-bottom: 3rem;
}

.asesorias-propuesta-title {
  text-align: center;
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--color-text-dark);
}

.asesorias-propuesta-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.asesorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.asesoria-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 420px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.asesoria-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.asesoria-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.asesoria-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  color: var(--color-text-dark);
  line-height: 1.25;
}

.asesoria-card-text {
  font-size: 1rem;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.asesorias-propuesta-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.asesorias-cta-btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

/* Responsive PROPUESTA */
@media (max-width: 480px) {
  .asesorias-propuesta-title {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  .asesorias-grid {
    grid-template-columns: 1fr;
  }

  .asesoria-card {
    border-radius: 16px;
  }

  .asesoria-card-img {
    height: 140px;
  }
}

/* =========================== ASESORÍAS - EMPRESAS (GLIDE) =========================== */
.asesorias-empresas {
  margin-bottom: 3rem;
}

.asesorias-empresas-title {
  text-align: center;
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.asesorias-empresas-glide {
  max-width: 900px;
  margin: 0 auto;
}

.empresas-slide {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
}

.empresa-logo {
  height: 80px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(0.05);
  opacity: 0.95;
}

.empresas-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
}

/* Responsive EMPRESAS */
@media (max-width: 768px) {
  .asesorias-empresas-title {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
  }

  .empresas-slide {
    gap: 1.2rem;
  }

  .empresa-logo {
    height: 56px;
    max-width: 140px;
  }

  .empresas-arrow {
    font-size: 1.7rem;
  }
}

.glide-empresas,
.asesorias-empresas-glide {
  position: relative;
}

.glide-empresas .glide__track,
.glide-empresas .glide__slides,
.glide-empresas .glide__slide,
.asesorias-empresas-glide .glide__track,
.asesorias-empresas-glide .glide__slides,
.asesorias-empresas-glide .glide__slide {
  overflow: hidden;
}

.glide-empresas,
.asesorias-empresas-glide {
  padding-left: 72px;
  padding-right: 72px;
}

.glide-empresas .glide__arrows,
.asesorias-empresas-glide .glide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
}

.glide-empresas .glide__arrow,
.asesorias-empresas-glide .glide__arrow {
  pointer-events: auto;
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* Ubicación afuera */
.glide-empresas .glide__arrow--left,
.asesorias-empresas-glide .glide__arrow--left {
  left: 12px;
}

.glide-empresas .glide__arrow--right,
.asesorias-empresas-glide .glide__arrow--right {
  right: 12px;
}

/* Hover */
.glide-empresas .glide__arrow:hover,
.asesorias-empresas-glide .glide__arrow:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  background: #ffffff;
}

.glide-empresas .glide__arrows .glide__arrow:hover,
.asesorias-empresas-glide .glide__arrows .glide__arrow:hover {
  transform: scale(1.06);
}

@media (max-width: 768px) {

  .glide-empresas,
  .asesorias-empresas-glide {
    padding-left: 52px;
    padding-right: 52px;
  }

  .glide-empresas .glide__arrow,
  .asesorias-empresas-glide .glide__arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .glide-empresas .glide__arrow--left,
  .asesorias-empresas-glide .glide__arrow--left {
    left: 8px;
  }

  .glide-empresas .glide__arrow--right,
  .asesorias-empresas-glide .glide__arrow--right {
    right: 8px;
  }
}

/* 6) Si por alguna razón tuvieras estilos previos que vuelven visible el overflow, esto lo “mata” */
.glide-empresas .glide__track,
.glide-empresas .glide__slides {
  overflow: hidden !important;
}

/* =========================== ASESORÍAS - TESTIMONIOS =========================== */
.asesorias-testimonios {
  margin-bottom: 3rem;
}

.testimonios-kicker {
  text-align: center;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #333;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.testimonios-title {
  text-align: center;
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2.5rem;
}

.testimonios-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonio-card {
  background: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 2rem 2rem 1.5rem 2rem;
  max-width: 500px;
  flex: 1 1 350px;
  position: relative;
}

.testimonio-quote {
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
  background: #fafafa;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #888;
}

.testimonio-quote i {
  font-size: 22px;
  color: #888;
}

.testimonio-body {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.testimonio-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.testimonio-text {
  font-size: 1.1rem;
  color: #444;
  text-align: left;
  line-height: 1.55;
}

.testimonio-footer {
  margin-top: 1.2rem;
}

.testimonio-name {
  font-size: 1.1rem;
  color: #333;
}

.testimonio-role {
  font-size: 1rem;
  color: #888;
}

/* Responsive TESTIMONIOS */
@media (max-width: 768px) {
  .testimonios-title {
    font-size: 2rem;
  }

  .testimonio-card {
    padding: 1.6rem 1.4rem 1.2rem;
  }

  .testimonio-text {
    font-size: 1rem;
  }

  .testimonio-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonio-text {
    text-align: left;
  }
}

/* =========================== ASESORÍAS - FAQ WAVE + FAQ =========================== */
.faq-wave {
  width: 100%;
  position: relative;
  margin-bottom: -2.5rem;
  z-index: 1;
}

.faq-wave svg {
  display: block;
}

.asesorias-faq {
  margin-bottom: 4rem;
}

.faq-spacer {
  height: 60px;
}

.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.faq-title {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* Item base */
.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.2rem;
  overflow: hidden;
  /* importante para bordes */
}

/* Botón pregunta */
.faq-question {
  width: 100%;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1.2rem 2rem;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  font-size: 2rem;
  color: #9900e6;
}

/* Respuesta (transición) */
.faq-item .faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: #fff;
  color: #444;
  padding: 0 2rem 1.2rem 2rem;
  font-size: 1.1rem;
  transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.3s, background 0.3s, color 0.3s;
}

/* Estado activo */
.faq-item.active .faq-answer {
  background: #9900e6 !important;
  color: #fff !important;
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-question {
  background: #9900e6 !important;
  color: #fff !important;
  border-radius: 16px 16px 0 0;
}

.faq-item.active .faq-toggle {
  color: #fff !important;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-header {
    margin-left: 0;
    padding: 0 0.25rem;
  }

  .faq-title {
    font-size: 2.1rem;
  }

  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 1.05rem;
  }

  .faq-item .faq-answer {
    padding: 0 1.2rem 1rem 1.2rem;
    font-size: 1rem;
  }
}

/* Ajustes en Asesorias */
.glide-empresas {
  position: relative !important;
  padding-left: 3.25rem;
  padding-right: 3.25rem;
}

.glide-empresas .glide__track {
  overflow: visible !important;
}

.glide-empresas .glide__arrows {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

/* Botones flecha */
.glide-empresas .glide__arrow {
  pointer-events: auto !important;

  width: 48px !important;
  height: 48px !important;
  border-radius: 999px !important;

  /* Fondo visible */
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;

  /* Sombra para que destaque sobre logos */
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.20) !important;

  /* Texto/icono */
  color: #0f172a !important;
  font-size: 30px !important;
  line-height: 1 !important;

  /* Centrado del símbolo */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: pointer !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;

  /* Quita estilos inline actuales */
  outline: none !important;
}

/* Hover */
.glide-empresas .glide__arrow:hover {
  transform: translateY(-2px) scale(1.05) !important;
  filter: brightness(1.02) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24) !important;
}

/* Posiciona “fuera” (hacia afuera del track) */
.glide-empresas .glide__arrow--left {
  margin-left: -1.75rem !important;
}

.glide-empresas .glide__arrow--right {
  margin-right: -1.75rem !important;
}

/* Mobile: menos “fuera” para que no se corten en pantallas chicas */
@media (max-width: 768px) {
  .glide-empresas {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }

  .glide-empresas .glide__arrow {
    width: 44px !important;
    height: 44px !important;
    font-size: 28px !important;
  }

  .glide-empresas .glide__arrow--left {
    margin-left: -1.1rem !important;
  }

  .glide-empresas .glide__arrow--right {
    margin-right: -1.1rem !important;
  }
}

@media (max-width: 420px) {
  .glide-empresas .glide__arrow {
    background: rgba(255, 255, 255, 0.85) !important;
  }
}

/* =============== CURSOS ================== */
.cursos-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/assets/img/resgistro-proveedores-diagnostico.png') center/cover no-repeat;
  overflow: hidden;
}

.cursos-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 30, .7);
}

.cursos-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  flex-wrap: wrap;
}

.cursos-hero-text {
  flex: 1 1 420px;
  color: #fff;
}

.cursos-hero-text h1 {
  margin: 0 0 1rem;
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cursos-hero-text p {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  line-height: 1.6;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.cursos-hero-img {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
}

.cursos-hero-img img {
  width: min(520px, 100%);
  max-height: 420px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  background: #fff;
  opacity: .95;
}

/* Lista de cursos */
.lista-cursos {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: #fff;
}

.titulo-seccion {
  text-align: center;
  margin: 0 0 1.5rem;
}

.titulo-seccion h2 {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #1e3a8a;
  border-bottom: 4px solid #2186fd;
  padding-bottom: 6px;
  margin: 0;
}

.grid-cursos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem;
}

.curso-card-personalizado {
  position: relative;
  flex: 0 1 320px;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
  background-image: url('/assets/img/ImagenLicitamas.png');
  background-size: cover;
  background-position: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.curso-card-personalizado:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.curso-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.curso-card-link:hover {
  text-decoration: none;
}

.btn-ver-mas {
  display: inline-block;
  background-color: #0064ff;
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 700;
  pointer-events: none;
}

.badge-oferta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #ffc107;
  color: #000;
  text-align: center;
  padding: 6px 0;
  font-weight: 900;
  z-index: 2;
}

.curso-overlay {
  width: 100%;
  background: transparent !important;
  color: #fff;
  padding: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  z-index: 2;
}

.curso-overlay h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.curso-overlay p,
.curso-overlay .precios,
.curso-overlay .precio-normal,
.curso-overlay .precio-oferta {
  text-align: center;
}

.precio-normal {
  text-decoration: line-through;
  color: #ffd0d0;
  margin-right: .35rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.precio-oferta {
  color: #2563eb !important;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.curso-overlay .boton,
.curso-overlay a.boton {
  margin: .25rem auto 0;
  display: inline-flex;
  justify-content: center;
}

/* cursos stats */
.cursos-stats {
  background: #fff;
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.cursos-stats-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.cursos-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.curso-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.curso-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .10);
}

.curso-stat-title {
  font-weight: 900;
  margin-bottom: .5rem;
  color: #0f172a;
}

.curso-stat-text {
  color: var(--muted);
  line-height: 1.6;
}

.curso-stat-icon {
  font-size: 2rem;
  margin-bottom: .6rem;
}

.curso-stat--azul {
  border-top: 4px solid #3b82f6;
}

.curso-stat--verde {
  border-top: 4px solid #10b981;
}

.curso-stat--naranja {
  border-top: 4px solid #f59e0b;
}

.boton,
a.boton {
  display: inline-block;
  background: #2186fd;
  color: #fff !important;
  padding: .7rem 1.1rem;
  border-radius: 10px;
  font-weight: 900;
}

.boton:hover {
  filter: brightness(.95);
}

/* =============== 9) DETALLE CURSO (Bulma) ================== */

/* Breadcrumb */
.breadcrumb-inline {
  margin-bottom: .75rem;
  font-size: .8rem;
}

.breadcrumb-inline a {
  color: #3273dc;
  font-weight: 600;
}

.breadcrumb-inline .is-active a {
  color: #111;
}

/* Botón carrito */
.boton-carrito-personalizado {
  background: #2186fd !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 900;
}

.boton-carrito-personalizado:hover {
  background: #0f60c4 !important;
}

/* Links de contacto */
.contacto-curso {
  margin-top: 1rem;
}

.link-contacto-curso {
  color: #3273dc;
  font-weight: 700;
  text-decoration: none;
}

.link-contacto-curso:hover {
  text-decoration: underline;
}

/* =========================================================
   CONTENIDO DEL CURSO (UNA SOLA CARD - FONDO BLANCO)
   ========================================================= */

.unidades-lista {
  background: #fff;
  border: 0;
  padding: 3rem 0;
}

/* =========================================================
   CONTENEDOR TIPO "DESCRIPCIÓN" (LA ÚNICA CARD)
   ========================================================= */

.curso-box {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: #fff;
}

/* Barra superior tipo pestaña */
.curso-box__tabs {
  background: #f3f4f6;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.curso-box__tab {
  display: inline-block;
  padding: 14px 22px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .95rem;
  color: #0a1e32;
  background: transparent;
}

.curso-box__tab.is-active {
  background: #fff;
  border-bottom: 3px solid #2563eb;
}

/* Contenido interno */
.curso-box__content {
  padding: 2.25rem;
  font-size: 1.05rem;
  color: #0f172a;
  text-align: center;
}

/* Títulos */
.curso-box__content h3 {
  margin: 2.2rem 0 .85rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #0a1e32;
  letter-spacing: .02em;
  line-height: 1.2;
}

.curso-box__content h3:first-of-type {
  margin-top: 0;
}

.curso-box__content ul {
  display: inline-block;
  text-align: left;
  margin: .6rem auto 1.6rem;
  padding-left: 1.35rem;
  max-width: 860px;
  width: 100%;
  list-style-position: outside;
}

.curso-box__content li {
  margin: .45rem 0;
  line-height: 1.6;
  color: #1f2937;
}

.curso-box__content ul li::marker {
  color: #2563eb;
  font-size: 1em;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .unidades-lista {
    padding: 2rem 0;
  }

  .curso-box__content {
    padding: 1.6rem 1.25rem;
  }

  .curso-box__content ul {
    max-width: 100%;
    padding-left: 1.15rem;
  }

  .curso-box__content h3 {
    font-size: 1rem;
  }
}

/* =============== 10) CONTACTO ================== */
.mt-contacto {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.notification {
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* =============== 11) CARRITO ================== */
.contenedor {
  max-width: 900px;
  margin: 6rem auto 2rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.item {
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
}

.total {
  text-align: right;
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.acciones {
  text-align: center;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .item {
    flex-direction: column;
    align-items: flex-start;
  }

  .total {
    text-align: left;
  }
}

/* =============== 11) FIX OVERFLOW ================== */
html {
  overflow-y: auto !important;
  height: auto !important;
}

body {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden;
}

.wrapper,
.main-content {
  overflow: visible !important;
}

/* =============== 12) ACCESIBILIDAD ================== */
.navbar-item:focus-visible,
.navbar-toggle:focus-visible,
.cta-button:focus-visible,
.info-box a:focus-visible,
.insta-neon-circle:focus-visible {
  outline: 3px solid rgba(124, 218, 36, 0.75);
  outline-offset: 3px;
  border-radius: 12px;
}

/* =============== 13) RESPONSIVE EXTRA ================== */
@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   Estilo para futuras secciones o componentes
   ========================================================= */