.capacitacion {
  --tinta: #193f40;
  --verde: #226565;
  --agua: #b9e3d9;
  --sombra-suspendida: 0 3px 6px rgba(24,46,42,.16), 0 18px 28px -9px rgba(24,46,42,.34);
  color: var(--tinta);
  font-family: "Segoe UI", Arial, sans-serif;
}
.capacitacion .site-header { background: white; border-bottom: 1px solid #dedad0; }
.capacitacion .header-inner { min-height: 88px; height: auto; gap: clamp(12px,2vw,28px); }
.capacitacion .brand { width: clamp(195px,17vw,240px); }
.capacitacion .brand img { display: block; width: 100%; height: auto; }
.capacitacion .header-cta,.capacitacion .section .button-primary { background: var(--verde); border-color: var(--verde); color: white; }
.capacitacion .subpage { background: linear-gradient(145deg,#fff8e9,#efd4a0 46%,#faedcf 76%,#e9ca91); padding-bottom: clamp(36px,6vw,84px); }
.capacitacion main :is(h1,h2,h3) { font-family: Georgia,serif; font-weight: 400; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.capacitacion .subhero { min-height: calc(100svh - 88px); height: auto; align-items: center; }
.capacitacion .subhero::after { background: linear-gradient(90deg,rgba(16,50,53,.86),rgba(16,50,53,.69) 43%,rgba(16,50,53,.1) 85%); }
.capacitacion .subhero .container { position: relative; z-index: 2; width: min(1180px,90%); display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: clamp(20px,5vw,84px); padding-block: 44px 78px; }
.capacitacion .subhero-copy { max-width: 65ch; }
.capacitacion .subhero h1 { font-size: clamp(2.75rem,5.8vw,5.8rem); color: white; }
.capacitacion .subhero .button-gold { background: #ff963f; color: #23231f; border-color: #ff963f; }
.capacitacion .hero-video-control { z-index: 3; }
.cap-alma { justify-self: end; display: grid; grid-template-rows: minmax(0,1fr) auto; width: clamp(225px,28vw,410px); aspect-ratio: 1; padding: 0; overflow: hidden; background: #dfd4c1; color: white; border: 1px solid #ffffffa8; border-radius: 32px 13px; box-shadow: var(--sombra-suspendida); cursor: pointer; }
.cap-alma img { width: 100%; height: 100%; object-fit: contain; }
.cap-alma span { background: #21494e; display: grid; place-items: center; min-height: 44px; font: 700 1rem/1.4 "Segoe UI",sans-serif; }
.capacitacion .subpage > .section { width: min(1180px,90%); margin: clamp(28px,5vw,64px) auto 0; padding: clamp(24px,4vw,54px); border-radius: 30px 12px; background: white; color: var(--tinta); box-shadow: var(--sombra-suspendida); scroll-margin-top: 100px; }
.capacitacion .section > .container { width: 100%; max-width: none; }
.capacitacion .section .section-heading { margin-bottom: clamp(16px,2.5vw,32px); }
.capacitacion .section h2 { color: var(--tinta); font-size: clamp(1.85rem,3.2vw,3rem); }
.capacitacion .section h3 { color: var(--tinta); font-size: clamp(1.45rem,2vw,2rem); overflow-wrap: anywhere; }
.capacitacion .section :is(.feature-grid,.knowledge-grid,.continuity-grid) { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,205px),1fr)); gap: 16px; }
.capacitacion .section article { min-width: 0; padding: clamp(16px,2vw,28px); color: var(--tinta); background: white; border: 1px solid #ccdcd6; border-radius: 18px 8px; }
.capacitacion .section article p { color: #324f50; }
.capacitacion #principios,.capacitacion #organizaciones { background: #e5f2ed; }
.capacitacion .section .text-link { color: #18565a; text-underline-offset: 4px; }
.capacitacion .site-footer { background: var(--agua); color: var(--tinta); padding-block: 48px 24px; }
.capacitacion .site-footer :is(a,p,span,strong) { color: inherit; }
.capacitacion .footer-brand img { width: min(200px,100%); height: auto; padding: 0; border-radius: 0; background: transparent; }
.capacitacion .footer-bottom { border-color: #96c6bb; }
@media(max-width:980px) {
  .capacitacion .header-inner { min-height: 68px; width: calc(100% - 24px); gap: 8px; }
  .capacitacion .brand { width: clamp(136px,40vw,195px); }
  .capacitacion .desktop-nav { display: none; }
  .capacitacion .menu-button { display: block; }
  .capacitacion .header-cta { display: inline-flex; margin-left: auto; padding: 8px 12px; min-height: 44px; }
}
@media(max-width:760px) {
  .capacitacion .subhero { min-height: calc(100svh - 68px); }
  .capacitacion .subhero .container { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 18px; padding-block: 22px 72px; }
  .capacitacion .subhero::after { background: linear-gradient(0deg,rgba(16,50,53,.88),rgba(16,50,53,.72) 48%,rgba(16,50,53,.12)); }
  .capacitacion .subhero h1 { font-size: clamp(2.35rem,8.6vw,3rem); }
  .cap-alma { grid-row: 1; width: clamp(150px,43vw,220px); }
  .capacitacion .subpage > .section { width: calc(100% - 32px); padding: 22px 18px; scroll-margin-top: 78px; }
}
@media (max-width:760px) {
  .capacitacion .section :is(.feature-grid,.knowledge-grid,.continuity-grid) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 6px; }
  .capacitacion .section article { flex: 0 0 100%; box-sizing: border-box; scroll-snap-align: start; min-height: 0; }
}
.cap-paginacion { display: none; }
@media (max-width:760px) {
  .cap-paginacion { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
  .cap-paginacion button { background: white; color: #193f40; border: 1px solid #60837c; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; }
  .cap-paginacion button:disabled { opacity: .45; cursor: default; }
}
@media (max-width:360px) {
  .capacitacion .subhero h1 { font-size: 2.1rem; }
  .capacitacion .subhero .container { gap: 8px; padding-block: 16px 55px; }
}
@media (max-width:760px) {
  .capacitacion .section .section-heading > p:not(.eyebrow),.capacitacion .section article p { font-size: 1rem; line-height: 1.45; margin-block: 8px; }
  .capacitacion .section .section-heading > :is(.eyebrow,h2) { margin-block: 0 8px; }
  .capacitacion .section .feature-card b { font-size: 1.75rem; }
  .capacitacion .section article h3 { margin-block: 7px; }
}
