@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

:root {
  --brand-black: #000000;
  --brand-gray: #cdcdcd;
  --brand-orange: #ff6600;
  --brand-orange-2: #ff9900;
  --soft-bg: #f7f7f7;
  --soft-white: #ffffff;
  --transition-default: 380ms ease;
}

ul li::marker {
  color: var(--brand-orange);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--brand-black);
  background: var(--soft-white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
}

.header-shell {
  width: 80%;
  margin: 0 auto;
}

#siteHeader .header-shell > .flex {
  overflow: visible;
}

/* Contenedor del menú principal (escritorio) */
.main-nav-wrap {
  gap: 0.125rem;
  padding: 0.4rem 0.55rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  overflow: visible;
}

.main-nav-wrap .mega-wrap {
  overflow: visible;
}

.main-nav-wrap > a.underline-link {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.main-nav-wrap > a.underline-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.main-nav-wrap .mega-wrap > #megaTrigger.underline-link {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  white-space: nowrap;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.main-nav-wrap .mega-wrap:hover > #megaTrigger.underline-link,
.main-nav-wrap .mega-wrap:focus-within > #megaTrigger.underline-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sticky-header.shrink .main-nav-wrap {
  padding: 0.32rem 0.45rem;
  border-radius: 12px;
}

.sticky-header.shrink .main-nav-wrap > a.underline-link,
.sticky-header.shrink .main-nav-wrap .mega-wrap > #megaTrigger.underline-link {
  padding: 0.42rem 0.65rem;
}

.toolbar-link,
.underline-link {
  position: relative;
  text-decoration: none;
}

.toolbar-link::after,
.underline-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brand-orange-2);
  transition: width var(--transition-default);
}

.toolbar-link:hover::after,
.underline-link:hover::after {
  width: 100%;
}

.sticky-header {
  transition: all var(--transition-default);
  backdrop-filter: blur(8px);
  padding-top: calc(0.75rem + 10px);
  padding-bottom: calc(0.75rem + 10px);
}

.sticky-header.shrink {
  background: rgba(0, 0, 0, 0.92);
  padding-top: calc(0.35rem + 5px);
  padding-bottom: calc(0.35rem + 5px);
}

.mega-menu {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity var(--transition-default), transform var(--transition-default);
}

.mega-wrap:hover .mega-menu,
.mega-wrap:focus-within .mega-menu,
.mega-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Megamenú — panel editorial (position absolute: no usar relative aquí; pisa la utilidad .absolute de Tailwind) */
.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(1220px, calc(100vw - 2rem));
  max-width: min(1220px, calc(100vw - 2rem));
  z-index: 100;
  margin-top: 0.5rem;
  padding-top: 0;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 32px 64px rgba(0, 0, 0, 0.14),
    0 12px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.mega-menu-accent {
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, #ff6600 20%, #ff9900 50%, #ff6600 80%, transparent 100%);
  opacity: 0.95;
}

.mega-menu-inner {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 1.35rem clamp(1.125rem, 3.5vw, 2.25rem) 1.6rem;
  max-height: min(78vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ff6600 #f0f0f0;
  box-sizing: border-box;
}

.mega-menu-inner::-webkit-scrollbar {
  width: 6px;
}

.mega-menu-inner::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff6600, #000);
  border-radius: 99px;
}

.mega-menu-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-bottom: 1.05rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-topbar-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.mega-topbar-hint {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  color: #6b7280;
  line-height: 1.35;
}

.mega-topbar-link {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ff6600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.08);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.mega-topbar-link:hover {
  background: rgba(255, 102, 0, 0.15);
  color: #cc5200;
}

.mega-menu-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding-top: 1.05rem;
}

@media (min-width: 1280px) {
  .mega-menu-body {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding-top: 1.15rem;
  }
}

.mega-feature {
  flex-shrink: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255, 102, 0, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, #0c0c0c 0%, #151515 45%, #0a0a0a 100%);
  border-radius: 18px;
  padding: 1.5rem;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 8px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1280px) {
  .mega-feature {
    width: 292px;
    flex-shrink: 0;
    margin-right: clamp(1rem, 2vw, 1.5rem);
  }
}

.mega-feature h2 {
  font-family: 'Montserrat', sans-serif;
}

.mega-feature-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff9900;
}

.mega-feature-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mega-feature-meta li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}

.mega-meta-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ff9900;
  line-height: 1.1;
}

.mega-meta-label {
  display: block;
  font-size: 0.62rem;
  color: #9ca3af;
  margin-top: 0.2rem;
  line-height: 1.2;
}

.mega-feature-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: linear-gradient(180deg, #ff7711 0%, #ff6600 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mega-feature-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.mega-feature-link {
  text-align: center;
  font-size: 0.7rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.35s ease;
}

.mega-feature-link:hover {
  color: #fff;
}

.mega-cols-shell {
  flex: 1;
  min-width: 0;
  background: #f3f4f6;
  border-radius: 18px;
  padding: clamp(0.85rem, 2vw, 1.2rem);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

@media (min-width: 1280px) {
  .mega-cols-shell {
    padding: clamp(1rem, 1.8vw, 1.35rem) clamp(0.95rem, 1.6vw, 1.2rem) clamp(1.05rem, 1.8vw, 1.4rem);
  }
}

.mega-cols-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .mega-cols-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 0.5rem;
  }
}

@media (min-width: 1280px) {
  .mega-cols-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.45rem, 1vw, 0.65rem);
  }
}

.mega-col {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 0.85rem 0.75rem 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.mega-col::before {
  content: attr(data-mega-index);
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  color: rgba(255, 102, 0, 0.35);
  letter-spacing: 0.06em;
}

.mega-col:hover {
  border-color: rgba(255, 102, 0, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.mega-col-head {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  padding: 0 1.65rem 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.45rem;
  transition: opacity 0.3s ease;
}

.mega-col-head:hover {
  opacity: 0.92;
}

.mega-col-icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 102, 0, 0.18), rgba(255, 102, 0, 0.05));
  color: #ff5e14;
  font-size: 1rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.mega-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #111827;
}

.mega-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-col-list li {
  margin: 0;
  position: relative;
}

.mega-col-list li + li {
  margin-top: 0.15rem;
}

.mega-col-list a {
  display: block;
  padding: 0.45rem 0.4rem 0.45rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.38;
  color: #4b5563;
  text-decoration: none;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.mega-col-list a:hover {
  background: rgba(255, 102, 0, 0.06);
  border-left-color: #ff6600;
  color: #111827;
}

.mega-col-list a strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.01em;
  margin-bottom: 0.12rem;
}

.mega-col-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff6600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.mega-col-more:hover {
  background: rgba(255, 102, 0, 0.08);
  color: #cc5200;
}


.glass {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-slide {
  min-height: min(calc(88vh - 200px), calc(56rem - 200px));
  background-size: cover;
  background-position-x: center;
  /* Encuadre ~100px más abajo que el centro + desplazamiento de parallax */
  background-position-y: calc(50% + 100px + var(--parallax-shift, 0px));
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 700ms ease, transform 1000ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.layered {
  opacity: 0;
  transform: translateY(26px);
}

.hero-section:has(.hero-slide.active) .layered {
  opacity: 1;
  transform: translateY(0);
  transition: transform 550ms ease, opacity 550ms ease;
}

.hero-section:has(.hero-slide.active) .layered.delay-1 {
  transition-delay: 120ms;
}

.hero-section:has(.hero-slide.active) .layered.delay-2 {
  transition-delay: 260ms;
}

.hero-section:has(.hero-slide.active) .layered.delay-3 {
  transition-delay: 380ms;
}

.hero-section:has(.hero-slide.active) .layered.delay-4 {
  transition-delay: 480ms;
}

.hero-section:has(.hero-slide.active) .layered.delay-5 {
  transition-delay: 600ms;
}

@supports not (selector(:has(*))) {
  .hero-section .layered {
    opacity: 1;
    transform: none;
  }
}

.hero-section .header-shell.hero-shell {
  width: min(92%, 1280px);
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.hero-dot:focus-visible {
  outline: 2px solid #ff6600;
  outline-offset: 3px;
}

.hero-dot.active {
  background: #ff6600;
  transform: scale(1.2);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.35);
}

.counter {
  font-variant-numeric: tabular-nums;
}

.card-lift {
  transition: transform var(--transition-default), box-shadow var(--transition-default);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
}

.card-lift:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
  transition: transform var(--transition-default), color var(--transition-default);
}

.card-lift:hover .service-icon {
  transform: translateY(-5px);
  color: var(--brand-orange);
}

/* Catálogo cursos — showroom uniforme (cursos.html) */
.course-showroom-section {
  background:
    radial-gradient(1200px 480px at 50% 0%, rgba(255, 153, 0, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--soft-bg) 38%, var(--soft-bg) 100%);
}

/* Espacio fijo bajo el párrafo intro del catálogo (evita depender de utilidades Tailwind no compiladas) */
#catalogo-do .course-catalog-intro {
  padding-bottom: 1.25rem;
  margin-bottom: 2.25rem;
}

.course-showroom {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .course-showroom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .course-showroom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.course-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 14px 36px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.course-offer-card.card-lift {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 14px 36px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.course-offer-card.card-lift:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 22px 48px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

.course-offer-card__accent {
  display: block;
  height: 3px;
  width: 100%;
  flex-shrink: 0;
  background: linear-gradient(90deg, #ff6600 0%, #ff9900 50%, #ff6600 100%);
  opacity: 0.95;
}

.course-offer-card__media {
  position: relative;
  flex: 0 0 auto;
  height: 184px;
  width: 100%;
  background: linear-gradient(145deg, #e8e8e8 0%, #f3f3f3 100%);
  overflow: hidden;
}

.course-offer-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.12) 100%);
}

.course-offer-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-offer-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.125rem 1.25rem 1.125rem;
}

.course-offer-card__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.course-offer-card__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.28;
  color: #0a0a0a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.72rem;
}

.course-offer-card__lede {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #525252;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.36rem;
}

.course-offer-card__highlights-label {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #737373;
}

.course-offer-card__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 5.15rem;
}

.course-offer-card__highlights li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.75rem;
  line-height: 1.38;
  color: #404040;
}

.course-offer-card__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.course-offer-card__spacer {
  flex: 1 1 auto;
  min-height: 0.35rem;
}

.course-offer-card__footer {
  flex-shrink: 0;
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px dotted #d4d4d4;
}

.course-offer-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 0.35rem;
  margin-bottom: 0.75rem;
}

.course-offer-card__meta-cell {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.course-offer-card__meta-k {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #525252;
}

.course-offer-card__meta-v {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #262626;
  line-height: 1.25;
  word-break: break-word;
}

.course-offer-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.course-offer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.4rem;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

@media (min-width: 640px) {
  .course-offer-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.45rem;
  }
}

.course-offer-btn:hover {
  transform: translateY(-1px);
}

.course-offer-btn:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

.course-offer-btn--primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.course-offer-btn--primary:hover {
  background: #e65c00;
  color: #fff;
}

.course-offer-btn--outline {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #d4d4d4;
}

.course-offer-btn--outline:hover {
  background: #fafafa;
  border-color: #a3a3a3;
  color: #000;
}

.course-offer-btn--dark {
  background: #0f172a;
  color: #fff;
}

.course-offer-btn--dark:hover {
  background: #020617;
  color: #fff;
}

.search-shell {
  width: 0;
  overflow: hidden;
  transition: width var(--transition-default);
}

.search-shell.open {
  width: min(90vw, 420px);
}

.social-gadget {
  position: fixed;
  right: -156px;
  top: 42%;
  z-index: 50;
  transition: right var(--transition-default);
}

.social-gadget.open,
.social-gadget:hover {
  right: 0;
}

.wa-bot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.scroll-up {
  position: fixed;
  right: calc(1rem + 10px);
  bottom: 8rem;
  z-index: 59;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-default), background-color 0.35s ease, transform 0.35s ease;
  background-color: #ff3300;
  color: #fff;
  border: none;
  cursor: pointer;
}

.scroll-up:hover {
  background-color: #e62e00;
}

.scroll-up.show {
  opacity: 1;
  pointer-events: auto;
}

.chat-body {
  max-height: 240px;
  overflow-y: auto;
}

/* Filas del chat: el JS no puede depender de clases Tailwind purgadas (p. ej. justify-end) */
.chat-row {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.chat-row--bot {
  justify-content: flex-start;
}

.chat-row--user {
  justify-content: flex-end;
}

.chat-bubble {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  max-width: 82%;
  box-sizing: border-box;
}

.bubble-bot {
  background: #eef5f1;
  border-radius: 0.75rem 0.75rem 0.75rem 0.2rem;
}

.bubble-user {
  background: #d9fdd3;
  border-radius: 0.75rem 0.75rem 0.2rem 0.75rem;
}

.preloader {
  transition: opacity 450ms ease;
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.logo-pulse {
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.72; }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff6600, #000000);
  border-radius: 999px;
}

.footer-small {
  font-size: 0.75rem;
}

/* Footer — diseño corporativo (jerarquía, ritmo y superficies) */
footer.footer-small {
  position: relative;
  background: linear-gradient(180deg, #0c0c0c 0%, #050505 45%, #000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 3.25rem !important;
  padding-bottom: 2.75rem !important;
  color: #d6d3d1;
}

footer.footer-small > .header-shell.grid {
  row-gap: 2rem;
  column-gap: 1.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (min-width: 1024px) {
  footer.footer-small > .header-shell.grid {
    column-gap: 2rem;
  }

  footer.footer-small > .header-shell.grid > div:nth-child(2) {
    padding-left: 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
  }

  footer.footer-small > .header-shell.grid > div:nth-child(3) {
    padding-left: 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
  }
}

footer.footer-small > .header-shell.grid > div > h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 1rem;
}

footer.footer-small > .header-shell.grid > div:first-child > p {
  max-width: 22rem;
  line-height: 1.65;
  color: #a8a29e;
  font-size: 0.8125rem;
}

footer.footer-small > .header-shell.grid > div:first-child > h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #fafafa;
  margin-bottom: 0.65rem;
}

footer.footer-small > .header-shell.grid > div:first-child > h3 + p {
  margin-top: 0;
}

footer.footer-small > .header-shell.grid .footer-list.space-y-1 > li + li {
  margin-top: 0.35rem;
}

footer.footer-small > .header-shell.grid input.text-black {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.98);
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

footer.footer-small > .header-shell.grid input.text-black:focus {
  outline: none;
  border-color: rgba(251, 146, 60, 0.55);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

footer.footer-small > .header-shell.grid > div:nth-child(3) button {
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border: none;
  background: linear-gradient(145deg, #ea580c 0%, #9a3412 100%);
  color: #fff;
}

footer.footer-small > .header-shell.grid > div:nth-child(3) button:hover {
  filter: brightness(1.06);
}

footer.footer-small .footer-secure-img {
  margin-top: 1.1rem;
  max-width: 136px;
  opacity: 0.9;
}

.footer-copy {
  font-size: 0.64rem;
  padding-top: 1.25rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #78716c;
  letter-spacing: 0.03em;
  line-height: 1.65;
}

.footer-secure-img {
  margin-top: 0.75rem;
  display: block;
  max-width: 160px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brochure-card {
  position: relative;
  display: block;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #f5f5f4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121212;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-brochure-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 62%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.footer-brochure-card:hover::before {
  transform: translateX(100%);
}

.footer-brochure-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 146, 60, 0.38);
  background: #161616;
}

/* CTA brochure — barra ancha al pie del footer (antes del copyright) */
.footer-brochure-wrap {
  margin-top: 2.25rem;
}

.footer-brochure-card.footer-brochure-card--bottom {
  margin-top: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111111;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-brochure-card.footer-brochure-card--bottom::before {
  display: none;
}

.footer-brochure-card.footer-brochure-card--bottom:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  background: #151515;
  box-shadow: 0 16px 48px -28px rgba(0, 0, 0, 0.85);
}

.footer-brochure-card:focus-visible {
  outline: 2px solid #ff9900;
  outline-offset: 3px;
}

.footer-brochure-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem 1.05rem;
}

.footer-brochure-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 6px;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(145deg, #ea580c, #c2410c);
  box-shadow: none;
}

.footer-brochure-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brochure-card__title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.2;
}

.footer-brochure-card__badge {
  align-self: flex-start;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1c1917;
  background: #fdba74;
  padding: 0.14rem 0.42rem 0.15rem;
  border-radius: 4px;
}

.footer-brochure-card__hint {
  font-size: 0.62rem;
  line-height: 1.4;
  color: rgba(212, 212, 212, 0.78);
}

.footer-brochure-card__arrow {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: rgba(253, 186, 116, 0.85);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-brochure-card:hover .footer-brochure-card__arrow {
  transform: translate(2px, -2px);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .footer-brochure-card,
  .footer-brochure-card::before,
  .footer-brochure-card__arrow {
    transition: none;
  }

  .footer-brochure-card:hover {
    transform: none;
  }

  .footer-brochure-card:hover::before {
    transform: none;
  }
}

/* Menú de servicios — panel con tarjetas */
.footer-services {
  margin-top: 2.5rem;
  padding: 1.75rem 1.35rem 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    #060606;
  color: #d4d4d4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .footer-services {
    padding: 2rem 1.5rem 1.75rem;
  }
}

.footer-services-heading {
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e7e5e4;
}

.footer-services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.1rem;
  }
}

@media (min-width: 1100px) {
  .footer-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 0.95rem;
  }
}

.footer-svc-card {
  padding: 1rem 0.95rem 1.05rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-svc-card:hover {
  border-color: rgba(251, 146, 60, 0.22);
  background: rgba(0, 0, 0, 0.55);
}

.footer-svc-head {
  display: none;
}

.footer-svc-title {
  margin: 0 0 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #fdba74;
}

.footer-svc-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-svc-title a:hover {
  color: #ea580c;
}

.footer-svc-list {
  margin: 0;
  padding-left: 1.05rem;
  list-style: disc;
  list-style-position: outside;
}

.footer-svc-list li + li {
  margin-top: 0.32rem;
}

.footer-svc-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: #d4d4d4;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: inherit;
  line-height: 1.5;
  transition: color 0.15s ease;
}

.footer-svc-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brand-orange-2);
  transition: width var(--transition-default);
}

.footer-svc-link:hover {
  color: #e5e5e5;
}

.footer-svc-link:hover::after {
  width: 100%;
}

.footer-svc-link-title {
  display: block;
  font-weight: 400;
  color: inherit;
  font-size: inherit;
  transition: color 0.15s ease;
}

/* ——— Página Clientes: hero ——— */
.clientes-hero-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .clientes-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 2rem 3rem;
    align-items: end;
  }
}

.clientes-hero-copy {
  max-width: 40rem;
}

.clientes-hero-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffb380;
}

.clientes-hero-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #fff;
}

.clientes-hero-lead {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #d4d4d4;
}

@media (min-width: 768px) {
  .clientes-hero-lead {
    font-size: 1.0625rem;
  }
}

.clientes-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
  .clientes-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    padding: 1rem 1.1rem;
  }
}

@media (min-width: 1024px) {
  .clientes-hero-stats {
    padding: 1.15rem 1.25rem;
  }
}

.clientes-hero-stat {
  margin: 0;
  text-align: center;
  padding: 0.4rem 0.2rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
}

.clientes-hero-stat dd {
  margin: 0;
}

.clientes-hero-stat-value {
  margin: 0;
  font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.35rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #ff9900;
}

.clientes-hero-stat-label {
  margin: 0.35rem 0 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a3a3a3;
  line-height: 1.25;
}

@media (max-width: 639px) {
  .clientes-hero-stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
}

/* ——— Página Clientes: directorio ——— */
.clientes-directory-stack > * + * {
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .clientes-directory-stack > * + * {
    margin-top: 2.25rem;
  }
}

.clientes-dir-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.85rem;
}

@media (max-width: 24rem) {
  .clientes-dir-stats {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* Fondo y tipografía del ticker en CSS plano: tailwind.build puede no incluir bg-neutral-900 */
.clientes-dir-stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 0.55rem 0.75rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.clientes-ticker-shell {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.clientes-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #525252;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.65);
}

.clientes-ticker-label .fa-building-user {
  color: #ff6600;
  font-size: 0.95rem;
}

.clientes-ticker {
  overflow: hidden;
  padding: 0.65rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.clientes-ticker-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0.35rem;
  align-items: center;
  animation: clientes-ticker-scroll 85s linear infinite;
}

.clientes-ticker:hover .clientes-ticker-track {
  animation-play-state: paused;
}

.clientes-ticker-group {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  padding-right: 2.5rem;
}

.clientes-ticker-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #262626;
  white-space: nowrap;
}

.clientes-ticker-dot {
  color: #ff6600;
  opacity: 0.45;
  font-weight: 400;
}

@keyframes clientes-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clientes-ticker-track {
    animation: none;
    flex-wrap: wrap;
    row-gap: 0.4rem;
    column-gap: 0.35rem;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    padding: 0.25rem 0.5rem 0.5rem;
  }

  .clientes-ticker-group:last-child {
    display: none;
  }

  .clientes-ticker-name {
    white-space: normal;
  }
}

.clientes-search-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  max-width: 36rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.clientes-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.9rem;
  color: #171717;
  outline: none;
}

.clientes-search-input::placeholder {
  color: #a3a3a3;
}

.clientes-chip {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #404040;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.clientes-chip:hover {
  border-color: rgba(255, 102, 0, 0.45);
  color: #c2410c;
}

.clientes-chip.is-active {
  border-color: #ff6600;
  background: linear-gradient(135deg, #ff6600, #e65c00);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(255, 102, 0, 0.55);
}

.clientes-toolbar {
  padding-top: 20px;
}

.clientes-chip-row {
  padding-bottom: 20px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 0.85rem;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (min-width: 1024px) {
  .clientes-grid {
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 1rem;
  }
}

.cliente-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(165deg, #fff 0%, #fafafa 100%);
  min-height: 5.5rem;
}

.cliente-card-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ff8533, #ff6600 55%, #c2410c);
  box-shadow: 0 6px 14px -4px rgba(255, 102, 0, 0.45);
}

.cliente-card-body {
  min-width: 0;
}

.cliente-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: #171717;
  word-break: break-word;
}

.cliente-card-hint {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #737373;
}

.cliente-card-sector {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.cliente-card-sector-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #ff6600;
  opacity: 0.75;
}

/* ——— Página Capacitación ——— */
.capacitacion-hero {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 3.75rem;
  color: #fff;
  background-color: #0a0a0a;
}

@media (min-width: 768px) {
  .capacitacion-hero {
    padding: 4rem 0 4.5rem;
  }
}

.capacitacion-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 38%;
  filter: saturate(1.05);
}

.capacitacion-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(15, 23, 42, 0.82) 100%);
}

.capacitacion-hero-glow {
  position: absolute;
  pointer-events: none;
  right: -18%;
  top: 50%;
  width: min(52vw, 28rem);
  height: min(52vw, 28rem);
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.18) 0%, transparent 68%);
}

.capacitacion-hero-inner {
  position: relative;
  z-index: 1;
}

.capacitacion-hero-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .capacitacion-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.85fr);
    gap: 2rem 2.75rem;
    align-items: end;
  }
}

.capacitacion-hero-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffb380;
}

.capacitacion-hero-title {
  margin: 0.65rem 0 0;
  font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 18ch;
}

@media (min-width: 640px) {
  .capacitacion-hero-title {
    max-width: none;
  }
}

.capacitacion-hero-lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #d4d4d4;
}

@media (min-width: 768px) {
  .capacitacion-hero-lead {
    font-size: 1.0625rem;
  }
}

.capacitacion-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px -24px rgba(0, 0, 0, 0.65);
}

@media (max-width: 520px) {
  .capacitacion-hero-stats {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

.capacitacion-hero-stat {
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
}

.capacitacion-hero-stat-value {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #ff9900;
}

.capacitacion-hero-stat-label {
  margin: 0.3rem 0 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3a3a3;
  line-height: 1.25;
}

.cap-section-head {
  max-width: 40rem;
}

.cap-section-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ea580c;
}

.cap-section-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #171717;
}

.cap-section-desc {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #525252;
}

/* Tres pilares — capacitacion.html */
.cap-pillars-surface {
  position: relative;
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(255, 102, 0, 0.06), transparent 55%),
    linear-gradient(180deg, #fafafa 0%, #fff 38%, #f7f7f8 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cap-pillars-shell {
  position: relative;
  z-index: 1;
}

.cap-pillars-hero {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .cap-pillars-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 2.5rem;
    align-items: center;
  }
}

.cap-pillars-head {
  max-width: 38rem;
}

.cap-pillars-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.22);
}

.cap-pillars-eyebrow-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(145deg, #ff8533, #ea580c);
}

.cap-pillars-eyebrow-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c2410c;
}

.cap-pillars-title {
  margin: 1rem 0 0;
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

.cap-pillars-lead {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #525252;
  max-width: 36rem;
}

.cap-pillars-deck {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.cap-pillars-deck li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #404040;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 6px 20px -14px rgba(0, 0, 0, 0.2);
}

.cap-pillars-deck-key {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ea580c;
}

.cap-pillars-work {
  border-radius: 1.1rem;
  padding: 1.35rem 1.25rem 1.4rem;
  background: linear-gradient(155deg, #171717 0%, #262626 48%, #1a1a1a 100%);
  color: #e5e5e5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 50px -32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cap-pillars-work-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.1rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cap-pillars-work-crest {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  font-size: 1.2rem;
  color: #171717;
  background: linear-gradient(145deg, #fdba74, #fb923c);
  box-shadow: 0 10px 28px -12px rgba(251, 146, 60, 0.65);
}

.cap-pillars-work-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fdba74;
}

.cap-pillars-work-sub {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #a3a3a3;
}

.cap-pillars-work-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cap-pillars-work-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.65rem 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cap-pillars-work-list li:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.cap-pillars-work-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(253, 186, 116, 0.55);
  font-variant-numeric: tabular-nums;
}

.cap-pillars-work-ic {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  font-size: 0.85rem;
  color: #fdba74;
  background: rgba(251, 146, 60, 0.12);
}

.cap-pillars-work-txt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #e5e5e5;
  font-weight: 500;
}

.cap-pillars-bridge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem 0 0;
}

.cap-pillars-bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
}

.cap-pillars-bridge-label {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.cap-bento {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .cap-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: stretch;
  }
}

.cap-bento.cap-pillars-bento {
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .cap-bento.cap-pillars-bento {
    margin-top: 1.75rem;
  }
}

.cap-bento-card {
  position: relative;
  border-radius: 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(165deg, #fff 0%, #fafafa 100%);
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 14px 36px -22px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.cap-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6600, #ffb380);
  opacity: 0.95;
}

.cap-bento-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(145deg, #ff8533, #ff6600 55%, #c2410c);
  box-shadow: 0 8px 20px -8px rgba(255, 102, 0, 0.5);
}

.cap-bento-tag {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ea580c;
}

.cap-bento-card h3 {
  margin: 0.4rem 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #171717;
}

.cap-bento-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
  list-style-position: outside;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #404040;
}

.cap-bento-card ul li {
  padding-left: 0.15rem;
}

.cap-bento-card ul li + li {
  margin-top: 0.4rem;
}

/* Experiencia e-Learning (capacitacion.html) */
.cap-exp {
  position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 102, 0, 0.07), transparent 50%),
    radial-gradient(90% 60% at 0% 100%, rgba(23, 23, 23, 0.04), transparent 45%),
    linear-gradient(180deg, #f0f0f2 0%, #fafafa 55%, #f4f4f5 100%);
  overflow: hidden;
}

.cap-exp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 92%);
  pointer-events: none;
}

.cap-exp .header-shell {
  position: relative;
  z-index: 1;
}

.cap-exp-top {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 960px) {
  .cap-exp-top {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
  }
}

.cap-exp-head {
  max-width: 38rem;
}

.cap-exp-title {
  letter-spacing: -0.02em;
}

.cap-exp-lead {
  max-width: 36rem;
}

.cap-exp-manifest {
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(145deg, #171717 0%, #262626 100%);
  color: #e5e5e5;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cap-exp-manifest-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fb923c;
}

.cap-exp-manifest-text {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #d4d4d4;
}

.cap-exp-manifest-text strong {
  color: #fff;
  font-weight: 600;
}

.cap-exp-manifest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.cap-exp-manifest-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
}

.cap-exp-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .cap-exp-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cap-exp-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.cap-exp-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(165deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 12px 36px -24px rgba(0, 0, 0, 0.2);
}

.cap-exp-metric-icon {
  grid-row: 1 / -1;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(145deg, #404040, #171717);
}

.cap-exp-metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.1;
}

.cap-exp-metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: #525252;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cap-exp-spotlight {
  margin-top: 2.75rem;
}

.cap-exp-spotlight-head {
  margin-bottom: 1.25rem;
}

.cap-exp-spotlight-title {
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 700;
  color: #171717;
  letter-spacing: -0.02em;
}

.cap-exp-spotlight-sub {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #525252;
  max-width: 40rem;
}

.cap-exp-spotlight-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .cap-exp-spotlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.cap-exp-spot {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #fff;
  box-shadow: 0 16px 44px -30px rgba(0, 0, 0, 0.25);
  min-height: 100%;
}

.cap-exp-spot-visual {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  font-size: 1.75rem;
  color: #fff;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 50%, #9a3412 100%);
}

.cap-exp-spot-visual--digital {
  background: linear-gradient(135deg, #404040 0%, #262626 45%, #171717 100%);
}

.cap-exp-spot-visual--public {
  background: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
}

.cap-exp-spot-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.cap-exp-spot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cap-exp-spot-year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #737373;
}

.cap-exp-spot-name {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #171717;
}

.cap-exp-spot-client {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ea580c;
}

.cap-exp-spot-desc {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #404040;
}

.cap-exp-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
}

.cap-exp-pill--online {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: rgba(29, 78, 216, 0.2);
}

.cap-exp-pill--inperson {
  color: #9a3412;
  background: #fff7ed;
  border-color: rgba(234, 88, 12, 0.25);
}

.cap-exp-pill--public {
  color: #0c4a6e;
  background: #f0f9ff;
  border-color: rgba(12, 74, 110, 0.2);
}

.cap-exp-pill--blend {
  color: #5b21b6;
  background: #f5f3ff;
  border-color: rgba(91, 33, 182, 0.2);
}

.cap-exp-archive {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cap-exp-archive-title {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 700;
  color: #171717;
}

.cap-exp-archive-lead {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #525252;
  max-width: 42rem;
}

.cap-exp-era {
  position: relative;
  margin-top: 2rem;
  padding-left: 0.5rem;
}

@media (min-width: 640px) {
  .cap-exp-era {
    padding-left: 0.75rem;
  }
}

.cap-exp-era-bar {
  position: absolute;
  left: 0;
  top: 2.5rem;
  bottom: 0.5rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6600, rgba(255, 102, 0, 0.15));
}

.cap-exp-era-bar--mid {
  background: linear-gradient(180deg, #525252, rgba(82, 82, 82, 0.15));
}

.cap-exp-era-bar--origin {
  background: linear-gradient(180deg, #78716c, rgba(120, 113, 108, 0.15));
}

.cap-exp-era-title {
  margin: 0 0 1rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #171717;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .cap-exp-era-title {
    margin-left: 1.35rem;
  }
}

.cap-exp-era-range {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  margin-right: 0.5rem;
}

.cap-exp-era--recent .cap-exp-era-range {
  color: #ea580c;
}

.cap-exp-era--mid .cap-exp-era-range {
  color: #404040;
}

.cap-exp-era--origin .cap-exp-era-range {
  color: #78716c;
}

.cap-exp-era-tagline {
  font-weight: 600;
  color: #525252;
  font-size: 0.85rem;
}

.cap-exp-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .cap-exp-list {
    padding-left: 1.35rem;
  }
}

@media (min-width: 900px) {
  .cap-exp-list--dense {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
  }
}

.cap-exp-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 8px 28px -22px rgba(0, 0, 0, 0.18);
}

.cap-exp-node-year {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #a3a3a3;
  text-transform: uppercase;
  padding-top: 0.2rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cap-exp-node-core {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cap-exp-node-scope {
  font-size: 0.72rem;
  font-weight: 600;
  color: #737373;
  letter-spacing: 0.02em;
}

.cap-exp-node-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: #262626;
}

.cap-proof-wrap {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cap-proof-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
}

.cap-proof-card {
  border-radius: 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 12px 32px -24px rgba(0, 0, 0, 0.18);
}

.cap-proof-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #171717;
}

.cap-proof-list {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #404040;
}

.cap-proof-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  border-radius: 1.15rem;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.35);
}

.cap-why-grid {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cap-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.cap-why-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  padding: 1.25rem 1.2rem 1.3rem 1.35rem;
  box-shadow: 0 10px 28px -22px rgba(0, 0, 0, 0.18);
}

.cap-why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6600, #ffb380);
}

.cap-why-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ea580c;
}

.cap-why-card h3 {
  margin: 0.35rem 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #171717;
}

.cap-why-card p {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #525252;
}

/* Comunicación RH — secciones por categoría del eje */
.rh-cat-nav {
  background: linear-gradient(180deg, #171717 0%, #262626 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.45);
}

.rh-cat-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 0;
}

.rh-cat-nav-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 186, 116, 0.85);
}

.rh-cat-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .rh-cat-nav-links {
    justify-content: flex-end;
  }
}

.rh-cat-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.75rem 0.42rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #e5e5e5;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rh-cat-nav-ix {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  color: #171717;
  background: linear-gradient(145deg, #fdba74, #fb923c);
}

.rh-cat-nav-link:hover {
  color: #0a0a0a;
  background: #fff;
  border-color: #fff;
}

.rh-cat-section {
  position: relative;
  scroll-margin-top: 5.5rem;
  padding: 3.25rem 0;
  background:
    radial-gradient(90% 70% at 100% 20%, rgba(255, 102, 0, 0.06), transparent 52%),
    linear-gradient(180deg, #f0f0f2 0%, #f7f7f7 45%, #fafafa 100%);
  overflow: hidden;
}

.rh-cat-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  pointer-events: none;
}

.rh-cat-section > .header-shell {
  position: relative;
  z-index: 1;
}

.rh-cat-section--alt {
  background:
    radial-gradient(80% 60% at 0% 30%, rgba(23, 23, 23, 0.04), transparent 50%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.rh-cat-section--alt::before {
  opacity: 0.65;
}

.rh-cat-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .rh-cat-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2.75rem;
    padding: 0.35rem 0;
    min-height: min(420px, 70vh);
  }

  .rh-cat-section--reverse .rh-cat-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .rh-cat-section--reverse .rh-cat-visual-wrap {
    grid-column: 1;
    grid-row: 1;
  }
}

.rh-cat-copy {
  position: relative;
  padding: 1.65rem 1.5rem 1.75rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(165deg, #fff 0%, #fafafa 100%);
  box-shadow:
    0 20px 50px -32px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rh-cat-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #ea580c, #fb923c, #fdba74);
}

.rh-cat-section--alt .rh-cat-copy {
  background: linear-gradient(165deg, #fafafa 0%, #f4f4f5 100%);
}

.rh-cat-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #737373;
}

.rh-cat-eyebrow-num {
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ff8533, #ea580c);
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -8px rgba(234, 88, 12, 0.45);
}

.rh-cat-title {
  margin: 1rem 0 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

.rh-cat-lead {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #404040;
  font-weight: 500;
  max-width: 36rem;
}

.rh-cat-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.rh-cat-meta-chips li {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a3412;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.85);
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.rh-cat-section--alt .rh-cat-meta-chips li {
  color: #1e3a5f;
  background: rgba(224, 242, 254, 0.9);
  border-color: rgba(14, 116, 144, 0.2);
}

.rh-cat-section#rh-analitica .rh-cat-meta-chips li {
  color: #312e81;
  background: rgba(238, 242, 255, 0.95);
  border-color: rgba(67, 56, 202, 0.2);
}

.rh-cat-points {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rh-cat-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px -14px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rh-cat-points li:hover {
  border-color: rgba(234, 88, 12, 0.25);
  box-shadow: 0 8px 24px -16px rgba(234, 88, 12, 0.15);
}

.rh-cat-point-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  font-size: 0.55rem;
  color: #fff;
  background: linear-gradient(145deg, #ea580c, #c2410c);
  box-shadow: 0 4px 12px -4px rgba(234, 88, 12, 0.55);
}

.rh-cat-point-txt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #363636;
}

.rh-cat-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.rh-cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.2rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #ff8533, #ea580c);
  text-decoration: none;
  box-shadow: 0 10px 28px -12px rgba(234, 88, 12, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rh-cat-cta i {
  font-size: 0.7rem;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.rh-cat-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -12px rgba(234, 88, 12, 0.5);
}

.rh-cat-cta:hover i {
  transform: translateX(3px);
}

.rh-cat-link-sec {
  font-size: 0.8rem;
  font-weight: 600;
  color: #525252;
  text-decoration: none;
  border-bottom: 1px solid rgba(82, 82, 82, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rh-cat-link-sec:hover {
  color: #ea580c;
  border-color: rgba(234, 88, 12, 0.5);
}

.rh-cat-visual-wrap {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.rh-cat-visual {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 28px 60px -36px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.rh-cat-visual-frame {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
}

.rh-cat-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, 0.25) 100%);
  pointer-events: none;
}

.rh-cat-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .rh-cat-visual-frame {
    min-height: 320px;
  }

  .rh-cat-visual-frame img {
    min-height: 380px;
    max-height: 440px;
  }
}

.rh-cat-visual-cap {
  margin: 0;
  padding: 0.95rem 1.2rem 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 600;
  color: #e5e5e5;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #2a2a2a 0%, #171717 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Negocios digitales — líneas del eje 3 (performance / demand gen / CRO) */
.neg-eje-page {
  background: #f4f4f5;
}

.neg-eje-nav {
  position: relative;
  background: rgba(15, 23, 42, 0.97);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 40px -24px rgba(15, 23, 42, 0.65);
}

.neg-eje-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #22d3ee, #a78bfa);
  opacity: 0.9;
}

.neg-eje-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 0.85rem 0;
}

.neg-eje-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.neg-eje-nav-brand-mark {
  display: block;
  width: 0.45rem;
  height: 1.35rem;
  border-radius: 2px;
  background: linear-gradient(180deg, #22d3ee, #6366f1);
}

.neg-eje-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.neg-eje-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem 0.42rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.neg-eje-nav-ix {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(145deg, #a5f3fc, #818cf8);
}

.neg-eje-nav-link:hover {
  color: #0f172a;
  background: #f8fafc;
  border-color: #f8fafc;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.35);
}

.neg-eje-section {
  position: relative;
  scroll-margin-top: 5.5rem;
  padding: 3.5rem 0;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(99, 102, 241, 0.09), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #eef2f7 100%);
  overflow: hidden;
}

.neg-eje-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 88%);
  pointer-events: none;
}

.neg-eje-section > .header-shell {
  position: relative;
  z-index: 1;
}

.neg-eje-section--alt {
  background:
    radial-gradient(90% 70% at 0% 20%, rgba(5, 150, 105, 0.08), transparent 52%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.neg-eje-section--cro {
  background:
    radial-gradient(95% 75% at 100% 30%, rgba(124, 58, 237, 0.1), transparent 55%),
    linear-gradient(180deg, #f1f5f9 0%, #fafafa 100%);
}

.neg-eje-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .neg-eje-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    padding: 0.5rem 0;
    min-height: min(440px, 72vh);
  }

  .neg-eje-section--reverse .neg-eje-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .neg-eje-section--reverse .neg-eje-visual-wrap {
    grid-column: 1;
    grid-row: 1;
  }
}

.neg-eje-copy {
  position: relative;
  padding: 1.85rem 1.65rem 1.95rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
  box-shadow:
    0 28px 64px -40px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.neg-eje-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
}

.neg-eje-section--demand .neg-eje-copy::before {
  background: linear-gradient(90deg, #059669, #34d399);
}

.neg-eje-section--cro .neg-eje-copy::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.neg-eje-section--alt .neg-eje-copy {
  background: linear-gradient(165deg, #fff 0%, #f1f5f9 100%);
}

.neg-eje-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.neg-eje-eyebrow-num {
  display: inline-grid;
  place-items: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.35rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #4f46e5, #312e81);
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px -10px rgba(79, 70, 229, 0.65);
}

.neg-eje-section--demand .neg-eje-eyebrow-num {
  background: linear-gradient(145deg, #059669, #047857);
  box-shadow: 0 8px 20px -10px rgba(5, 150, 105, 0.55);
}

.neg-eje-section--cro .neg-eje-eyebrow-num {
  background: linear-gradient(145deg, #7c3aed, #5b21b6);
  box-shadow: 0 8px 20px -10px rgba(124, 58, 237, 0.55);
}

.neg-eje-title {
  margin: 1rem 0 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.neg-eje-lead {
  margin: 0.9rem 0 0;
  font-size: 1.06rem;
  line-height: 1.58;
  color: #334155;
  font-weight: 500;
  max-width: 38rem;
}

.neg-eje-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
}

.neg-eje-meta-chips li {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3730a3;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(238, 242, 255, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.neg-eje-section--demand .neg-eje-meta-chips li {
  color: #065f46;
  background: rgba(209, 250, 229, 0.95);
  border-color: rgba(16, 185, 129, 0.3);
}

.neg-eje-section--cro .neg-eje-meta-chips li {
  color: #5b21b6;
  background: rgba(237, 233, 254, 0.95);
  border-color: rgba(139, 92, 246, 0.3);
}

.neg-eje-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0.75rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 520px) {
  .neg-eje-kpis {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .neg-eje-kpi {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.75rem;
    align-items: baseline;
    padding: 0.35rem 0.25rem;
  }

  .neg-eje-kpi-lbl {
    grid-column: 1;
  }

  .neg-eje-kpi-val {
    grid-column: 2;
    margin: 0;
  }
}

.neg-eje-kpi {
  text-align: center;
  padding: 0.25rem 0.2rem;
}

.neg-eje-kpi dt,
.neg-eje-kpi dd {
  margin: 0;
}

.neg-eje-kpi-lbl {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.neg-eje-kpi-val {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.neg-eje-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.neg-eje-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1.05rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 6px 22px -18px rgba(15, 23, 42, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.neg-eje-points li:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 28px -18px rgba(99, 102, 241, 0.18);
}

.neg-eje-section--demand .neg-eje-points li:hover {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 10px 28px -18px rgba(5, 150, 105, 0.15);
}

.neg-eje-section--cro .neg-eje-points li:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 10px 28px -18px rgba(124, 58, 237, 0.15);
}

.neg-eje-point-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.08rem;
  border-radius: 0.5rem;
  font-size: 0.65rem;
  color: #fff;
  background: linear-gradient(145deg, #6366f1, #4338ca);
  box-shadow: 0 6px 16px -8px rgba(79, 70, 229, 0.55);
}

.neg-eje-section--demand .neg-eje-point-mark {
  background: linear-gradient(145deg, #10b981, #047857);
  box-shadow: 0 6px 16px -8px rgba(16, 185, 129, 0.45);
}

.neg-eje-section--cro .neg-eje-point-mark {
  background: linear-gradient(145deg, #8b5cf6, #6d28d9);
  box-shadow: 0 6px 16px -8px rgba(139, 92, 246, 0.45);
}

.neg-eje-point-txt {
  font-size: 0.9rem;
  line-height: 1.52;
  color: #1e293b;
}

.neg-eje-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.neg-eje-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.35rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #4f46e5, #4338ca);
  text-decoration: none;
  box-shadow: 0 12px 32px -14px rgba(67, 56, 202, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.neg-eje-section--demand .neg-eje-cta {
  background: linear-gradient(145deg, #059669, #047857);
  box-shadow: 0 12px 32px -14px rgba(5, 150, 105, 0.45);
}

.neg-eje-section--cro .neg-eje-cta {
  background: linear-gradient(145deg, #7c3aed, #5b21b6);
  box-shadow: 0 12px 32px -14px rgba(124, 58, 237, 0.45);
}

.neg-eje-cta i {
  font-size: 0.72rem;
  opacity: 0.95;
  transition: transform 0.2s ease;
}

.neg-eje-cta:hover {
  transform: translateY(-2px);
}

.neg-eje-cta:hover i {
  transform: translateX(4px);
}

.neg-eje-link-sec {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
  padding-bottom: 0.12rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.neg-eje-link-sec:hover {
  color: #4f46e5;
  border-color: rgba(79, 70, 229, 0.45);
}

.neg-eje-visual-wrap {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.neg-eje-visual {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 32px 70px -40px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.neg-eje-visual-frame {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
}

.neg-eje-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 40%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}

.neg-eje-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .neg-eje-visual-frame {
    min-height: 340px;
  }

  .neg-eje-visual-frame img {
    min-height: 400px;
    max-height: 460px;
  }
}

.neg-eje-visual-cap {
  margin: 0;
  padding: 1rem 1.25rem 1.05rem;
  font-size: 0.83rem;
  line-height: 1.48;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.015em;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

/* Desarrollo / automatización — eje 4 (paridad con neg-eje / capacitación) */
.dev-eje-page {
  background: #f4f4f5;
}

.dev-eje-nav {
  position: relative;
  background: linear-gradient(180deg, #18181b 0%, #27272a 100%);
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  box-shadow: 0 12px 36px -22px rgba(0, 0, 0, 0.55);
}

.dev-eje-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #ea580c, #fbbf24, #22d3ee);
  opacity: 0.95;
}

.dev-eje-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 0.85rem 0;
}

.dev-eje-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4d4d8;
}

.dev-eje-nav-brand-mark {
  display: block;
  width: 0.45rem;
  height: 1.35rem;
  border-radius: 2px;
  background: linear-gradient(180deg, #fbbf24, #ea580c);
}

.dev-eje-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.dev-eje-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem 0.42rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fafafa;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(250, 250, 250, 0.12);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dev-eje-nav-ix {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  color: #18181b;
  background: linear-gradient(145deg, #fde68a, #fb923c);
}

.dev-eje-nav-link:hover {
  color: #18181b;
  background: #fafafa;
  border-color: #fafafa;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
}

.dev-eje-section {
  position: relative;
  scroll-margin-top: 5.5rem;
  padding: 3.5rem 0;
  background:
    radial-gradient(95% 75% at 100% 15%, rgba(234, 88, 12, 0.08), transparent 52%),
    linear-gradient(180deg, #fafaf9 0%, #f4f4f5 55%, #eef0f2 100%);
  overflow: hidden;
}

.dev-eje-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(24, 24, 27, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 27, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 88%);
  pointer-events: none;
}

.dev-eje-section > .header-shell {
  position: relative;
  z-index: 1;
}

.dev-eje-section--alt {
  background:
    radial-gradient(90% 70% at 0% 25%, rgba(6, 182, 212, 0.09), transparent 50%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.dev-eje-section--web {
  background:
    radial-gradient(100% 80% at 100% 35%, rgba(59, 130, 246, 0.1), transparent 55%),
    linear-gradient(180deg, #f4f4f5 0%, #fafafa 100%);
}

.dev-eje-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .dev-eje-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    padding: 0.5rem 0;
    min-height: min(440px, 72vh);
  }

  .dev-eje-section--reverse .dev-eje-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .dev-eje-section--reverse .dev-eje-visual-wrap {
    grid-column: 1;
    grid-row: 1;
  }
}

.dev-eje-copy {
  position: relative;
  padding: 1.85rem 1.65rem 1.95rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(24, 24, 27, 0.08);
  background: linear-gradient(165deg, #fff 0%, #fafaf9 100%);
  box-shadow:
    0 28px 64px -40px rgba(24, 24, 27, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.dev-eje-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #ea580c, #fbbf24);
}

.dev-eje-section--rules .dev-eje-copy::before {
  background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.dev-eje-section--web .dev-eje-copy::before {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.dev-eje-section--alt .dev-eje-copy {
  background: linear-gradient(165deg, #fff 0%, #f1f5f9 100%);
}

.dev-eje-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #71717a;
}

.dev-eje-eyebrow-num {
  display: inline-grid;
  place-items: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.35rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ea580c, #c2410c);
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px -10px rgba(234, 88, 12, 0.5);
}

.dev-eje-section--rules .dev-eje-eyebrow-num {
  background: linear-gradient(145deg, #0891b2, #0e7490);
  box-shadow: 0 8px 20px -10px rgba(8, 145, 178, 0.45);
}

.dev-eje-section--web .dev-eje-eyebrow-num {
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 20px -10px rgba(37, 99, 235, 0.45);
}

.dev-eje-title {
  margin: 1rem 0 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #18181b;
}

.dev-eje-lead {
  margin: 0.9rem 0 0;
  font-size: 1.06rem;
  line-height: 1.58;
  color: #3f3f46;
  font-weight: 500;
  max-width: 38rem;
}

.dev-eje-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
}

.dev-eje-meta-chips li {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9a3412;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.95);
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.dev-eje-section--rules .dev-eje-meta-chips li {
  color: #155e75;
  background: rgba(207, 250, 254, 0.95);
  border-color: rgba(34, 211, 238, 0.35);
}

.dev-eje-section--web .dev-eje-meta-chips li {
  color: #1e40af;
  background: rgba(219, 234, 254, 0.95);
  border-color: rgba(96, 165, 250, 0.4);
}

.dev-eje-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0.75rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(24, 24, 27, 0.04);
  border: 1px solid rgba(24, 24, 27, 0.06);
}

.dev-eje-kpi {
  text-align: center;
  padding: 0.25rem 0.2rem;
}

.dev-eje-kpi dt,
.dev-eje-kpi dd {
  margin: 0;
}

.dev-eje-kpi-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #71717a;
}

.dev-eje-kpi-val {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #18181b;
  line-height: 1.25;
}

@media (max-width: 520px) {
  .dev-eje-kpis {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .dev-eje-kpi {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.75rem;
    align-items: baseline;
    padding: 0.35rem 0.25rem;
  }

  .dev-eje-kpi-lbl {
    grid-column: 1;
  }

  .dev-eje-kpi-val {
    grid-column: 2;
    margin: 0;
  }
}

.dev-eje-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dev-eje-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1.05rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 24, 27, 0.07);
  box-shadow: 0 6px 22px -18px rgba(24, 24, 27, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dev-eje-points li:hover {
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: 0 10px 28px -18px rgba(234, 88, 12, 0.12);
}

.dev-eje-section--rules .dev-eje-points li:hover {
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 10px 28px -18px rgba(6, 182, 212, 0.12);
}

.dev-eje-section--web .dev-eje-points li:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 28px -18px rgba(59, 130, 246, 0.12);
}

.dev-eje-point-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.08rem;
  border-radius: 0.5rem;
  font-size: 0.65rem;
  color: #fff;
  background: linear-gradient(145deg, #ea580c, #c2410c);
  box-shadow: 0 6px 16px -8px rgba(234, 88, 12, 0.45);
}

.dev-eje-section--rules .dev-eje-point-mark {
  background: linear-gradient(145deg, #0891b2, #0e7490);
  box-shadow: 0 6px 16px -8px rgba(8, 145, 178, 0.4);
}

.dev-eje-section--web .dev-eje-point-mark {
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.4);
}

.dev-eje-point-txt {
  font-size: 0.9rem;
  line-height: 1.52;
  color: #27272a;
}

.dev-eje-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(24, 24, 27, 0.07);
}

.dev-eje-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.35rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #ea580c, #c2410c);
  text-decoration: none;
  box-shadow: 0 12px 32px -14px rgba(234, 88, 12, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dev-eje-section--rules .dev-eje-cta {
  background: linear-gradient(145deg, #0891b2, #0e7490);
  box-shadow: 0 12px 32px -14px rgba(8, 145, 178, 0.4);
}

.dev-eje-section--web .dev-eje-cta {
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  box-shadow: 0 12px 32px -14px rgba(37, 99, 235, 0.4);
}

.dev-eje-cta i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.dev-eje-cta:hover {
  transform: translateY(-2px);
}

.dev-eje-cta:hover i {
  transform: translateX(4px);
}

.dev-eje-link-sec {
  font-size: 0.8rem;
  font-weight: 600;
  color: #52525b;
  text-decoration: none;
  border-bottom: 1px solid rgba(82, 82, 91, 0.35);
  padding-bottom: 0.12rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dev-eje-link-sec:hover {
  color: #ea580c;
  border-color: rgba(234, 88, 12, 0.45);
}

.dev-eje-visual-wrap {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.dev-eje-visual {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, 0.1);
  box-shadow:
    0 32px 70px -40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dev-eje-visual-frame {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
}

.dev-eje-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 42%, rgba(24, 24, 27, 0.38) 100%);
  pointer-events: none;
}

.dev-eje-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .dev-eje-visual-frame {
    min-height: 340px;
  }

  .dev-eje-visual-frame img {
    min-height: 400px;
    max-height: 460px;
  }
}

.dev-eje-visual-cap {
  margin: 0;
  padding: 1rem 1.25rem 1.05rem;
  font-size: 0.83rem;
  line-height: 1.48;
  font-weight: 600;
  color: #e4e4e7;
  letter-spacing: 0.015em;
  background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

/* ——— Página Proyectos ——— */
/* Sin overflow-x en main: evita que el navegador fuerce overflow-y:auto y aparezca una segunda barra de scroll. */

.proj-hero {
  position: relative;
  color: #fafafa;
  padding: clamp(3.25rem, 8vw, 5.5rem) 0;
  overflow: hidden;
}

.proj-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 100% 72% at 14% 16%, rgba(255, 102, 0, 0.22), transparent 52%),
    linear-gradient(118deg, rgba(4, 4, 6, 0.94) 0%, rgba(14, 14, 16, 0.9) 42%, rgba(0, 0, 0, 0.82) 100%),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=2000&q=82");
  background-size: cover;
  background-position: center;
  filter: saturate(1.06) contrast(1.03);
}

.proj-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .proj-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.42fr);
    gap: 3rem;
  }
}

.proj-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fdba74;
}

.proj-hero__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.85rem, 1.05rem + 2.9vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 18ch;
}

.proj-hero__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.06rem);
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.84);
}

.proj-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.proj-hero__chips li {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff7ed;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 186, 116, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.proj-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
  align-items: center;
}

.proj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.15rem;
  border-radius: 0.65rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.proj-btn--primary {
  background: linear-gradient(145deg, #ff8533, #ea580c);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(234, 88, 12, 0.65);
}

.proj-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -12px rgba(234, 88, 12, 0.75);
}

.proj-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.proj-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.proj-btn--link {
  background: transparent;
  color: #fdba74;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.proj-btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.92rem;
}

.proj-btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.proj-btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.proj-hero__panel {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(38, 38, 38, 0.82) 0%, rgba(15, 15, 15, 0.92) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.55);
  padding: 1.25rem 1.35rem 1.35rem;
}

.proj-hero__panel-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proj-hero__panel-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #ff8533, #c2410c);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.proj-hero__panel-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fb923c;
}

.proj-hero__panel-title {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 800;
  font-family: Montserrat, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fafafa;
}

.proj-hero__rail {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.proj-hero__rail li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(250, 250, 250, 0.88);
}

.proj-hero__rail-num {
  flex-shrink: 0;
  width: 1.65rem;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #ea580c;
  line-height: 1.4;
}

.proj-hero__rail-txt strong {
  display: block;
  font-weight: 800;
  color: #fff;
  font-size: 0.72rem;
  margin-bottom: 0.08rem;
}

.proj-metrics {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  padding: 0 1rem 3rem;
}

.proj-metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .proj-metrics__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.proj-metric {
  background: #fff;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.proj-metric__value {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ea580c;
  line-height: 1.1;
}

.proj-metric__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #525252;
  line-height: 1.35;
}

.proj-phases {
  padding: 2.5rem 0 3.25rem;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
}

.proj-section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.proj-section-head__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ea580c;
}

.proj-section-head__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #0a0a0a;
}

.proj-section-head__lead {
  margin: 0.75rem 0 0;
  font-size: 1.02rem;
  line-height: 1.58;
  color: #525252;
  font-weight: 500;
}

.proj-section-head--dark .proj-section-head__eyebrow {
  color: #fdba74;
}

.proj-section-head--dark .proj-section-head__title {
  color: #fafafa;
}

.proj-section-head--dark .proj-section-head__lead {
  color: rgba(250, 250, 250, 0.75);
}

.proj-phase-track {
  display: grid;
  gap: 0.75rem;
  position: relative;
}

@media (min-width: 1100px) {
  .proj-phase-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .proj-phase-track::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 2.25rem;
    height: 2px;
    background: linear-gradient(90deg, #ea580c, #fb923c, #fcd34d);
    opacity: 0.45;
    border-radius: 999px;
    z-index: 0;
  }
}

.proj-phase-node {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: 0 14px 36px -28px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proj-phase-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -30px rgba(234, 88, 12, 0.35);
}

.proj-phase-node__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.65rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(145deg, #27272a, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
}

.proj-phase-node__step {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ea580c;
  margin-bottom: 0.25rem;
}

.proj-phase-node__title {
  margin: 0 0 0.4rem;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181b;
}

.proj-phase-node__desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #525252;
}

.proj-split {
  padding: 2.75rem 0 3rem;
  background: #fff;
}

.proj-split__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .proj-split__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }
}

.proj-card {
  border-radius: 1.1rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  min-height: 100%;
}

.proj-card--deliver {
  background: linear-gradient(160deg, #fffefb 0%, #fff 40%, #fafaf9 100%);
  box-shadow: 0 22px 50px -38px rgba(234, 88, 12, 0.35);
  border-color: rgba(251, 146, 60, 0.2);
}

.proj-card--stack {
  background: linear-gradient(165deg, #18181b 0%, #0c0c0c 55%, #09090b 100%);
  color: #e7e7e7;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px -40px rgba(0, 0, 0, 0.55);
}

.proj-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.proj-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(145deg, #ea580c, #c2410c);
}

.proj-card--stack .proj-card__icon {
  background: linear-gradient(145deg, #3f3f46, #18181b);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.proj-card__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  line-height: 1.15;
}

.proj-card--stack .proj-card__title {
  color: #fafafa;
}

.proj-card__subtitle {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: #737373;
  line-height: 1.45;
}

.proj-card--stack .proj-card__subtitle {
  color: #a3a3a3;
}

.proj-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.proj-checklist li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3f3f46;
  font-weight: 500;
}

.proj-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 0.18rem;
  background: linear-gradient(145deg, #ff8833, var(--brand-orange));
  box-shadow: 0 2px 8px -2px rgba(255, 102, 0, 0.55);
}

.proj-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.proj-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(253, 186, 116, 0.25);
}

/* Propuesta de valor — tema claro sobre gris muy claro */
.proj-pillars {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, #f7f7f8 0%, #ececee 48%, #f2f2f4 100%);
  color: #18181b;
}

.proj-pillars .proj-section-head {
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.proj-pillars .proj-section-head--dark .proj-section-head__eyebrow {
  color: #c2410c;
}

.proj-pillars .proj-section-head--dark .proj-section-head__title {
  color: #0a0a0a;
}

.proj-pillars .proj-section-head--dark .proj-section-head__lead {
  color: #57534e;
}

.proj-pillars .proj-section-head--pillars .proj-section-head__lead {
  font-size: 1.08rem;
  line-height: 1.62;
  color: #44403c;
}

.proj-pillars__deck {
  margin: 1.35rem 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #44403c;
  letter-spacing: 0.01em;
}

.proj-pillars__summary {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.proj-pillars__summary li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem 0.68rem 0.7rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.18);
  font-size: 0.9rem;
  line-height: 1.5;
  color: #44403c;
}

.proj-pillars__summary-key {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 0.4rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(145deg, #fb923c, #ea580c);
  box-shadow: 0 4px 12px -4px rgba(234, 88, 12, 0.45);
}

.proj-pillars__summary li strong {
  color: #0c0a09;
  font-weight: 700;
}

.proj-pillars__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .proj-pillars__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
  }
}

.proj-pillar {
  position: relative;
  padding: 1.45rem 1.35rem 1.5rem 1.5rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid rgba(24, 24, 27, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px -32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.proj-pillar:hover {
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 22px 48px -28px rgba(234, 88, 12, 0.18);
}

.proj-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #fb923c, #ea580c, #c2410c);
}

.proj-pillar__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.proj-pillar__head-copy {
  min-width: 0;
  flex: 1;
}

.proj-pillar__step {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c2410c;
}

.proj-pillar__glyph {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
  border-radius: 0.6rem;
  background: linear-gradient(145deg, rgba(254, 215, 170, 0.65), rgba(251, 146, 60, 0.45));
  border: 1px solid rgba(234, 88, 12, 0.35);
  color: #9a3412;
  font-size: 1.05rem;
}

.proj-pillar__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.08rem, 0.95rem + 0.4vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #0a0a0a;
}

.proj-pillar__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: #57534e;
}

.proj-pillar__lead {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ea580c;
}

.proj-pillar__text strong {
  color: #18181b;
  font-weight: 700;
}

.proj-cta-band {
  padding: 2.75rem 0 3.5rem;
  background: #f4f4f5;
}

.proj-cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 1.5rem 1.85rem;
  border-radius: 1.15rem;
  background: linear-gradient(125deg, #0a0a0a 0%, #1c1917 45%, #292524 100%);
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(251, 146, 60, 0.15),
    0 32px 70px -40px rgba(0, 0, 0, 0.55);
}

@media (min-width: 900px) {
  .proj-cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.85rem 2rem 1.95rem;
  }
}

.proj-cta-band__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.proj-cta-band__lead {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.72);
  max-width: 36rem;
}

.proj-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .proj-phase-node:hover,
  .proj-btn--primary:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
}
