/* ============================================================
   Índices de estilos
   Estructuras generales · Headers principales · Inicio · Servicios
   Capacitaciones · Instalaciones · Equipos · Noticias · MOSAD
   Buscadores · Transiciones · Derechos de autor · Responsive
   ============================================================ */

:root {
  --brand: #a32a29;
  --brand-dark: #741c1d;
  --brand-soft: #f6eaea;
  --ink: #171416;
  --ink-2: #262124;
  --paper: #f7f6f4;
  --white: #ffffff;
  --muted: #6d666a;
  --line: rgba(35, 31, 32, 0.12);
  --glass: rgba(255, 255, 255, 0.76);
  --shadow: 0 18px 55px rgba(18, 14, 16, 0.15);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ============================================================
   SALTAR AL CONTENIDO
   Oculto normalmente / aparece debajo del logo si recibe foco
   ============================================================ */

.skip-link {
  position: fixed;
  top: 118px;
  left: 28px;
  z-index: 9999;

  padding: 9px 14px;
  border-radius: 10px;

  background: #fff;
  color: var(--ink);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 18px 20px;
  pointer-events: none;
}

.nav-shell {
  width: min(1370px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 20px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 22px;
  pointer-events: auto;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 12px 40px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.8);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav > a, .nav-parent, .language-switch {
  min-height: 42px;
  padding: 10px 11px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #3c3639;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: .2s ease;
}

.main-nav > a:hover, .main-nav > a:focus-visible, .nav-parent:hover, .nav-parent:focus-visible, .language-switch:hover, .language-switch:focus-visible, .main-nav > .is-active {
  background: rgba(163,42,41,.1);
  color: var(--brand);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-parent > span:last-child {
  color: var(--brand);
}

.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 290px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .2s ease;
}

.nav-group:hover .subnav, .nav-group:focus-within .subnav, .nav-group.is-open .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subnav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #51494d;
}

.subnav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(163,42,41,.28);
  transition: .2s ease;
}

.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(163,42,41,.1);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brand);
}

.hero {
  position: relative;
  min-height: 970px;
  overflow: hidden;
  color: white;
  background: #101013;
}

.hero-media, .hero-slide, .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 5.5s ease;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(8,9,12,.9) 0%, rgba(8,9,12,.72) 42%, rgba(8,9,12,.18) 78%, rgba(8,9,12,.38) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 865px;
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: center;
  gap: 60px;
  padding-top: 110px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ef5a58;
}

.hero-message {
  display: none;
}

.hero-message.is-active {
  display: block;
  animation: fadeUp .5s ease both;
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 820px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-message > p {
  max-width: 670px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(17px, 1.5vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 850;
}

.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 14px 30px rgba(163,42,41,.3);
}

.button-primary:hover {
  background: #b93433;
}

.button-ghost {
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.22);
  color: white;
  cursor: pointer;
}

.hero-dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: .2s;
}

.hero-dots button.is-active {
  height: 28px;
  background: var(--brand);
}

.trust-strip {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  min-height: 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(18,16,18,.82);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.12);
}

.trust-strip > div {
  display: grid;
  place-content: center;
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}

.trust-strip strong {
  font-size: 22px;
}

.trust-strip span {
  color: rgba(255,255,255,.65);
  font-size: 12px;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section h2, .coverage h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 30px rgba(30,23,26,.045);
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(163,42,41,.25);
}

.service-number {
  color: var(--brand);
  font-size: 45px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
}

.service-card h3 {
  margin: 46px 0 14px;
  color: #252024;
  font-size: 23px;
  line-height: 1.15;
}

.service-card p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.service-card a {
  position: absolute;
  inset: auto auto 28px 32px;
  color: var(--brand);
  font-weight: 850;
}

.training {
  background: #fff;
}

.training-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 70px;
  align-items: center;
}

.training-visual {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: 30px;
  background: #ded8d9;
}

.training-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  image-rendering: auto;
}

.training-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.text-link {
  color: var(--brand);
  font-weight: 850;
}

.coverage {
  position: relative;
  overflow: hidden;
  padding: 110px 0 56px;
  color: white;
  background: #131114;
}

.coverage-backdrop {
  position: absolute;
  inset: 0;
  opacity: .18;
  background: linear-gradient(90deg, #131114, rgba(19,17,20,.6)), url('../images/world-map-decision-ejecutiva.jpg') center/cover;
}

.coverage-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 60px;
}

.coverage-copy > p:not(.eyebrow) {
  color: rgba(255,255,255,.7);
  font-size: 17px;
}

.country-current {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 18px;
  width: fit-content;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}

.country-flag {
  font-size: 36px;
}

.country-current small {
  display: block;
  color: rgba(255,255,255,.55);
}

.country-current strong {
  display: block;
  font-size: 22px;
}

.country-region {
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.58);
  font-size:12px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.coverage-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 34px;
  background: radial-gradient(circle at 62% 34%, color-mix(in srgb, var(--country-accent, #a32a29) 42%, transparent), transparent 48%), linear-gradient(145deg, color-mix(in srgb, var(--country-accent-2, #ffffff) 10%, #252025), #0d0d0f 72%);
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
  transition: background .45s ease;
}

.flag-aura {
  position: absolute;
  inset: -80px -40px auto auto;
  font-size: 350px;
  opacity: .22;
  filter: blur(2px) saturate(1.15);
  transform: rotate(-8deg);
  transition: opacity .25s ease, transform .35s ease;
}

.coverage-stage[data-country] .flag-aura {
  transform: rotate(-6deg) scale(1.02);
}

.escort-placeholder {
  position: absolute;
  inset: auto 8% 0 auto;
  width: 55%;
  height: 88%;
  filter: drop-shadow(0 20px 20px rgba(0,0,0,.3));
}

.escort-head {
  position: absolute;
  top: 2%;
  left: 37%;
  width: 26%;
  aspect-ratio: .82;
  border-radius: 45% 45% 40% 40%;
  background: linear-gradient(145deg, #232226, #07070a);
}

.escort-body {
  position: absolute;
  inset: 23% 0 0;
  border-radius: 42% 42% 10% 10%;
  clip-path: polygon(27% 0, 73% 0, 100% 35%, 91% 100%, 9% 100%, 0 35%);
  background: linear-gradient(110deg, #0e0f13, #2c2d33 48%, #090a0d);
}

.escort-badge {
  position: absolute;
  top: 44%;
  right: 12%;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 8px;
  color: rgba(255,255,255,.45);
  font-weight: 900;
}

.country-scroller {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  margin-top: 54px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.country-chip {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  cursor: pointer;
}

.country-chip:hover, .country-chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.contact-section {
  background: linear-gradient(180deg, #f7f6f4 0%, #ede9e8 100%);
}

.contact-intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 560px);
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

.contact-help {
  margin: 0;
  color: var(--muted);
}

.contact-primary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 58px;
}

.contact-primary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(23,18,20,.06);
}

.contact-primary-card--wa {
  background: linear-gradient(145deg, #fff, #edf9f2);
}

.contact-kicker {
  grid-column: 1 / -1;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-main-number {
  display: block;
  min-width: 0;
  font-size: clamp(23px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.contact-directory {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 24px;
  align-items: start;
}

.directory-block {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.68);
}

.directory-heading {
  margin-bottom: 20px;
}

.directory-heading h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.025em;
}

.directory-list {
  display: grid;
  gap: 10px;
}

.directory-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border: 1px solid rgba(35,31,32,.09);
  border-radius: 15px;
  background: #fff;
  transition: .2s ease;
}

.directory-item:hover {
  border-color: rgba(163,42,41,.28);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23,18,20,.055);
}

.directory-identity {
  min-width: 0;
}

.directory-identity > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.directory-identity > strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.contact-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(35,31,32,.12);
  border-radius: 11px;
  background: #fff;
  color: #3d3639;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}

.contact-action:hover, .contact-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(163,42,41,.35);
  color: var(--brand);
  box-shadow: 0 8px 20px rgba(23,18,20,.07);
}

.contact-action--message {
  border-color: rgba(37,211,102,.28);
  background: #effbf4;
  color: #16773c;
}

.contact-action--call {
  background: #f5f3f3;
}

.contact-action--email {
  border-color: rgba(163,42,41,.22);
  background: var(--brand-soft);
  color: var(--brand);
}

.contact-action--copy {
  border-color: rgba(163,42,41,.18);
  background: #fff;
  color: var(--brand);
}

.copy-button.is-copied {
  background: #1d6e45;
  border-color: #1d6e45;
  color: white;
}

.footer {
  padding: 70px 0 24px;
  color: white;
  background: #121012;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 50px;
}

.footer h3 {
  margin: 0 0 18px;
  color: #ef5a58;
  font-size: 13px;
  letter-spacing: .16em;
}

.footer p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.68);
}

.footer a {
  color: white;
}

.copyright {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.45);
  font-size: 12px;
}

.whatsapp-glass {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 194px;
  min-height: 60px;
  padding: 9px 18px 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(245,245,246,.76);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 18px 48px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.95);
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-glass:hover, .whatsapp-glass:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.95);
}

.wa-fill {
  position: absolute;
  z-index: -1;
  left: 7px;
  top: 7px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2ee46f, #18b950);
  box-shadow: 0 9px 22px rgba(21,185,79,.34), inset 0 1px 0 rgba(255,255,255,.32);
  transition: width .48s cubic-bezier(.16,.8,.22,1), border-radius .48s ease;
}

.whatsapp-glass:hover .wa-fill, .whatsapp-glass:focus-visible .wa-fill {
  width: calc(100% - 14px);
  border-radius: 999px;
}

.wa-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.wa-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.wa-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  transition: color .24s ease;
}

.whatsapp-glass strong, .whatsapp-glass small {
  display: block;
  line-height: 1.1;
}

.whatsapp-glass small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  transition: color .24s ease;
}

.whatsapp-glass:hover .wa-label, .whatsapp-glass:focus-visible .wa-label, .whatsapp-glass:hover small, .whatsapp-glass:focus-visible small {
  color: #fff;
}

.whatsapp-glass small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.back-top {
  position: fixed;
  z-index: 850;
  left: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.copy-toast {
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 28px;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 18px;
  border-radius: 999px;
  background: #171416;
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: .2s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: 170px 1fr auto;
  }

  .main-nav > a, .nav-parent, .language-switch {
    padding-inline: 8px;
    font-size: 11px;
  }

  .brand img {
    width: 136px;
  }

}

@media (max-width: 980px) {
  .site-header {
    padding: 12px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto auto;
    min-height: 66px;
    padding: 8px 9px 8px 16px;
  }

  .brand img {
    width: 130px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    order: 2;
    min-height: 44px;
  }

  .main-nav {
    position: fixed;
    inset: 90px 12px auto;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 22px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a, .nav-parent, .language-switch {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    text-align: left;
    font-size: 13px;
  }

  .nav-group {
    width: 100%;
  }

  .subnav {
    position: static;
    width: 100%;
    display: none;
    margin-top: 6px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--paper);
  }

  .nav-group.is-open .subnav {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr auto;
    min-height: 720px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .training-grid, .coverage-grid, .contact-directory {
    grid-template-columns: 1fr;
  }

  .training-visual {
    order: 2;
  }

  .coverage-stage {
    min-height: 440px;
  }

  .contact-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-grid {
    min-height: 690px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding-top: 115px;
    padding-bottom: 120px;
  }

  .hero-controls {
    flex-direction: row;
    justify-self: start;
  }

  .hero-dots {
    flex-direction: row;
  }

  .hero-dots button.is-active {
    width: 28px;
    height: 7px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 78px 0;
  }

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

  .service-card {
    min-height: 305px;
  }

  .training-grid {
    gap: 34px;
  }

  .training-visual, .training-visual img {
    min-height: 320px;
  }

  .coverage {
    padding-top: 78px;
  }

  .coverage-stage {
    min-height: 390px;
  }

  .flag-aura {
    font-size: 260px;
  }

  .contact-primary-grid {
    grid-template-columns: 1fr;
  }

  .contact-primary-card {
    grid-template-columns: 1fr;
  }

  .contact-primary-card .contact-actions {
    justify-content: flex-start;
  }

  .directory-block {
    padding: 20px 14px;
  }

  .directory-item {
    grid-template-columns: 1fr;
  }

  .directory-item .contact-actions {
    justify-content: flex-start;
  }

  .contact-action {
    flex: 1 1 auto;
    min-width: 88px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .whatsapp-glass {
    right: 14px;
    bottom: 14px;
    padding-right: 10px;
  }

  .whatsapp-glass span:last-child {
    display: none;
  }

  .back-top {
    left: 14px;
    bottom: 14px;
  }

  .copy-toast {
    bottom: 82px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

}

.directory-item--phone .directory-identity strong {
  white-space: nowrap;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
}

.directory-item--phone {
  min-height: 86px;
}

.directory-item--email .directory-identity strong {
  overflow-wrap: anywhere;
}

html[lang="es"] .directory-item, html[lang="en"] .directory-item {
  font-family: inherit;
}

@media (max-width: 520px) {
  .directory-item--phone .directory-identity strong {
    font-size: 18px;
  }

}

.country-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .35s ease, transform .7s ease;
}

.country-photo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(90deg, rgba(10,10,12,.2), rgba(10,10,12,.03) 48%, rgba(10,10,12,.18));
  transition: opacity .35s ease;
}

.coverage-stage.has-country-photo .country-media {
  opacity: 1;
  transform: scale(1);
}

.coverage-stage.has-country-photo .country-photo-shade {
  opacity: 1;
}

.coverage-stage.has-country-photo .flag-aura, .coverage-stage.has-country-photo .escort-placeholder {
  opacity: 0;
  pointer-events: none;
}

.inner-main {
  background: #f5f3f1;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: grid;
  align-items: end;
  color: #fff;
  background: radial-gradient(circle at 78% 22%, rgba(163,42,41,.35), transparent 34%), linear-gradient(135deg, #121113, #262126 66%, #3b1718);
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .13;
  background: url('../images/world-map-decision-ejecutiva.jpg') center/cover;
  mix-blend-mode: screen;
}

.inner-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  padding-bottom: 72px;
}

.inner-hero h1 {
  max-width: 880px;
  margin: 8px 0 0;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .96;
  letter-spacing: -.055em;
}

.inner-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.7;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255,255,255,.56);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.breadcrumbs a {
  color: rgba(255,255,255,.76);
}

.content-shell {
  padding: 86px 0 110px;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: start;
}

.editorial-content {
  min-width: 0;
}

.editorial-section {
  margin-bottom: 64px;
}

.editorial-section:last-child {
  margin-bottom: 0;
}

.editorial-section h2, .editorial-section h3, .editorial-section h4 {
  margin: 0 0 22px;
  color: #201d20;
  letter-spacing: -.035em;
}

.editorial-section h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.editorial-section h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.editorial-section h4 {
  font-size: 25px;
}

.editorial-section p {
  margin: 0 0 22px;
  color: #4d474b;
  font-size: 17px;
  line-height: 1.85;
}

/* LINEAMIENTOS ÉTICOS */
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 30px 0 50px;
  padding: 0;
  list-style: none;
}

/* Último lineamiento ocupa las 2 columnas */
.ethics-grid li:last-child {
  grid-column: 1 / -1;
}

.ethics-grid li {
  position: relative;
  min-height: 68px;
  padding: 14px 18px 14px 46px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ddd7d4;
  color: #332f31;
  font-weight: 700;
  line-height: 1.45;
  display: flex;
  align-items: center;
}

.ethics-grid li::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(163,42,41,.1);
}

@media (max-width: 680px) {
  .preserved-list,
  .ethics-grid {
    grid-template-columns: 1fr;
  }
}

.rse-panel {
  padding: 38px;
  border-left: 5px solid var(--brand);
  border-radius: 0 24px 24px 0;
  background: #fff;
  box-shadow: 0 18px 50px rgba(35,31,32,.07);
}

.rse-panel p:last-child {
  margin-bottom: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .content-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .inner-hero {
    min-height: 340px;
  }

  .inner-hero .container {
    padding-top: 126px;
    padding-bottom: 54px;
  }

  .content-shell {
    padding: 62px 0 82px;
  }

  .value-grid, .ethics-grid, .content-aside {
    grid-template-columns: 1fr;
  }

  .value-card, .rse-panel {
    padding: 26px;
  }

}

.news-home {
  background: #fff;
}

.news-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.news-heading-row .section-heading {
  margin-bottom: 0;
}

.news-intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.button-outline {
  border: 1px solid rgba(163,42,41,.26);
  background: rgba(163,42,41,.05);
  color: var(--brand);
  white-space: nowrap;
}

.button-outline:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(35,31,32,.07);
}

.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e6e1df;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.035);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
}

.news-card__category {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.news-card__excerpt {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.news-card .text-link {
  margin-top: auto;
}

.news-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  border: 1px dashed #cfc7c4;
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
  background: rgba(255,255,255,.7);
}

.news-page-heading {
  margin-bottom: 38px;
}

.news-page-heading h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.news-list--full {
  display: grid;
  gap: 30px;
}

/* NOTICIAS — TAMAÑO DE TARJETA */
.news-card--full {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);

  width: min(100%, 1050px);
  margin: 0 auto;
}

.news-card--full:not(:has(.news-card__media)) {
  grid-template-columns: 1fr;
}

.news-card--full .news-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}

/* NOTICIAS — MENOS RELLENO BLANCO */
.news-card--full .news-card__body {
  padding: 22px 26px 26px;
}

.news-card--full h3 {
  font-size: clamp(30px, 4vw, 48px);
}

.news-card__content p {
  margin: 0 0 14px;
  color: #4d474b;
  font-size: 17px;
  line-height: 1.85;
  white-space: pre-line;
}

.news-card__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card--full {
    grid-template-columns: 1fr;
  }

  .news-card--full .news-card__media {
    aspect-ratio: 16 / 8;
  }

}

@media (max-width: 680px) {
  .news-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .news-heading-row .button {
    width: 100%;
  }

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

  .news-card__body {
    padding: 22px;
  }

  .news-card--full .news-card__media {
    aspect-ratio: 16 / 10;
  }

}

.service-hero {
  min-height: 470px;
}

.service-hero .container {
  padding-bottom: 84px;
}

.service-hero h1 {
  max-width: 1050px;
  font-size: clamp(42px, 6.2vw, 82px);
}

.service-content-shell {
  padding-top: 70px;
}

.service-page-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}

.service-toc {
  position: sticky;
  top: 112px;
  padding: 28px;
  border: 1px solid #ddd7d4;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 50px rgba(35,31,32,.08);
}

.service-toc h2 {
  margin: 4px 0 22px;
  color: #211e21;
  font-size: 25px;
  letter-spacing: -.035em;
}

.service-toc nav {
  display: grid;
  gap: 6px;
}

.service-toc nav a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 10px;
  border-radius: 12px;
  color: #4b4549;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
  transition: .2s ease;
}

.service-toc nav a span {
  color: var(--brand);
  font-weight: 950;
  letter-spacing: .08em;
}

.service-toc nav a:hover, .service-toc nav a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
}

.service-toc__contact {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
}

.service-details {
  min-width: 0;
}

.service-detail {
  scroll-margin-top: 125px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 34px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #ddd7d4;
  border-radius: 30px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 60px rgba(35,31,32,.07);
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail__number {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, #a32a29, #741b1c);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .1em;
  box-shadow: 0 16px 32px rgba(163,42,41,.24);
}

.service-detail__content h2 {
  margin: 0 0 26px;
  color: #201d20;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.048em;
}

.service-detail__content h4 {
  margin: 40px 0 18px;
  color: var(--brand);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.service-detail__content p {
  margin: 0 0 22px;
  color: #4d474b;
  font-size: 17px;
  line-height: 1.85;
}

.service-detail__content p:last-child {
  margin-bottom: 0;
}

.service-list {
  margin: 26px 0 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list li {
  min-height: 100%;
}

@media (max-width: 980px) {
  .service-page-layout {
    grid-template-columns: 1fr;
  }

  .service-toc {
    position: static;
  }

  .service-toc nav {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

}

@media (max-width: 680px) {
  .service-hero {
    min-height: 390px;
  }

  .service-page-layout {
    gap: 28px;
  }

  .service-toc {
    padding: 20px;
  }

  .service-toc nav {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 20px;
    border-radius: 24px;
  }

  .service-detail__number {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

}

.nav-parent.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.subnav a.is-current {
  color: #fff;
  background: var(--brand);
}

.training-hero {
  min-height: 445px;
}

.training-hero h1 {
  max-width: 1080px;
  font-size: clamp(42px, 6.1vw, 80px);
}

.training-content-shell {
  padding-top: 70px;
}

.training-page-layout {
  display: grid;
  grid-template-columns: 305px minmax(0, 1fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: start;
}

.training-sidebar {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 136px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #ddd7d4;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(35,31,32,.08);
  scrollbar-width: thin;
}

.training-sidebar h2 {
  margin: 4px 0 22px;
  color: #211e21;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.training-site-nav, .training-section-nav {
  display: grid;
  gap: 6px;
}

.training-site-nav a, .training-section-nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  color: #4b4549;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 760;
  transition: .2s ease;
}

.training-site-nav a span, .training-section-nav a span {
  color: var(--brand);
  font-weight: 950;
  letter-spacing: .08em;
}

.training-site-nav a:hover, .training-site-nav a:focus-visible, .training-section-nav a:hover, .training-section-nav a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
}

.training-site-nav a.is-current {
  color: #fff;
  background: var(--brand);
}

.training-site-nav a.is-current span {
  color: #fff;
}

.training-section-nav {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2dcda;
}

.training-sidebar-label {
  margin: 24px 10px 10px;
  color: #8b8186;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.training-details {
  min-width: 0;
}

.training-intro-panel {
  margin-bottom: 34px;
  padding: clamp(26px, 4vw, 42px);
  border-left: 5px solid var(--brand);
  border-radius: 0 24px 24px 0;
  background: #fff;
  box-shadow: 0 18px 50px rgba(35,31,32,.07);
}

.training-intro-panel p {
  margin: 0 0 20px;
  color: #4d474b;
  font-size: 17px;
  line-height: 1.85;
}

.training-intro-panel p:last-child {
  margin-bottom: 0;
}

.training-detail {
  scroll-margin-top: 125px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 34px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #ddd7d4;
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 20px 60px rgba(35,31,32,.07);
}

.training-detail:last-child {
  margin-bottom: 0;
}

.training-detail__number {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, #a32a29, #741b1c);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .1em;
  box-shadow: 0 16px 32px rgba(163,42,41,.24);
}

.training-detail__content h2 {
  margin: 0 0 25px;
  color: #201d20;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.training-detail__content h4 {
  margin: 34px 0 16px;
  color: var(--brand);
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.training-detail__content p {
  margin: 0 0 22px;
  color: #4d474b;
  font-size: 17px;
  line-height: 1.85;
}

.training-detail__content p:last-child {
  margin-bottom: 0;
}

.training-list {
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin: 25px 0 30px;
}

.training-list li {
  min-height: 100%;
}

.training-table-wrap {
  overflow-x: auto;
  margin: 26px 0;
}

.training-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.training-table-wrap th, .training-table-wrap td {
  padding: 14px 16px;
  border: 1px solid #ddd7d4;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 1020px) {
  .training-page-layout {
    grid-template-columns: 1fr;
  }

  .training-sidebar {
    position: static;
    max-height: none;
  }

  .training-site-nav {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .training-section-nav {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}

@media (max-width: 680px) {
  .training-hero {
    min-height: 380px;
  }

  .training-page-layout {
    gap: 28px;
  }

  .training-sidebar {
    padding: 20px;
  }

  .training-site-nav, .training-section-nav {
    grid-template-columns: 1fr;
  }

  .training-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 20px;
    border-radius: 24px;
  }

  .training-detail__number {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .training-list {
    grid-template-columns: 1fr;
  }

}

.facilities-hero, .team-hero {
  min-height: 445px;
}

.facilities-hero h1, .team-hero h1 {
  max-width: 1080px;
  font-size: clamp(44px, 6.2vw, 82px);
}

.facilities-content-shell, .team-content-shell {
  padding-top: 72px;
}

.facilities-layout {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}

.facility-media {
  position: sticky;
  top: 112px;
  min-height: 610px;
  overflow: hidden;
  border-radius: 30px;
  background: #211e21;
  box-shadow: 0 28px 70px rgba(35,31,32,.18);
}

.facility-media__image {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,17,19,.05), rgba(18,17,19,.7)), url('../images/facilities/instalaciones-04.webp') center/cover;
  transform: scale(1.03);
}

.facility-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 26% 18%, rgba(255,255,255,.2), transparent 24%), linear-gradient(135deg, transparent 38%, rgba(163,42,41,.32));
}

.facility-media__mark {
  position: absolute;
  z-index: 1;
  left: 30px;
  bottom: 26px;
  color: rgba(255,255,255,.92);
  font-size: clamp(52px, 8vw, 100px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.08em;
}

.facility-copy {
  min-width: 0;
}

.facility-overview {
  padding: clamp(28px, 4.8vw, 56px);
  border: 1px solid #ddd7d4;
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 60px rgba(35,31,32,.07);
}

.facility-overview h2 {
  margin: 7px 0 28px;
  color: #201d20;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -.048em;
}

.facility-overview p, .facility-feature p, .facility-closing p {
  margin: 0 0 22px;
  color: #4d474b;
  font-size: 17px;
  line-height: 1.85;
}

.facility-overview p:last-child, .facility-feature p:last-child, .facility-closing p:last-child {
  margin-bottom: 0;
}

.facility-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
  margin: 24px 0;
}

.facility-feature {
  min-height: 100%;
  padding: 30px;
  border: 1px solid #ddd7d4;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(35,31,32,.06);
}

.facility-feature__number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #a32a29, #741b1c);
  font-weight: 950;
  letter-spacing: .1em;
  box-shadow: 0 14px 28px rgba(163,42,41,.22);
}

.facility-contact-note {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(163,42,41,.24);
  border-radius: 20px;
  background: rgba(163,42,41,.06);
}

.facility-contact-note p {
  margin: 0;
  color: #4d474b;
  font-size: 16px;
  line-height: 1.7;
}

.facility-contact-note a {
  color: var(--brand);
  font-weight: 850;
}

.facility-closing {
  padding: 34px 38px;
  border-left: 5px solid var(--brand);
  border-radius: 0 24px 24px 0;
  background: #fff;
  box-shadow: 0 18px 50px rgba(35,31,32,.07);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  overflow: hidden;
  border: 1px solid #ddd7d4;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(35,31,32,.07);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(163,42,41,.35);
  box-shadow: 0 24px 58px rgba(35,31,32,.1);
}

.team-card[open] {
  border-color: rgba(163,42,41,.34);
}

.team-card summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 150px;
  padding: 24px;
}

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

.team-avatar {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #2e292d, #171518);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 14px 32px rgba(35,31,32,.18);
}

.team-card__identity {
  display: grid;
  min-width: 0;
}

.team-card__index {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
}

.team-card__identity strong {
  color: #201d20;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.team-card__identity small {
  margin-top: 8px;
  color: #746b70;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 760;
}

.team-card__action {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  align-self: end;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.team-card__action span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  transition: transform .25s ease;
}

.team-card[open] .team-card__action span {
  transform: rotate(45deg);
}

.team-card__body {
  padding: 0 24px 28px 114px;
}

.team-card__body p {
  margin: 0;
  color: #4d474b;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .facilities-layout {
    grid-template-columns: 1fr;
  }

  .facility-media {
    position: relative;
    top: auto;
    min-height: 430px;
  }

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

}

@media (max-width: 680px) {
  .facilities-hero, .team-hero {
    min-height: 380px;
  }

  .facility-media {
    min-height: 330px;
    border-radius: 24px;
  }

  .facility-feature-grid {
    grid-template-columns: 1fr;
  }

  .facility-overview, .facility-feature {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .facility-closing {
    padding: 26px 22px;
  }

  .team-card summary {
    grid-template-columns: 58px minmax(0,1fr);
    min-height: 0;
    padding: 20px;
  }

  .team-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 18px;
  }

  .team-card__action {
    grid-column: 2;
    align-self: start;
    margin-top: -5px;
  }

  .team-card__body {
    padding: 0 20px 24px;
  }

}

.page-photo-strip {
  padding: 0 0 34px;
  background: var(--paper);
}

.page-photo-strip__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 16px;
}

.page-photo-strip figure {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  margin: 0;
  border-radius: 24px;
  background: #d9d3d4;
  box-shadow: 0 16px 42px rgba(35,31,32,.1);
}

.page-photo-strip figure:first-child {
  min-height: 330px;
  grid-row: span 2;
}

.page-photo-strip figure:nth-child(2) img {
  object-position: 50% 35%;
}

.page-photo-strip figure:nth-child(3) img {
  object-position: 72% 50%;
}

.page-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.page-photo-strip figure:hover img {
  transform: scale(1.025);
}

.content-photo-break {
  width: min(1180px, calc(100% - 40px));
  height: clamp(280px, 40vw, 520px);
  margin: 0 auto 90px;
  overflow: hidden;
  border-radius: 30px;
  background: #d9d3d4;
  box-shadow: 0 20px 58px rgba(35,31,32,.12);
}

.content-photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.team-photo {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 78px;
  height: 88px;
  border-radius: 20px;
  background: #171518;
  box-shadow: 0 14px 32px rgba(35,31,32,.18);
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.55) brightness(.58);
}

.team-photo span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}

.team-card summary {
  grid-template-columns: 78px minmax(0, 1fr) auto;
}

.team-card__body {
  padding-left: 122px;
}

@media (max-width: 820px) {
  .page-photo-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-photo-strip figure:first-child {
    grid-column: 1 / -1;
    min-height: 300px;
    grid-row: auto;
  }

}

@media (max-width: 680px) {
  .whatsapp-glass {
    right: 14px;
    bottom: 14px;
    min-width: 58px;
    width: 58px;
    padding: 8px;
  }

  .whatsapp-glass .wa-label {
    display: none;
  }

  .wa-fill {
    left: 6px;
    top: 6px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-glass:hover .wa-fill, .whatsapp-glass:focus-visible .wa-fill {
    width: 44px;
  }

  .wa-icon {
    flex-basis: 40px;
  }

  .page-photo-strip__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .page-photo-strip figure, .page-photo-strip figure:first-child {
    flex: 0 0 84%;
    min-height: 260px;
    scroll-snap-align: start;
  }

  .content-photo-break {
    width: calc(100% - 28px);
    height: 300px;
    margin-bottom: 64px;
    border-radius: 22px;
  }

  .team-card summary {
    grid-template-columns: 68px minmax(0,1fr);
  }

  .team-photo {
    width: 68px;
    height: 76px;
    border-radius: 17px;
  }

  .team-card__body {
    padding-left: 20px;
  }

}

.main-nav > a, .nav-parent, .language-switch {
  font-size: 13px;
}

.subnav a {
  font-size: 13.5px;
}

.training-spotlight {
  padding: 0 0 34px;
  background: #f7f6f4;
}

.training-spotlight__grid {
  display: flex;
  gap: 16px;
  min-height: 380px;
}

.training-spotlight-card {
  position: relative;
  isolation: isolate;
  flex: .9 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  box-shadow: 0 22px 54px rgba(35,31,32,.14);
  transition: flex .5s cubic-bezier(.2,.8,.2,1), transform .35s ease, box-shadow .35s ease;
}

.training-spotlight-card.is-active {
  flex: 2.35 1 0;
  transform: translateY(-3px);
  box-shadow: 0 30px 68px rgba(35,31,32,.21);
}

.training-spotlight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, filter .35s ease;
}

.training-spotlight-card:hover img, .training-spotlight-card:focus-visible img, .training-spotlight-card.is-active img {
  transform: scale(1.055);
  filter: saturate(.9) contrast(1.03);
}

.training-spotlight-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,12,14,.08) 18%, rgba(13,12,14,.86) 100%);
}

.training-spotlight-card__content {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 14px;
  align-items: end;
  padding: 24px;
}

.training-spotlight-card__number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 15px;
  background: rgba(163,42,41,.82);
  backdrop-filter: blur(12px);
  font-weight: 950;
}

.training-spotlight-card__content > span:last-child {
  min-width: 0;
}

.training-spotlight-card strong {
  display: block;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.training-spotlight-card small {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transition: max-height .35s ease, margin .35s ease, opacity .35s ease;
}

.training-spotlight-card em {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  opacity: .82;
}

.training-spotlight-card.is-active small {
  max-height: 90px;
  margin-top: 8px;
  opacity: 1;
}

.facility-reservation {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(163,42,41,.3);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(163,42,41,.1), rgba(255,255,255,.86));
  box-shadow: 0 18px 46px rgba(35,31,32,.06);
}

.facility-reservation__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #a32a29, #741c1d);
  font-size: 26px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(163,42,41,.22);
}

.facility-reservation .eyebrow {
  margin-bottom: 3px;
}

.facility-reservation h3 {
  margin: 0;
  color: #211d20;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.contact-directory--complete {
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-items: stretch;
}

.directory-block--phones {
  height: 100%;
}

.contact-side-stack {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  min-width: 0;
}

.contact-form-block {
  min-height: 100%;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #4d474b;
  font-size: 12px;
  font-weight: 850;
}

.contact-form label:nth-of-type(4) {
  grid-column: 1 / -1;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35,31,32,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.92);
  padding: 12px 14px;
  color: #211d20;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

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

.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(163,42,41,.5);
  box-shadow: 0 0 0 4px rgba(163,42,41,.08);
}

.contact-form .button {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 24px;
  margin-top: 24px;
}

.contact-location-card, .contact-map {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 50px rgba(35,31,32,.06);
}

.contact-location-card {
  padding: 32px;
}

.contact-location-card h3 {
  margin: 0 0 22px;
  font-size: 30px;
  letter-spacing: -.03em;
}

.contact-location-card p {
  margin: 0 0 13px;
  color: #51494d;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
}

.team-grid {
  align-items: stretch;
}

.team-flip-card {
  min-height: 440px;
  perspective: 1500px;
}

.team-flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  transform-style: preserve-3d;
  transition: transform .78s cubic-bezier(.2,.72,.18,1);
}

.team-flip-card.is-flipped .team-flip-card__inner {
  transform: rotateY(180deg);
}

.team-flip-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid #ddd7d4;
  border-radius: 28px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 20px 54px rgba(35,31,32,.08);
}

.team-flip-card__front {
  display: grid;
  grid-template-columns: 118px minmax(0,1fr);
  grid-template-rows: auto auto auto 1fr auto;
  gap: 8px 22px;
  align-items: start;
  padding: 24px;
  background: rgba(255,255,255,.94);
}

.team-flip-card__front .team-photo {
  grid-row: 1 / 6;
  width: 118px;
  height: 100%;
  min-height: 390px;
  border-radius: 22px;
}

.team-flip-card__front .team-card__index {
  align-self: end;
}

.team-flip-card__front h3 {
  margin: 0;
  color: #201d20;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.team-flip-card__role {
  margin: 0;
  color: #756c71;
  font-size: 13px;
  font-weight: 800;
}

.team-flip-card__preview {
  margin: 12px 0 0;
  color: #51494d;
  font-size: 15px;
  line-height: 1.7;
}

.team-flip-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  align-self: end;
  width: fit-content;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid rgba(163,42,41,.2);
  border-radius: 13px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.team-flip-card__button:hover, .team-flip-card__button:focus-visible {
  transform: translateY(-2px);
  background: var(--brand-soft);
  box-shadow: 0 10px 24px rgba(35,31,32,.08);
}

.team-flip-card__back {
  display: flex;
  flex-direction: column;
  padding: 30px;
  color: #fff;
  background: linear-gradient(145deg, rgba(116,28,29,.9), rgba(163,42,41,.76));
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  transform: rotateY(180deg);
  border-color: rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 24px 64px rgba(35,31,32,.22);
}

.team-flip-card__back::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 10%, rgba(255,255,255,.24), transparent 32%), linear-gradient(115deg, transparent 35%, rgba(255,255,255,.09) 47%, transparent 58%);
}

.team-flip-card__back > * {
  position: relative;
  z-index: 1;
}

.team-flip-card__back-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.team-flip-card__back .team-card__index {
  color: rgba(255,255,255,.72);
}

.team-flip-card__back h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.team-flip-card__back-heading p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 760;
}

.team-flip-card__biography {
  flex: 1;
  overflow-y: auto;
  margin: 22px 0;
  padding-right: 8px;
}

.team-flip-card__biography p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  line-height: 1.78;
}

.team-flip-card__button--back {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.team-flip-card__button--back:hover, .team-flip-card__button--back:focus-visible {
  background: rgba(255,255,255,.2);
}

.news-card__dates {
  display: grid;
  gap: 2px;
  color: #756c71;
  font-size: 12px;
}

.news-card__dates time {
  display: block;
}

@media (max-width: 1020px) {
  .training-spotlight__grid {
    min-height: 330px;
  }

  .contact-directory--complete, .contact-location-grid {
    grid-template-columns: 1fr;
  }

  .contact-side-stack {
    grid-template-rows: auto auto;
  }

}

@media (max-width: 760px) {
  .training-spotlight__grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .training-spotlight-card, .training-spotlight-card.is-active {
    min-height: 270px;
    flex: none;
    transform: none;
  }

  .training-spotlight-card small {
    max-height: 90px;
    margin-top: 8px;
    opacity: 1;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label:nth-of-type(4), .contact-form .button {
    grid-column: auto;
  }

  /* EQUIPO — TARJETAS COMPACTAS EN MÓVIL */
.team-flip-card,
.team-flip-card__inner {
  min-height: 390px;
}

.team-flip-card__front {
  grid-template-columns: 105px minmax(0,1fr);
  min-height: 390px;
  padding: 18px;
  gap: 8px 18px;
}

.team-flip-card__front .team-photo {
  width: 105px;
  min-height: 350px;
}
  }

}

/*@media (prefers-reduced-motion: reduce) {
  .training-spotlight-card, .training-spotlight-card img, .team-flip-card__inner {
    transition-duration: .01ms;
  }

}*/

.contact-directory--complete .directory-block {
  padding: 32px;
}

.contact-directory--complete .directory-heading h3 {
  font-size: 30px;
}

.contact-directory--complete .directory-item {
  padding: 18px;
}

.contact-directory--complete .directory-identity > strong {
  font-size: 15px;
}

.inner-hero {
  background: radial-gradient(circle at 78% 22%, rgba(163,42,41,.2), transparent 36%), linear-gradient(135deg, rgba(18,17,19,.94), rgba(38,33,38,.88) 66%, rgba(59,23,24,.82));
}

.inner-hero::after {
  opacity: .27;
  mix-blend-mode: screen;
}

.training-spotlight {
  padding: 0 0 42px;
  background: #f7f6f4;
}

.training-spotlight .container {
  width: min(1500px, calc(100% - 40px));
}

.training-spotlight__grid {
  display: flex;
  gap: 16px;
  min-height: 410px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(163,42,41,.45) rgba(35,31,32,.08);
}

.training-spotlight-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 185px;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  scroll-snap-align: start;
  box-shadow: 0 22px 54px rgba(35,31,32,.14);
  transition: flex-basis .5s cubic-bezier(.2,.8,.2,1), transform .35s ease, box-shadow .35s ease;
}

.training-spotlight-card.is-active {
  flex-basis: min(520px, 58vw);
  transform: translateY(-3px);
  box-shadow: 0 30px 68px rgba(35,31,32,.21);
}

.training-spotlight__grid[data-card-count="1"] .training-spotlight-card {
  flex-basis: 100%;
}

.training-spotlight__grid[data-card-count="2"] .training-spotlight-card {
  flex: 1 1 0;
}

.training-spotlight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, filter .35s ease;
}

.training-spotlight-card:hover img, .training-spotlight-card:focus-visible img, .training-spotlight-card.is-active img {
  transform: scale(1.055);
  filter: saturate(.88) contrast(1.04) brightness(.82);
}

.training-spotlight-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,12,14,.08) 15%, rgba(13,12,14,.9) 100%);
}

.training-spotlight-card__content {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 14px;
  align-items: end;
  padding: 24px;
}

.training-spotlight-card__number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 15px;
  background: rgba(163,42,41,.78);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  font-weight: 950;
}

.training-spotlight-card__content > span:last-child {
  min-width: 0;
}

.training-spotlight-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(17px, 1.6vw, 25px);
  line-height: 1.08;
  letter-spacing: -.03em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.training-spotlight-card small {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transition: max-height .35s ease, margin .35s ease, opacity .35s ease;
}

.training-spotlight-card em {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  opacity: .88;
}

.training-spotlight-card.is-active small {
  max-height: 112px;
  margin-top: 8px;
  opacity: 1;
}

.facility-reservation {
  color: inherit;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.facility-reservation:hover, .facility-reservation:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(163,42,41,.58);
  box-shadow: 0 24px 58px rgba(35,31,32,.12);
}

.facility-reservation__cta {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 11px 15px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(163,42,41,.22);
}

.directory-block--phones {
  display: flex;
  flex-direction: column;
}

.social-panel {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(35,31,32,.1);
}

.social-panel h4 {
  margin: 0 0 18px;
  color: #211d20;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 11px;
}

.social-link {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 58px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(35,31,32,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 26px rgba(35,31,32,.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.social-link:hover, .social-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(163,42,41,.28);
  box-shadow: 0 16px 34px rgba(35,31,32,.09);
}

.social-link__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff;
  background: #2d292c;
  font-size: 16px;
  font-weight: 950;
}

.social-link--linkedin .social-link__icon {
  background: #0a66c2;
}

.social-link--instagram .social-link__icon {
  background: linear-gradient(145deg, #7c3aed, #e1306c 55%, #f59e0b);
}

.social-link--facebook .social-link__icon {
  background: #1877f2;
}

.social-link--youtube .social-link__icon {
  background: #ff0000;
}

.social-link__label {
  min-width: 0;
  color: #2d282b;
  font-size: 13px;
  font-weight: 850;
}

.social-link__arrow {
  color: var(--brand);
  font-weight: 950;
}

.team-page .page-photo-strip {
  display: none;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.team-flip-card {
  min-height: 330px;
  perspective: 1700px;
}

.team-flip-card__inner {
  min-height: 330px;
}

.team-flip-card__front {
  grid-template-columns: 102px minmax(0,1fr);
  min-height: 330px;
}

.team-flip-card__front .team-photo {
  width: 102px;
  min-height: 280px;
}

.team-flip-card__back {
  background: radial-gradient(circle at 16% 8%, rgba(255,255,255,.32), transparent 34%), linear-gradient(145deg, rgba(116,28,29,.42), rgba(163,42,41,.2));
  backdrop-filter: blur(34px) saturate(180%);
  -webkit-backdrop-filter: blur(34px) saturate(180%);
  border-color: rgba(255,255,255,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 28px 80px rgba(20,15,18,.3);
}

.team-modal-backdrop {
  position: fixed;
  z-index: 2190;
  inset: 0;
  background: rgba(16,13,15,.34);
  backdrop-filter: blur(13px) saturate(125%);
  -webkit-backdrop-filter: blur(13px) saturate(125%);
  opacity: 0;
  transition: opacity .32s ease;
}

.team-modal-backdrop.is-visible {
  opacity: 1;
}

.team-modal-card {
  position: fixed;
  z-index: 2200;
  margin: 0;
  transform: none;
  transition: left .62s cubic-bezier(.2,.76,.2,1), top .62s cubic-bezier(.2,.76,.2,1), width .62s cubic-bezier(.2,.76,.2,1), height .62s cubic-bezier(.2,.76,.2,1), transform .62s cubic-bezier(.2,.76,.2,1), filter .3s ease;
}

.team-modal-card.is-open {
  left: 50% !important;
  top: 50% !important;
  width: min(760px, calc(100vw - 42px)) !important;
  height: min(620px, calc(100vh - 54px)) !important;
  transform: translate(-50%, -50%);
}

.team-modal-card .team-flip-card__inner, .team-modal-card .team-flip-card__face {
  min-height: 100%;
  height: 100%;
}

.team-modal-card .team-flip-card__front {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  border-color: rgba(255,255,255,.7);
}

.team-modal-card .team-flip-card__back {
  padding: clamp(26px, 4vw, 44px);
}

.team-modal-card .team-flip-card__biography p {
  font-size: clamp(15px, 1.7vw, 18px);
}

body.team-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .training-spotlight-card {
    flex-basis: 165px;
  }

  .training-spotlight-card.is-active {
    flex-basis: min(470px, 72vw);
  }

  .social-links {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 680px) {
  .training-spotlight .container {
    width: calc(100% - 28px);
  }

/* ============================================================
   EQUIPO — ANIMACIÓN LIGERA EN MÓVIL
   Sin giro 3D ni blur pesado
   ============================================================ */

@media (max-width: 680px) {

  /* Eliminar renderizado 3D */
  .team-flip-card {
    perspective: none;
  }

  .team-flip-card__inner {
    transform-style: flat;
    transform: none !important;
    transition: none;
  }

  .team-flip-card.is-flipped .team-flip-card__inner {
    transform: none !important;
  }


  /* Caras: cambio mediante fade */
  .team-flip-card__face {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transition:
      opacity .16s ease,
      visibility .16s ease;
  }

  .team-flip-card__front {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .team-flip-card__back {
    opacity: 0;
    visibility: hidden;
    transform: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }


  /* Al abrir "Leer más" */
  .team-flip-card.is-flipped .team-flip-card__front {
    opacity: 0;
    visibility: hidden;
  }

  .team-flip-card.is-flipped .team-flip-card__back {
    opacity: 1;
    visibility: visible;
  }


  /* Modal:
     no animar left/top/width/height en teléfono */
  .team-modal-card {
    transition:
      opacity .16s ease,
      transform .18s ease !important;
  }

  .team-modal-card.is-open {
    left: 50% !important;
    top: 50% !important;

    width: calc(100vw - 24px) !important;
    height: calc(100vh - 32px) !important;

    transform: translate(-50%, -50%) !important;
  }


  /* El fondo borroso también consume bastante GPU */
  .team-modal-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: opacity .15s ease;
  }

  .team-modal-card .team-flip-card__front,
  .team-modal-card .team-flip-card__back {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

  .training-spotlight__grid {
    min-height: 330px;
  }

  .training-spotlight-card, .training-spotlight-card.is-active {
    flex: 0 0 84%;
    min-height: 310px;
    transform: none;
  }

  .training-spotlight-card small {
    max-height: 90px;
    margin-top: 8px;
    opacity: 1;
  }

  .facility-reservation {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .facility-reservation__cta {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

.team-flip-card,
.team-flip-card__inner {
  min-height: 370px;
}

.team-flip-card__front {
  grid-template-columns: 100px minmax(0,1fr);
  min-height: 370px;
}

.team-flip-card__front .team-photo {
  width: 100px;
  min-height: 330px;
}
  .team-modal-card.is-open {
    width: calc(100vw - 24px) !important;
    height: calc(100vh - 32px) !important;
  }

}

.team-modal-backdrop {
  border: 0;
  padding: 0;
  cursor: zoom-out;
}

.operations-label-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: .42em;
  align-items: baseline;
}

.operations-label-row [data-operations-name] {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.training-spotlight-card__shade {
  opacity: 0;
  transform: scaleY(.28);
  transform-origin: bottom;
  background: radial-gradient(circle at 18% 80%, rgba(163,42,41,.38), transparent 38%), linear-gradient(180deg, rgba(10,9,11,.05) 8%, rgba(10,9,11,.93) 100%);
  transition: opacity .42s ease, transform .62s cubic-bezier(.16,1,.3,1);
}

.training-spotlight-card__shade::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.2) 46%, transparent 64%);
  transform: translateX(-120%);
}

.training-spotlight-card__content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(34px) scale(.975);
  filter: blur(8px);
  transition: opacity .32s ease, visibility 0s linear .42s, transform .56s cubic-bezier(.16,1,.3,1), filter .42s ease;
}

.training-spotlight-card__number, .training-spotlight-card strong, .training-spotlight-card small, .training-spotlight-card em {
  transform: translateY(16px);
  opacity: 0;
  transition: transform .48s cubic-bezier(.16,1,.3,1), opacity .34s ease;
}

.training-spotlight-card img {
  filter: saturate(1) contrast(1) brightness(1);
}

.training-spotlight-card.is-active .training-spotlight-card__shade {
  opacity: 1;
  transform: scaleY(1);
}

.training-spotlight-card.is-active .training-spotlight-card__shade::after {
  animation: de-gallery-sheen .85s .08s cubic-bezier(.16,1,.3,1) both;
}

.training-spotlight-card.is-active .training-spotlight-card__content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: .08s, 0s, .08s, .08s;
}

.training-spotlight-card.is-active .training-spotlight-card__number, .training-spotlight-card.is-active strong, .training-spotlight-card.is-active small, .training-spotlight-card.is-active em {
  transform: translateY(0);
  opacity: 1;
}

.training-spotlight-card.is-active strong {
  transition-delay: .13s;
}

.training-spotlight-card.is-active small {
  transition-delay: .18s;
}

.training-spotlight-card.is-active em {
  transition-delay: .23s;
}

.training-spotlight-card.is-active small {
  max-height: 112px;
  margin-top: 8px;
}

@keyframes de-gallery-sheen {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  28% {
    opacity: .8;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }

}

.service-vault {
  position: relative;
  padding: 0 0 76px;
  background: #f7f6f4;
}

.service-vault__shell {
  position: relative;
  width: min(1540px, calc(100% - 40px));
  margin-top: -1px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 0 0 38px 38px;
  background: radial-gradient(circle at 92% 4%, rgba(163,42,41,.12), transparent 30%), linear-gradient(145deg, rgba(255,255,255,.9), rgba(238,234,232,.72));
  box-shadow: 0 34px 90px rgba(35,31,32,.12), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

.service-vault__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 49.7%, rgba(163,42,41,.045) 49.8% 50.2%, transparent 50.3%), linear-gradient(rgba(35,31,32,.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 72px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.service-vault__header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}

.service-vault__header .eyebrow {
  margin: 0 0 8px;
}

.service-vault__header h2 {
  max-width: 760px;
  margin: 0;
  color: #211e21;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}

.service-vault__status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 10px 14px;
  border: 1px solid rgba(35,31,32,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: #51494d;
  font-size: 11px;
  letter-spacing: .08em;
}

.service-vault__status span {
  color: var(--brand);
  font-weight: 950;
}

.service-vault__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2bc66d;
  box-shadow: 0 0 0 5px rgba(43,198,109,.12);
}

.service-vault__status b {
  font-weight: 850;
}

.service-vault__grid {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  min-height: 500px;
}

.service-vault-card {
  --service-image: none;
  position: relative;
  isolation: isolate;
  flex: .7 1 0;
  min-width: 76px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 26px;
  color: #fff;
  background: #191619;
  box-shadow: 0 22px 54px rgba(24,19,21,.18), inset 0 1px 0 rgba(255,255,255,.18);
  transition: flex .72s cubic-bezier(.16,1,.3,1), transform .42s ease, box-shadow .42s ease, border-color .42s ease;
}

.service-vault-card.is-active {
  flex: 3.55 1 0;
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.52);
  box-shadow: 0 38px 82px rgba(24,19,21,.3), inset 0 1px 0 rgba(255,255,255,.28);
}

.service-vault-card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--service-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  filter: grayscale(.35) saturate(.78) brightness(.66);
  transition: transform .9s cubic-bezier(.16,1,.3,1), filter .55s ease;
}

.service-vault-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11,10,12,.14), rgba(11,10,12,.86)), radial-gradient(circle at 84% 18%, rgba(163,42,41,.42), transparent 36%);
  transition: background .45s ease;
}

.service-vault-card::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 20%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-14deg);
}

.service-vault-card.is-active::after {
  animation: de-service-scan 1s .08s cubic-bezier(.16,1,.3,1) both;
}

.service-vault-card.is-active .service-vault-card__media {
  transform: scale(1.09);
  filter: grayscale(.08) saturate(.92) brightness(.62);
}

.service-vault-card__quiet {
  position: absolute;
  inset: 22px 18px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.service-vault-card__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 950;
}

.service-vault-card__mark {
  display: grid;
  gap: 4px;
  opacity: .7;
}

.service-vault-card__mark i {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,.7);
  transition: width .35s ease;
}

.service-vault-card__mark i:nth-child(2) {
  width: 13px;
}

.service-vault-card__mark i:nth-child(3) {
  width: 7px;
}

.service-vault-card.is-active .service-vault-card__mark i {
  width: 30px;
}

.service-vault-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: 34px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  filter: blur(7px);
  transition: opacity .36s ease, visibility 0s linear .45s, transform .58s cubic-bezier(.16,1,.3,1), filter .45s ease;
}

.service-vault-card.is-active .service-vault-card__content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: .16s, 0s, .16s, .16s;
}

.service-vault-card__content small {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.66);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.service-vault-card__content strong {
  display: block;
  max-width: 610px;
  font-size: clamp(29px, 3.6vw, 55px);
  line-height: .98;
  letter-spacing: -.05em;
}

.service-vault-card__excerpt {
  display: block;
  max-width: 610px;
  margin-top: 16px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.55;
}

.service-vault-card__content em {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

@keyframes de-service-scan {
  0% {
    left: -30%;
    opacity: 0;
  }

  30% {
    opacity: .8;
  }

  100% {
    left: 120%;
    opacity: 0;
  }

}

@media (max-width: 980px) {
  .service-vault__grid {
    min-height: 430px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .service-vault-card, .service-vault-card.is-active {
    flex: 0 0 min(76vw, 560px);
    transform: none;
    scroll-snap-align: center;
  }

  .service-vault-card__content {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
  }

}

@media (max-width: 760px) {
  .service-vault__shell {
    width: calc(100% - 24px);
    padding: 22px 14px;
    border-radius: 0 0 28px 28px;
  }

  .service-vault__header {
    align-items: start;
    flex-direction: column;
  }

  .service-vault__status {
    display: none;
  }

  .service-vault__grid {
    min-height: 390px;
  }

  .service-vault-card, .service-vault-card.is-active {
    flex-basis: 86vw;
    min-height: 370px;
  }

  .service-vault-card__content {
    padding: 26px 22px;
  }

  .service-vault-card__content strong {
    font-size: 32px;
  }

  .training-spotlight-card__content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    filter: blur(6px);
  }

  .training-spotlight-card__shade {
    opacity: 0;
    transform: scaleY(.25);
  }

  .training-spotlight-card.is-active .training-spotlight-card__content {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
  }

  .training-spotlight-card.is-active .training-spotlight-card__shade {
    opacity: 1;
    transform: scaleY(1);
  }

}

@media (prefers-reduced-motion: reduce) {
  .training-spotlight-card__shade::after, .service-vault-card::after {
    animation: none !important;
  }

}

.nav-shell {
  width: min(1580px, calc(100% - 12px));
  grid-template-columns: 196px minmax(0, 1fr) 132px;
  gap: 14px;
}

.main-nav {
  gap: 5px;
}

.main-nav > a, .nav-parent, .language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  line-height: 1.25;
  text-align: center;
}

.main-nav [data-i18n="navServices"] {
  max-width: 255px;
}

.main-nav .nav-group:first-of-type .nav-parent {
  min-width: 108px;
}

.main-nav .nav-group:nth-of-type(2) .nav-parent {
  min-width: 132px;
}

.inner-hero {
  background: radial-gradient(circle at 78% 22%, rgba(163,42,41,.21), transparent 38%), linear-gradient(135deg, rgba(18,17,19,.88), rgba(38,33,38,.78) 64%, rgba(83,36,37,.68));
}

.inner-hero::after {
  opacity: .44;
  mix-blend-mode: screen;
}

.service-vault__header {
  justify-content: flex-start;
}

.service-vault-card {
  background: #efe7e5;
  border-color: rgba(255,255,255,.72);
  box-shadow: 0 20px 48px rgba(74,38,39,.13), inset 0 1px 0 rgba(255,255,255,.72);
}

.service-vault-card__media {
  filter: saturate(.94) contrast(1.02) brightness(.94);
}

.service-vault-card::before {
  background: linear-gradient(180deg, rgba(255,255,255,.03) 30%, rgba(107,29,30,.24) 100%), radial-gradient(circle at 84% 18%, rgba(163,42,41,.15), transparent 40%);
}

.service-vault-card.is-active::before {
  background: linear-gradient(180deg, rgba(84,22,23,.03) 15%, rgba(92,24,25,.88) 100%), radial-gradient(circle at 82% 14%, rgba(226,130,128,.30), transparent 38%);
}

.service-vault-card.is-active .service-vault-card__media {
  filter: saturate(.96) contrast(1.04) brightness(.78);
}

.service-vault-card__number {
  color: var(--brand-dark);
  border-color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 20px rgba(53,30,31,.08);
}

.service-vault-card.is-active .service-vault-card__number {
  color: #fff;
  background: rgba(163,42,41,.54);
  border-color: rgba(255,255,255,.46);
}

.service-vault-card__mark i {
  background: rgba(163,42,41,.74);
}

.service-vault-card.is-active .service-vault-card__mark i {
  background: rgba(255,255,255,.82);
}

.team-flip-card__back {
  overflow: hidden;
  background: radial-gradient(circle at 16% 8%, rgba(255,255,255,.36), transparent 34%), linear-gradient(145deg, rgba(116,28,29,.26), rgba(255,255,255,.13));
  backdrop-filter: blur(38px) saturate(180%);
  -webkit-backdrop-filter: blur(38px) saturate(180%);
  border-color: rgba(255,255,255,.48);
}

.team-flip-card__back-heading, .team-flip-card__biography, .team-flip-card__button--back {
  position: relative;
  z-index: 3;
  max-width: 62%;
}

.team-flip-card__back-portrait {
  position: absolute;
  z-index: 1;
  right: -2%;
  bottom: -3%;
  width: 43%;
  height: 78%;
  object-fit: cover;
  object-position: center top;
  opacity: .42;
  filter: saturate(.7) contrast(1.03);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 72%, transparent 100%);
}

.team-modal-card .team-flip-card__back-portrait {
  right: 0;
  bottom: -2%;
  width: 46%;
  height: 86%;
  opacity: .52;
}

.social-link__icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1360px) and (min-width: 981px) {
  .nav-shell {
    width: calc(100% - 10px);
    grid-template-columns: 170px minmax(0,1fr) 118px;
    gap: 7px;
  }

  .brand img {
    width: 136px;
  }

  .main-nav > a, .nav-parent, .language-switch {
    padding-inline: 7px;
    font-size: 11.5px;
  }

  .main-nav [data-i18n="navServices"] {
    max-width: 220px;
  }

}

@media (max-width: 760px) {
  .team-flip-card__back-heading, .team-flip-card__biography, .team-flip-card__button--back {
    max-width: 100%;
  }

  .team-flip-card__back-portrait {
    opacity: .16;
    width: 70%;
  }

}

@media (max-width: 980px) {
  .nav-shell {
    width: 100%;
    grid-template-columns: 1fr auto auto;
    min-height: 66px;
    padding: 8px 9px 8px 16px;
  }

  .main-nav {
    position: fixed;
    inset: 90px 12px auto;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a, .nav-parent, .language-switch {
    width: 100%;
    min-height: 0;
    max-width: none !important;
    justify-content: space-between;
    padding: 12px;
    text-align: left;
    font-size: 13px;
  }

  .main-nav .nav-group .nav-parent {
    min-width: 0;
  }

}

@media (max-width: 680px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

}

.wa-fill {
  transition: width .75s cubic-bezier(.16,.8,.22,1), border-radius .75s ease;
}

@media (min-width: 981px) {
  .training-spotlight .container {
    width: min(1600px, calc(100% - 36px));
  }

  .training-spotlight__grid {
    min-height: 390px;
    overflow: hidden;
    padding: 0 2px;
    scroll-snap-type: none;
    scrollbar-width: none;
  }

  .training-spotlight__grid::-webkit-scrollbar {
    display: none;
  }

  .training-spotlight-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 370px;
    transition: flex-grow .48s cubic-bezier(.16,1,.3,1), flex-basis .48s cubic-bezier(.16,1,.3,1), transform .35s ease, box-shadow .35s ease;
  }

  .training-spotlight-card.is-active {
    flex: 3.15 1 0;
    min-width: 360px;
  }

  .training-spotlight__grid[data-card-count="1"] .training-spotlight-card, .training-spotlight__grid[data-card-count="2"] .training-spotlight-card {
    min-width: 0;
  }

}

.news-card__media-button {
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  text-align: inherit;
}

.news-card__media-button:focus-visible {
  outline: 3px solid rgba(163,42,41,.45);
  outline-offset: -3px;
}

.news-image-modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 58px);
  background: rgba(12,10,12,.82);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}

.news-image-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.news-image-modal__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1500px, 100%);
  height: min(88vh, 1000px);
  transform: scale(.965);
  transition: transform .32s cubic-bezier(.16,1,.3,1);
}

.news-image-modal.is-open .news-image-modal__frame {
  transform: scale(1);
}

.news-image-modal__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 32px 90px rgba(0,0,0,.48);
}

.news-image-modal__close {
  position: absolute;
  z-index: 2;
  top: -12px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #231f20;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(0,0,0,.24);
}

body.news-modal-open {
  overflow: hidden;
}

.nav-mosad {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 13px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,var(--brand),var(--brand-dark))!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:0 8px 20px rgba(163,42,41,.22)
}

.nav-mosad:hover,.nav-mosad.is-active {
  color:#fff!important;
  transform:translateY(-1px)
}

.training-preview-subnav {
  width:min(760px,calc(100vw - 70px));
  left:50%;
  transform:translate(-43%,-8px)
}

.nav-group:hover .training-preview-subnav,.nav-group:focus-within .training-preview-subnav,.nav-group.is-open .training-preview-subnav {
  transform:translate(-43%,0)
}

.training-preview-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px
}

.training-preview-group>a {
  padding:6px 8px;
  font-size:11.5px;
  line-height:1.3
}

.training-preview-title {
  color:var(--brand)!important;
  font-weight:900!important
}

.training-preview-title.compact {
  margin-top:3px;
  border-top:1px solid var(--line);
  padding-top:8px!important
}

.global-search-trigger {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:40px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.46);
  color:#4b4448;
  cursor:pointer
}

.global-search-trigger svg,.global-search__input svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8
}

.global-search-trigger span {
  font-size:9px;
  font-weight:900
}

.global-search[hidden] {
  display:none
}

.global-search {
  position:fixed;
  inset:0;
  z-index:5000;
  display:grid;
  place-items:start center;
  padding:8vh 20px
}

.global-search__backdrop {
  position:absolute;
  inset:0;
  background:rgba(16,13,15,.56);
  backdrop-filter:blur(14px)
}

.global-search__panel {
  position:relative;
  width:min(840px,100%);
  max-height:84vh;
  display:flex;
  flex-direction:column;
  border-radius:28px;
  background:rgba(250,248,248,.86);
  overflow:hidden
}

.global-search__panel>header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:24px 26px 14px
}

.global-search__panel h2 {
  margin:0;
  font-size:28px
}

.global-search__panel header button {
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  font-size:24px
}

.global-search__input {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 22px;
  padding:0 17px;
  border:1px solid rgba(163,42,41,.18);
  border-radius:18px;
  background:rgba(255,255,255,.82)
}

.global-search__input input {
  height:60px;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  font:inherit;
  font-size:18px
}

.global-search__hint {
  margin:10px 28px;
  color:var(--muted);
  font-size:12px
}

.global-search__results {
  overflow:auto;
  padding:3px 18px 18px
}

.global-search__result {
  display:grid;
  grid-template-columns:70px 1fr auto;
  gap:12px;
  align-items:center;
  padding:13px;
  border-radius:15px
}

.global-search__result:hover {
  background:rgba(163,42,41,.08)
}

.global-search__result strong {
  display:block
}

.global-search__result small {
  display:block;
  color:var(--muted);
  font-size:11px
}

.global-search__type {
  font-size:9px;
  font-weight:950;
  color:var(--brand)
}

.global-search__empty {
  padding:28px;
  text-align:center;
  color:var(--muted)
}

.global-search__panel>footer {
  display:flex;
  justify-content:space-between;
  padding:12px 24px;
  border-top:1px solid var(--line);
  font-size:11px;
  color:var(--muted)
}

.mosad-hero {
  background-image:linear-gradient(90deg,rgba(12,11,13,.88),rgba(117,28,29,.54)),url('../images/world-map-decision-ejecutiva.jpg')
}

.mosad-intro-grid {
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:42px;
  align-items:center
}

.mosad-logo-panel {
  min-height:390px;
  display:grid;
  place-items:center;
  padding:44px;
  border-radius:28px
}

.mosad-logo-panel img {
  width:min(330px,90%)
}

.mosad-principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:34px
}

.mosad-principle,.mosad-service-card,.mosad-cert-card {
  padding:26px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff
}

.mosad-principle>span {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:var(--brand);
  color:white;
  font-weight:900
}

.mosad-programs {
  display:grid;
  gap:12px
}

.mosad-program {
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  overflow:hidden
}

.mosad-program summary {
  display:grid;
  grid-template-columns:52px 1fr auto;
  align-items:center;
  gap:14px;
  padding:18px 20px;
  cursor:pointer;
  list-style:none
}

.mosad-program summary>span {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:12px;
  background:var(--brand-soft);
  color:var(--brand);
  font-weight:900
}

.mosad-program summary h3 {
  margin:0
}

.mosad-program__body {
  padding:0 28px 26px 86px;
  border-top:1px solid var(--line)
}

.mosad-program__list {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px 18px;
  padding-left:18px
}

.mosad-cert-grid,.mosad-services-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px
}

.mosad-catalog-section {
  background:#f0eeec
}

.mosad-catalog-search {
  display:flex;
  align-items:center;
  gap:10px;
  max-width:700px;
  margin-bottom:24px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff
}

.mosad-catalog-search input {
  width:100%;
  height:56px;
  border:0;
  outline:0;
  background:transparent
}

.mosad-macro-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px
}

.mosad-macro-card {
  min-height:175px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-rows:auto 1fr auto;
  gap:12px;
  padding:22px;
  text-align:left;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  cursor:pointer
}

.mosad-macro-card strong {
  grid-column:1/-1;
  align-self:end;
  font-size:19px;
  line-height:1.15
}

.mosad-macro-card span,.mosad-macro-card i {
  color:var(--brand);
  font-weight:900
}

.mosad-macro-card small {
  color:var(--muted)
}

.mosad-catalog-panel {
  margin-top:24px;
  padding:26px;
  border-radius:24px;
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow);
  scroll-margin-top:105px
}

.mosad-panel-head {
  display:flex;
  justify-content:space-between
}

.mosad-panel-head h3 {
  font-size:28px
}

.mosad-panel-close {
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  font-size:24px
}

.mosad-subcategory {
  margin-bottom:9px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  overflow:hidden
}

.mosad-subcategory summary {
  display:flex;
  justify-content:space-between;
  padding:13px 15px;
  font-weight:850;
  cursor:pointer
}

.mosad-subcategory>div,.mosad-search-results {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
  padding:0 12px 13px
}

.mosad-course {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 11px;
  border-radius:10px;
  background:#f8f6f5
}

.mosad-course strong {
  font-size:12px
}

.mosad-course span {
  color:var(--brand);
  font-size:11px;
  font-weight:900
}

.facility-pending-grid {
  margin-top:16px
}

.facility-feature--pending h3 {
  margin:0 0 5px
}

.facility-feature--pending p {
  margin:0;
  color:var(--muted)
}

@media(max-width:1250px) {
  .main-nav>a,.nav-parent,.language-switch {
    padding-inline:7px;
    font-size:11px
  }

  .global-search-trigger span {
    display:none
  }

}

@media(max-width:980px) {
  .training-preview-subnav {
    position:static!important;
    width:auto!important;
    transform:none!important
  }

  .training-preview-grid,.mosad-intro-grid,.mosad-principles,.mosad-macro-grid,.mosad-cert-grid,.mosad-services-grid {
    grid-template-columns:1fr
  }

  .mosad-program__list,.mosad-subcategory>div,.mosad-search-results {
    grid-template-columns:1fr
  }

  .mosad-program__body {
    padding-left:24px
  }

  .nav-mosad,.global-search-trigger {
    width:100%;
    justify-content:flex-start
  }

}

.training-subnav {
  width: 330px;
  padding: 10px;
  overflow: visible;
}

.training-menu-language {
  display: grid;
  gap: 3px;
}

.training-menu-item {
  position: relative;
}

.training-menu-main, .training-menu-mosad {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 9px 12px !important;
  border-radius: 11px;
  font-size: 12.5px !important;
  font-weight: 800;
}

.training-menu-chevron {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
  transition: transform .22s ease;
}

.training-menu-item:hover > .training-menu-main, .training-menu-item:focus-within > .training-menu-main {
  background: var(--brand-soft);
  color: var(--brand);
}

.training-menu-item:hover .training-menu-chevron, .training-menu-item:focus-within .training-menu-chevron {
  transform: translateX(3px);
}

.training-flyout {
  position: absolute;
  z-index: 12;
  top: -8px;
  left: calc(100% + 10px);
  width: min(355px, calc(100vw - 390px));
  padding: 12px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 18px;
  background: rgba(250,248,248,.78);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  box-shadow: 0 22px 60px rgba(28,19,23,.18), inset 0 1px 0 rgba(255,255,255,.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px) scale(.985);
  transform-origin: left top;
  transition: opacity .2s ease, transform .24s cubic-bezier(.16,.8,.22,1), visibility .2s;
}

.training-menu-item:hover > .training-flyout, .training-menu-item:focus-within > .training-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.training-flyout::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 20px;
  width: 20px;
  height: 20px;
  border-left: 1px solid rgba(255,255,255,.74);
  border-bottom: 1px solid rgba(255,255,255,.74);
  background: rgba(250,248,248,.78);
  transform: rotate(45deg);
  backdrop-filter: blur(20px);
}

.training-flyout-label {
  position: relative;
  display: block;
  padding: 3px 10px 8px;
  color: var(--brand);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.training-flyout a {
  position: relative;
  padding: 8px 10px !important;
  font-size: 11.5px !important;
  line-height: 1.35;
}

.training-menu-separator {
  height: 1px;
  margin: 6px 8px;
  background: var(--line);
}

.training-menu-mosad {
  color: var(--brand) !important;
}

.country-scroll-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 48px;
  align-items: center;
  gap: 10px;
  margin-top: 54px;
}

.country-scroller {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  margin-top: 0;
  overflow-x: auto;
  padding: 5px 2px 8px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
}

.country-scroller::-webkit-scrollbar {
  display: none;
}

.country-chip {
  flex: 0 0 auto;
}

.country-scroll-arrow {
  position: relative;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 30px rgba(0,0,0,.18);
  transition: transform .22s ease, background .22s ease, opacity .22s ease;
}

.country-scroll-arrow:hover, .country-scroll-arrow:focus-visible {
  transform: scale(1.07);
  background: rgba(163,42,41,.72);
}

.country-scroll-arrow:disabled {
  opacity: .24;
  cursor: default;
  transform: none;
}

.country-scroll-shell::before, .country-scroll-shell::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 46px;
  pointer-events: none;
}

.country-scroll-shell::before {
  left: 58px;
  background: linear-gradient(90deg,#131114,transparent);
}

.country-scroll-shell::after {
  right: 58px;
  background: linear-gradient(-90deg,#131114,transparent);
}

.global-search-trigger {
  position: fixed;
  z-index: 940;
  right: 26px;
  top: 112px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.24), transparent 30%),
    linear-gradient(145deg, rgba(101,18,27,.88), rgba(126,24,33,.72) 48%, rgba(69,10,18,.84));
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(26px) saturate(190%);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  box-shadow:
    0 18px 46px rgba(53,7,13,.34),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -1px 0 rgba(255,255,255,.08);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.global-search-trigger:hover, .global-search-trigger:focus-visible {
  transform: translateY(-2px) scale(1.04);
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.34), transparent 31%),
    linear-gradient(145deg, rgba(122,24,35,.92), rgba(155,38,45,.76) 48%, rgba(82,11,21,.88));
  box-shadow:
    0 22px 58px rgba(53,7,13,.42),
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -1px 0 rgba(255,255,255,.1);
}

.global-search-trigger::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255,255,255,.22), transparent 30% 66%, rgba(255,255,255,.08)),
    radial-gradient(circle at 30% 12%, rgba(255,255,255,.22), transparent 31%);
  pointer-events: none;
}

.global-search-trigger::after {
  content: "";
  position: absolute;
  width: 68%;
  height: 36%;
  top: 5%;
  left: 12%;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  filter: blur(7px);
  transform: rotate(-10deg);
  pointer-events: none;
}

.global-search-trigger svg {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.global-search-trigger span {
  position: relative;
  z-index: 1;
  display: none;
}

.global-search[hidden] {
  display: none;
}

.global-search {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: start center;
  padding: max(7vh,72px) 20px 24px;
  perspective: 1000px;
}

.global-search__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 15%,rgba(163,42,41,.18),transparent 38%), rgba(13,10,12,.34);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  animation: deSearchBackdrop .28s ease both;
}

.global-search__panel {
  position: relative;
  isolation: isolate;
  width: min(860px,100%);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 32px;
  background: linear-gradient(145deg,rgba(255,255,255,.34),rgba(236,226,228,.14));
  backdrop-filter: blur(42px) saturate(190%);
  -webkit-backdrop-filter: blur(42px) saturate(190%);
  box-shadow: 0 36px 110px rgba(11,8,10,.38), inset 0 1px 0 rgba(255,255,255,.82), inset 0 -1px 0 rgba(255,255,255,.14);
  animation: deSearchPanel .34s cubic-bezier(.16,.8,.22,1) both;
}

.global-search__panel::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-45% 30% 55% -20%;
  background: radial-gradient(circle,rgba(255,255,255,.64),transparent 62%);
  filter: blur(9px);
  opacity:.65;
  pointer-events:none;
}

.global-search__panel::after {
  content:"";
  position:absolute;
  z-index:-1;
  right:-18%;
  bottom:-45%;
  width:60%;
  aspect-ratio:1;
  border-radius:50%;
  background:rgba(163,42,41,.18);
  filter:blur(55px);
  pointer-events:none;
}

.global-search__panel > header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:25px 27px 13px;
}

.global-search__panel h2 {
  margin:0;
  color:#211b1e;
  font-size:29px;
}

.global-search__panel header button {
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.5);
  border-radius:50%;
  background:rgba(255,255,255,.25);
  color:#31282d;
  font-size:24px;
  cursor:pointer;
  backdrop-filter:blur(16px);
}

.global-search__input {
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 22px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:19px;
  background:rgba(255,255,255,.24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72), 0 10px 28px rgba(45,31,36,.08);
  backdrop-filter:blur(20px) saturate(165%);
}

.global-search__input svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:var(--brand);
  stroke-width:1.8;
}

.global-search__input input {
  height:62px;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#211b1e;
  font:inherit;
  font-size:18px;
}

.global-search__input input::placeholder {
  color:rgba(47,39,43,.55);
}

.global-search__hint {
  margin:10px 29px;
  color:rgba(54,44,49,.68);
  font-size:12px;
}

.global-search__results {
  overflow:auto;
  padding:3px 18px 18px;
}

.global-search__result {
  display:grid;
  grid-template-columns:70px 1fr auto;
  gap:12px;
  align-items:center;
  padding:13px;
  border:1px solid transparent;
  border-radius:16px;
  transition:.18s ease;
}

.global-search__result:hover {
  border-color:rgba(255,255,255,.48);
  background:rgba(255,255,255,.23);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
  transform:translateX(3px);
}

.global-search__result strong {
  display:block;
  color:#211b1e;
}

.global-search__result small {
  display:block;
  color:rgba(54,44,49,.66);
  font-size:11px;
}

.global-search__type {
  font-size:9px;
  font-weight:950;
  color:var(--brand);
}

.global-search__empty {
  padding:30px;
  text-align:center;
  color:rgba(54,44,49,.65);
}

.global-search__panel > footer {
  display:flex;
  justify-content:space-between;
  padding:12px 24px;
  border-top:1px solid rgba(255,255,255,.34);
  color:rgba(54,44,49,.62);
  font-size:11px;
}

body.search-open {
  overflow:hidden;
}

.mosad-catalog-search {
  border:1px solid rgba(255,255,255,.58);
  background:rgba(255,255,255,.28);
  backdrop-filter:blur(24px) saturate(175%);
  -webkit-backdrop-filter:blur(24px) saturate(175%);
  box-shadow:0 15px 38px rgba(36,26,30,.09), inset 0 1px 0 rgba(255,255,255,.75);
}

/* ============================================================
   TRANSICIÓN ENTRE PÁGINAS
   LOGO GDE CRECE DESDE EL CENTRO
   ============================================================ */

html.de-transition-pending::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: #f7f6f4;
}


/* Pantalla de transición */
.de-page-transition {
  position: fixed;
  inset: 0;
  z-index: 2147483647;

  display: grid;
  place-items: center;

  background: #f7f6f4;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .16s ease,
    visibility .16s ease;
}


/* Mostrar transición */
.de-page-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* Contenedor invisible: NO liquid glass */
.de-page-transition__glass {
  width: min(430px, 68vw);
  display: grid;
  place-items: center;

  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  overflow: visible;
}


/* Quitar cualquier resto de glass / aro */
.de-page-transition__glass::before,
.de-page-transition__glass::after,
.de-page-transition__ring {
  display: none !important;
  content: none !important;
}


/* Logo GDE */
.de-page-transition__logo {
  display: block;
  width: 100%;
  height: auto;

  opacity: 0;

  transform: scale(.08);
  transform-origin: center;

  transition:
    transform .54s cubic-bezier(.16, 1, .3, 1),
    opacity .10s ease;

  filter: none;
}


/* CRECE DESDE EL CENTRO */
.de-page-transition.is-active .de-page-transition__logo {
  opacity: 1;
  transform: scale(1.28);
}


/* Entrada de la siguiente página */
.de-page-transition.is-arrival .de-page-transition__logo {
  opacity: 1;
  transform: scale(1.28);
}


/* Sigue expandiéndose y desaparece */
.de-page-transition.is-arrival.is-exiting {
  opacity: 0;
  visibility: visible;
}

.de-page-transition.is-arrival.is-exiting .de-page-transition__logo {
  opacity: 0;
  transform: scale(1.75);

  transition:
    transform .48s cubic-bezier(.16, 1, .3, 1),
    opacity .32s ease;
}

/* ============================================================
   PROTECCIÓN BÁSICA DE IMÁGENES
   Evita arrastre y selección accidental
   ============================================================ */

img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

@keyframes deSearchBackdrop {
  from {
    opacity:0
  }

  to {
    opacity:1
  }

}

@keyframes deSearchPanel {
  from {
    opacity:0;
    transform:translateY(-18px) scale(.965) rotateX(4deg)
  }

  to {
    opacity:1;
    transform:none
  }

}

@media (max-width:980px) {
  .training-subnav {
    width:100%;
  }

  .training-flyout {
    display:none !important;
  }

  .training-menu-chevron {
    display:none;
  }

  .global-search-trigger {
    top:auto;
    right:16px;
    bottom:84px;
    width:50px;
    height:50px;
    display: grid;
    place-items: center;
    color:#fff;
    background:
      radial-gradient(circle at 28% 18%, rgba(255,255,255,.24), transparent 30%),
      linear-gradient(145deg, rgba(101,18,27,.9), rgba(126,24,33,.76) 48%, rgba(69,10,18,.86));
  }

  .country-scroll-shell {
    grid-template-columns:42px minmax(0,1fr) 42px;
    gap:6px;
  }

  .country-scroll-arrow {
    width:40px;
    height:40px;
  }

  .country-scroll-shell::before {
    left:48px;
    width:28px;
  }

  .country-scroll-shell::after {
    right:48px;
    width:28px;
  }

}

@media (max-width:680px) {
  .country-scroll-shell {
    width:calc(100% - 10px);
  }

  .global-search {
    padding:70px 10px 14px;
  }

  .global-search__panel {
    border-radius:25px;
    max-height:88vh;
  }

  .global-search__panel h2 {
    font-size:24px;
  }

  .global-search__result {
    grid-template-columns:58px 1fr auto;
  }

}

@media (min-width: 981px) {
  .global-search-trigger {
    top: 154px;
    right: 28px;
    width: 56px;
    height: 56px;
    padding: 0 16px;
    display: inline-flex;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width .55s cubic-bezier(.16,.8,.22,1), transform .3s ease, background .3s ease, box-shadow .3s ease, gap .55s cubic-bezier(.16,.8,.22,1);
  }

  .global-search-trigger span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 850;
    transform: translateX(-5px);
    transition: max-width .55s cubic-bezier(.16,.8,.22,1), opacity .28s ease .08s, transform .45s ease;
  }

  .global-search-trigger:hover, .global-search-trigger:focus-visible {
    width: 126px;
    gap: 9px;
    transform: translateY(-2px);
    border-radius: 999px;
  }

  .global-search-trigger:hover span, .global-search-trigger:focus-visible span {
    max-width: 64px;
    opacity: 1;
    transform: none;
  }

}

.country-scroll-shell {
  grid-template-columns: 56px minmax(0,1fr) 56px;
  gap: 12px;
  align-items: center;
}

.country-scroller {
  min-height: 56px;
  padding: 0 2px;
  align-items: center;
}

.country-scroll-arrow {
  justify-self: center;
  align-self: center;
  margin: 0;
  transform: translateY(0);
}

.country-scroll-arrow:hover, .country-scroll-arrow:focus-visible {
  transform: scale(1.07);
}

.country-scroll-shell::before {
  left: 68px;
}

.country-scroll-shell::after {
  right: 68px;
}

@media (max-width: 980px) {
  .country-scroll-shell {
    grid-template-columns: 44px minmax(0,1fr) 44px;
    gap: 8px;
  }

  .country-scroll-shell::before {
    left: 52px;
  }

  .country-scroll-shell::after {
    right: 52px;
  }

}

.mosad-cert-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: -2px 0 22px;
  overflow: hidden;
  border-radius: 20px;
  background: #171416;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.mosad-cert-media video,
.mosad-cert-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosad-cert-media--contained {
  background: #f3f1ef;
}

.mosad-cert-media--contained img {
  object-fit: cover;
  padding: 0;
}


.training-spotlight-card > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1) contrast(1) brightness(1);
  transition: transform .65s ease, filter .35s ease;
}

.training-spotlight-card:hover > video,
.training-spotlight-card:focus-visible > video,
.training-spotlight-card.is-active > video {
  transform: scale(1.055);
  filter: saturate(.88) contrast(1.04) brightness(.82);
}


.training-spotlight-card:not(:has(> img)):not(:has(> video)) {
  background:
    radial-gradient(circle at 74% 20%, rgba(163, 42, 41, .32), transparent 34%),
    linear-gradient(145deg, #211d20, #111012 72%);
}

.training-spotlight-card:not(:has(> img)):not(:has(> video))::before {
  content: 'FOTO PENDIENTE';
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.brand {
  position: relative;
  align-self: center;
}

.brand img {
  clip-path: inset(0 0 11% 0);
}

.brand::after {
  content: 'One Partner, Multiple Solutions.';
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 100%;
  color: #a32a29;
  font-size: 7px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .015em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 1180px) {
  .brand::after {
    font-size: 6.5px;
  }
}

@media (max-width: 980px) {
  .brand::after {
    font-size: 6px;
  }
}

body[data-title-es^="MOSAD"] .brand img {
  clip-path: none;
}

body[data-title-es^="MOSAD"] .brand::after {
  content: none;
}

.facility-media-grid {
  margin-top: 16px;
}

.facility-feature--media {
  padding: 0;
  overflow: hidden;
}

.facility-feature__photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 22%, rgba(163, 42, 41, .26), transparent 34%),
    linear-gradient(145deg, #292426, #151315 72%);
}

.facility-feature__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-feature__caption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 20px;
}

.facility-feature__caption .facility-feature__number {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 14px;
}

.facility-feature__caption h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}

.facility-feature--photo-pending .facility-feature__photo::after {
  content: 'FOTO PENDIENTE';
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

html[lang="en"] .facility-feature--photo-pending .facility-feature__photo::after {
  content: 'PHOTO PENDING';
}

.coverage-stage[data-country="EC"] .country-media {
  object-position: center 22%;
}

.mosad-course--link {
  color: inherit;
  text-decoration: none;
}

.mosad-course--link:hover,
.mosad-course--link:focus-visible {
  border-color: rgba(163, 42, 41, .28);
  box-shadow: 0 14px 34px rgba(35, 31, 32, .08);
}

/* QUIÉNES SOMOS — 20 capacidades, 10 + 10 */
.who-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(10, auto);
  grid-auto-flow: column;
  gap: 12px 28px;
}

.who-grid li {
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 14px;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .who-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/* Últimas 2 tarjetas de Quiénes Somos a ancho completo */
.preserved-list li:nth-last-child(-n+2),
.who-grid li:nth-last-child(-n+2) {
  grid-column: 1 / -1;
}

/* Números de apartados sin contenedores */
.service-detail__number,
.training-detail__number,
.facility-feature__number,
.training-spotlight-card__number,
.service-vault-card__number,
.service-vault-card.is-active .service-vault-card__number {
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.service-detail__number,
.training-detail__number,
.facility-feature__number {
  color: var(--brand);
}

.training-spotlight-card__number,
.service-vault-card__number,
.service-vault-card.is-active .service-vault-card__number {
  color: #fff;
}

.facility-feature__caption .facility-feature__number {
  width: auto;
  height: auto;
  min-width: 0;
}

.training-spotlight-card__number,
.service-vault-card__number {
  width: auto;
}

/* ============================================================
   Identidades visuales
   ============================================================ */
.brand img {
  width: 176px;
  height: auto;
  clip-path: none;
}

.brand::after {
  content: none;
}

body[data-title-es^="MOSAD"] .brand img {
  width: 104px;
  max-height: 64px;
  object-fit: contain;
}

/* ============================================================
   Headers principales y navegación
   ============================================================ */
.site-header {
  padding: 0;
  transition: padding .38s cubic-bezier(.16, 1, .3, 1);
}

.nav-shell {
  width: 100%;
  max-width: none;
  min-height: 96px;
  margin: 0;
  padding: 10px 20px;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  transition:
    width .38s cubic-bezier(.16, 1, .3, 1),
    min-height .38s cubic-bezier(.16, 1, .3, 1),
    margin .38s cubic-bezier(.16, 1, .3, 1),
    padding .38s cubic-bezier(.16, 1, .3, 1),
    border-radius .38s cubic-bezier(.16, 1, .3, 1),
    box-shadow .38s ease;
}

body.header-scrolled .site-header {
  padding: 18px 20px;
}

body.header-scrolled .nav-shell {
  width: min(1370px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 22px;
}

.training-menu-mosad-label {
  margin: 8px 0 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #231f20;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.training-menu-mosad {
  font-weight: 800;
}

/* ============================================================
   Buscadores globales
   ============================================================ */
.global-search-trigger {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

.global-search-trigger::before,
.global-search-trigger::after {
  content: none;
}

.global-search-trigger:hover,
.global-search-trigger:focus-visible {
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

/* LUPA — fondo claro */
.global-search-trigger {
  color: var(--brand);
  border-color: rgba(163, 42, 41, .34);
}

/* LUPA — fondo oscuro */
.global-search-trigger.is-on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, .46);
}

/* QUIÉNES SOMOS + LINEAMIENTOS */
.who-grid,
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.who-grid li,
.ethics-grid li {
  position: relative;
  min-height: 68px;
  padding: 14px 18px 14px 56px;
  border: 1px solid #ddd7d4;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  display: flex;
  align-items: center;
}

.who-grid li::before,
.ethics-grid li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(163,42,41,.10);
}

@media (max-width: 680px) {
  .who-grid,
  .ethics-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .global-search-trigger {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    transition:
      width .48s cubic-bezier(.16, 1, .3, 1),
      transform .28s ease,
      background .28s ease,
      box-shadow .28s ease,
      gap .48s cubic-bezier(.16, 1, .3, 1);
  }

  .global-search-trigger:hover,
  .global-search-trigger:focus-visible {
    width: 126px;
    border-radius: 999px;
  }
}

/* ============================================================
   Carruseles principales de Inicio
   ============================================================ */
.hero {
  background: #0c0c0f;
}

.hero-message h1 {
  text-transform: none;
}

.trust-strip {
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip > div:last-child {
  border-right: 0;
}

/* ============================================================
   Títulos internos y fondos de secciones
   ============================================================ */
.inner-hero,
.service-hero,
.training-hero,
.facilities-hero,
.team-hero {
  min-height: 0;
  background: #111012;
}

.inner-hero::after {
  display: none;
  content: none;
}

.inner-hero .container {
  padding-top: 122px;
  padding-bottom: 18px;
}

.inner-hero h1,
.training-hero h1,
.facilities-hero h1,
.team-hero h1,
.service-hero h1 {
  max-width: 1080px;
  margin-top: 5px;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.inner-hero p:not(.mosad-byline) {
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

.breadcrumbs {
  font-size: 10px;
  letter-spacing: .10em;
}

.mosad-byline {
  margin: 7px 0 2px;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ============================================================
   Galerías fotográficas estáticas
   ============================================================ */
.page-photo-strip {
  padding: 16px 0 34px;
}

.page-photo-strip__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-photo-strip figure,
.page-photo-strip figure:first-child {
  min-height: 270px;
  height: 270px;
  grid-row: auto;
}

.page-photo-strip figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-media-grid {
  gap: 16px;
}

.facility-feature__photo {
  aspect-ratio: 4 / 3;
}

/* ============================================================
   Tarjetas de Equipos de Profesionales
   ============================================================ */
.team-photo img {
  filter: saturate(.75) brightness(.78);
}

.team-card__index {
  letter-spacing: .08em;
}

/* ============================================================
   Tarjetas de Servicios de Seguridad Ejecutiva y Corporativa
   ============================================================ */
.service-vault__shell::before {
  display: none;
  content: none;
}

.service-vault__headline-line {
  display: block;
}

.service-vault__headline-line + .service-vault__headline-line {
  margin-top: 4px;
}

.service-vault-card,
.service-vault-card.is-active {
  background:
    linear-gradient(
      135deg,
      rgba(145, 35, 35, .98) 0%,
      rgba(125, 28, 29, .97) 55%,
      rgba(105, 22, 24, .98) 100%
    );
  border-color: rgba(255, 255, 255, .22);
}

.service-vault-card__media {
  opacity: .20;
  filter: grayscale(.15) saturate(.75) brightness(.70);
}

.service-vault-card::before {
  background:
    linear-gradient(180deg, rgba(116, 28, 29, .05), rgba(116, 28, 29, .48)),
    linear-gradient(135deg, rgba(163, 42, 41, .20), rgba(255, 255, 255, .04));
}

.service-vault-card__content small,
.service-vault-card__content strong,
.service-vault-card__excerpt,
.service-vault-card__content em,
.service-vault-card__number,
.service-vault-card.is-active .service-vault-card__number {
  color: #fff;
}

.service-vault-card__excerpt {
  color: rgba(255, 255, 255, .86);
}

/* ============================================================
   Encuadres de fotografías
   ============================================================ */
.training-spotlight-card img[src$="defensa-personal-02.webp"] {
  object-position: center 45%;
}

.training-spotlight-card img[src$="defensa-personal-03.webp"] {
  object-position: center 60%;
}

.coverage-stage[data-country="EC"] .country-media {
  object-position: center 35%;
}

.training-spotlight-card img[src$="analisis-estrategico-seguridad-01.webp"] {
  object-position: center 60%;
}

.country-flag,
.flag-aura {
  display: none !important;
}

/* ============================================================
   Noticias y anuncios
   ============================================================ */
.news-lead-slot {
  min-height: 14px;
  margin: 0;
}

.news-card[data-external-link] {
  cursor: pointer;
}

.news-card__gallery {
  position: relative;
  overflow: hidden;
}

/* ============================================================
   NOTICIAS — GALERÍA CON ALTURA SEGÚN LA FOTO
   ============================================================ */

.news-card__gallery-track {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: #fff;
}

.news-card__gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
}

.news-card__gallery-slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

.news-card__gallery-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
}

/* NOTICIAS — FLECHAS CENTRADAS EN LA FOTO */
.news-card__gallery-controls {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 14px;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
/* ============================================================
   NOTICIAS Y ANUNCIOS
   Galería limpia · imagen proporcional · controles centrados
   ============================================================ */

.news-lead-slot {
  min-height: 14px;
  margin: 0;
}

.news-card[data-external-link] {
  cursor: pointer;
}


/* ============================================================
   GALERÍA
   ============================================================ */

.news-card__gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.news-card__gallery-track {
  position: relative;
  width: 100%;
  background: #fff;
}


/* Fotografías inactivas */
.news-card__gallery-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  padding: 0;
  border: 0;

  background: transparent;

  opacity: 0;
  pointer-events: none;
  cursor: zoom-in;

  transition: opacity .32s ease;
}


/* Fotografía activa:
   esta fotografía determina automáticamente
   la altura de la galería */
.news-card__gallery-slide.is-active {
  position: relative;
  inset: auto;

  opacity: 1;
  pointer-events: auto;
}


/* Fotografía completa, sin recorte */
.news-card__gallery-slide img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
  object-position: center;
}


/* ============================================================
   CONTROLES
   Flechas exactamente a media altura de la fotografía
   ============================================================ */

.news-card__gallery-controls {
  position: absolute;
  z-index: 3;

  inset: 0 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  pointer-events: none;
}


/* Flechas */
.news-card__gallery-arrow {
  position: static;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;

  background: rgba(15,12,14,.45);
  color: #fff;

  cursor: pointer;
  pointer-events: auto;

  backdrop-filter: blur(12px);
}


/* ============================================================
   PUNTOS
   Siempre abajo y centrados sobre la fotografía
   ============================================================ */

.news-card__gallery-dots {
  position: absolute;

  left: 50%;
  bottom: 14px;

  transform: translateX(-50%);

  display: flex;
  gap: 6px;

  padding: 7px 9px;

  border-radius: 999px;

  background: rgba(15,12,14,.38);

  pointer-events: auto;
  backdrop-filter: blur(12px);
}


.news-card__gallery-dot {
  width: 6px;
  height: 6px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,.48);

  cursor: pointer;
}


.news-card__gallery-dot.is-active {
  background: #fff;
}


/* ============================================================
   ENLACE DE NOTICIA
   ============================================================ */

.news-card__cta {
  display: inline-flex;
  align-items: center;

  gap: 7px;
  margin-top: 18px;

  color: var(--brand);
  font-weight: 850;
}

/* ==================================================
   MAPA DE CONTACTO
   ================================================== */

.contact-map {
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
}

/* ============================================================
   Derechos de autor
   ============================================================ */
.footer {
  padding: 0;
  background: #111012;
}

.footer .copyright {
  margin-top: 0;
  padding: 17px 0 19px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .60);
  font-size: 11px;
}

@media (max-width: 980px) {
  .nav-shell,
  body.header-scrolled .nav-shell {
    min-height: 76px;
  }

  .brand img {
    width: 145px;
  }

  .inner-hero .container {
    padding-top: 100px;
    padding-bottom: 16px;
  }

  .page-photo-strip__grid {
    grid-template-columns: 1fr;
  }

  .page-photo-strip figure,
  .page-photo-strip figure:first-child {
    height: 260px;
    min-height: 260px;
  }
}

/* ============================================================
   Separaciones de galerías de Capacitaciones
   ============================================================ */
.training-spotlight {
  padding-top: 16px;
}

/* 05 Capacidades 01 Estrategia */
.service-vault__headline-line {
  display: inline;
}

.service-vault__headline-line:first-child {
  color: var(--brand);
}

.service-vault__headline-line + .service-vault__headline-line {
  margin-top: 0;
  margin-left: 18px;
  color: #211e21;
}


/* Números grandes 01–05 de Servicios */
.service-detail {
  grid-template-columns: 105px minmax(0, 1fr);
}

.service-detail__number {
  display: block;
  width: auto;
  height: auto;
  color: #211e21;
  background: transparent;
  font-size: 68px;
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.06em;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  align-self: start;
  margin-top: 0;
}

/* ============================================================
   ALINEACIÓN NÚMEROS 01–05 DE SERVICIOS
   01, 02, 04 y 05 = títulos de 2 líneas
   03 = título de 1 línea
   ============================================================ */

@media (min-width: 761px) {

  /* Títulos de DOS líneas: número centrado entre ambas */
  .service-detail:nth-child(1 of .service-detail) .service-detail__number,
  .service-detail:nth-child(2 of .service-detail) .service-detail__number,
  .service-detail:nth-child(4 of .service-detail) .service-detail__number,
  .service-detail:nth-child(5 of .service-detail) .service-detail__number {
    margin-top: 24px;
  }

  /* Título de UNA línea: número alineado con el texto */
  .service-detail:nth-child(3 of .service-detail) .service-detail__number {
    margin-top: 0;
  }

}

@media (max-width: 760px) {
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__number {
    font-size: 52px;
  }
}

/* ============================================================
   SERVICIOS — ÚLTIMO PUESTO A ANCHO COMPLETO
   ============================================================ */

.service-list--security-roles li:last-child {
  grid-column: 1 / -1;
}

/* ============================================================
   INSTALACIONES — TARJETA HORIZONTAL (07 POLIDEPORTIVO)
   ============================================================ */

.facility-feature--wide {
  grid-column: 1 / -1;
}

.facility-feature--wide .facility-feature__photo {
  aspect-ratio: 16 / 5;
}

/* ==================================================
   COLORES INDIVIDUALES - EQUIPO
   ================================================== */

/* Tarjeta OS - Ohad Steinhart */
.team-modal-card#perfil-1 .team-flip-card__back,
.team-modal-card#perfil-en-1 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta VG - Viviana Girón */
.team-modal-card#perfil-2 .team-flip-card__back,
.team-modal-card#perfil-en-2 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta VC - Victor Corzo */
.team-modal-card#perfil-3 .team-flip-card__back,
.team-modal-card#perfil-en-3 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta BO - Bayron Ortiz */
.team-modal-card#perfil-4 .team-flip-card__back,
.team-modal-card#perfil-en-4 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta FT - Fabián Tejada */
.team-modal-card#perfil-5 .team-flip-card__back,
.team-modal-card#perfil-en-5 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta FF - Luis Morales */
.team-modal-card#perfil-6 .team-flip-card__back,
.team-modal-card#perfil-en-6 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta MS - Meir Steinhart */
.team-modal-card#perfil-7 .team-flip-card__back,
.team-modal-card#perfil-en-7 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta BG - Benoit Grenier */
.team-modal-card#perfil-8 .team-flip-card__back,
.team-modal-card#perfil-en-8 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta JC - Julio Colón */
.team-modal-card#perfil-9 .team-flip-card__back,
.team-modal-card#perfil-en-9 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta DM - David Martínez */
.team-modal-card#perfil-10 .team-flip-card__back,
.team-modal-card#perfil-en-10 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* Tarjeta FF - Francisco Flores */
.team-modal-card#perfil-11 .team-flip-card__back,
.team-modal-card#perfil-en-11 .team-flip-card__back {
  background: rgba(60, 60, 60, 0.82);
}

/* ============================================================
   REPARACIÓN — HEADER + TÍTULOS + QUIÉNES SOMOS + LINEAMIENTOS
   ============================================================ */

/* ============================================================
   1) HEADER PRINCIPAL

   ARRIBA:
   Header full width, pegado a los bordes.

   AL HACER SCROLL:
   Header flotante, redondeado y con márgenes.
   ============================================================ */

/* ARRIBA DE LA PÁGINA */
.site-header {
  padding: 0;
}

.nav-shell {
  width: 100%;
  max-width: none;
  min-height: 96px;
  margin: 0;
  padding: 10px 20px;

  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;

  background: rgba(255,255,255,.90);

  transition:
    width .38s cubic-bezier(.16, 1, .3, 1),
    min-height .38s cubic-bezier(.16, 1, .3, 1),
    margin .38s cubic-bezier(.16, 1, .3, 1),
    padding .38s cubic-bezier(.16, 1, .3, 1),
    border-radius .38s cubic-bezier(.16, 1, .3, 1),
    box-shadow .38s ease;
}


/* CUANDO BAJAS EN LA PÁGINA */
body.header-scrolled .site-header {
  padding: 10px 28px;
}

body.header-scrolled .nav-shell {
  width: min(1580px, 100%);
  max-width: 1580px;
  min-height: 92px;
  margin: 0 auto;
  padding: 10px 14px 10px 22px;

  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;

  background: rgba(255,255,255,.90);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);

  box-shadow:
    0 16px 44px rgba(25,20,22,.13),
    inset 0 1px 0 rgba(255,255,255,.92);
}

/* ============================================================
   2) 05 CAPACIDADES 01 ESTRATEGIA — TODO NEGRO
   No toca los números 01–05 de las tarjetas.
   ============================================================ */
.service-vault__headline-line,
.service-vault__headline-line:first-child,
.service-vault__headline-line + .service-vault__headline-line {
  color: #211e21;
}

/* ============================================================
   3) QUIÉNES SOMOS — HERO
   Detecta la página por sus listas de contenido.
   ============================================================ */
body:has(.preserved-list) .inner-hero,
body:has(.who-grid) .inner-hero {
  min-height: 0;
  background: #111012;
}

body:has(.preserved-list) .inner-hero::after,
body:has(.who-grid) .inner-hero::after {
  display: none;
  content: none;
}

body:has(.preserved-list) .inner-hero .container,
body:has(.who-grid) .inner-hero .container {
  padding-top: 136px;
  padding-bottom: 38px;
}

body:has(.preserved-list) .inner-hero h1,
body:has(.who-grid) .inner-hero h1 {
  max-width: 980px;
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: -.04em;
}

body:has(.preserved-list) .inner-hero p:not(.mosad-byline),
body:has(.who-grid) .inner-hero p:not(.mosad-byline) {
  color: rgba(255,255,255,.62);
}

/* ============================================================
   4) QUIÉNES SOMOS + LINEAMIENTOS — PARRILLAS DE TARJETAS
   Recupera el diseño de dos columnas con punto corinto.
   ============================================================ */
.preserved-list,
.who-grid,
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 30px 0 50px;
  padding: 0;
  list-style: none;
}

.preserved-list li,
.who-grid li,
.ethics-grid li {
  position: relative;
  min-height: 94px;
  margin: 0;
  padding: 18px 22px 18px 70px;
  border: 1px solid #ddd7d4;
  border-radius: 16px;
  background: rgba(255,255,255,.84);
  color: #332f31;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 24px rgba(35,31,32,.035);
}

.preserved-list li::before,
.who-grid li::before,
.ethics-grid li::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 7px rgba(163,42,41,.10);
  transform: translateY(-50%);
}

/* ============================================================
   5) COLUMNA DERECHA — QUIÉNES SOMOS / LINEAMIENTOS / CONTACTO
   Esta definición faltaba en el CSS.
   ============================================================ */
.content-aside {
  position: sticky;
  top: 122px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

/* Si el HTML trae bloques internos, cada bloque se vuelve tarjeta. */
.content-aside:has(> section, > article, > div) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.content-aside > section,
.content-aside > article,
.content-aside > div {
  padding: 26px;
  border: 1px solid #ddd7d4;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 42px rgba(35,31,32,.07);
}

/* Si el HTML no trae bloques internos, el aside completo funciona como tarjeta. */
.content-aside:not(:has(> section, > article, > div)) {
  padding: 28px;
  border: 1px solid #ddd7d4;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 42px rgba(35,31,32,.07);
}

.content-aside h2,
.content-aside h3,
.content-aside h4 {
  margin: 0 0 12px;
  color: #211e21;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.content-aside p {
  margin: 0 0 16px;
  color: #554e52;
  font-size: 15px;
  line-height: 1.65;
}

.content-aside a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-weight: 850;
}

/* Separador cuando los dos apartados están dentro de una sola tarjeta. */
.content-aside:not(:has(> section, > article, > div)) h2:not(:first-child),
.content-aside:not(:has(> section, > article, > div)) h3:not(:first-child),
.content-aside:not(:has(> section, > article, > div)) h4:not(:first-child) {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e1dcda;
}

/* ============================================================
   6) QUIÉNES SOMOS — TARJETAS DE VALORES
   Estas clases estaban referenciadas en responsive pero sin base.
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
}

.value-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid #ddd7d4;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 44px rgba(35,31,32,.06);
}

.value-card h3 {
  margin: 0 0 12px;
  color: #211e21;
  font-size: 22px;
}

.value-card p {
  margin: 0;
}

/* ============================================================
   7) QUIÉNES SOMOS — FOTOS
   ============================================================ */
body:has(.preserved-list) .page-photo-strip,
body:has(.who-grid) .page-photo-strip {
  padding: 22px 0 48px;
}

body:has(.preserved-list) .page-photo-strip__grid,
body:has(.who-grid) .page-photo-strip__grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

body:has(.preserved-list) .page-photo-strip figure,
body:has(.preserved-list) .page-photo-strip figure:first-child,
body:has(.who-grid) .page-photo-strip figure,
body:has(.who-grid) .page-photo-strip figure:first-child {
  height: 320px;
  min-height: 320px;
  grid-row: auto;
  border-radius: 24px;
}

/* ============================================================
   8) RESPONSIVE — QUIÉNES SOMOS / LINEAMIENTOS
   ============================================================ */
@media (max-width: 980px) {
  .site-header,
  body.header-scrolled .site-header {
    padding: 10px 12px;
  }

  .nav-shell,
  body.header-scrolled .nav-shell {
    width: 100%;
    min-height: 76px;
    border-radius: 20px;
  }

  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .content-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  body:has(.preserved-list) .inner-hero .container,
  body:has(.who-grid) .inner-hero .container {
    padding-top: 118px;
    padding-bottom: 34px;
  }
}

@media (max-width: 680px) {
  .preserved-list,
  .who-grid,
  .ethics-grid,
  .value-grid,
  .content-aside {
    grid-template-columns: 1fr;
  }

  .preserved-list li,
  .who-grid li,
  .ethics-grid li {
    min-height: 82px;
    padding: 16px 18px 16px 60px;
  }

  .preserved-list li::before,
  .who-grid li::before,
  .ethics-grid li::before {
    left: 24px;
  }

  body:has(.preserved-list) .inner-hero .container,
  body:has(.who-grid) .inner-hero .container {
    padding-top: 108px;
    padding-bottom: 28px;
  }

  body:has(.preserved-list) .inner-hero h1,
  body:has(.who-grid) .inner-hero h1 {
    font-size: 38px;
  }

  body:has(.preserved-list) .page-photo-strip__grid,
  body:has(.who-grid) .page-photo-strip__grid {
    grid-template-columns: 1fr;
  }

  body:has(.preserved-list) .page-photo-strip figure,
  body:has(.preserved-list) .page-photo-strip figure:first-child,
  body:has(.who-grid) .page-photo-strip figure,
  body:has(.who-grid) .page-photo-strip figure:first-child {
    height: 250px;
    min-height: 250px;
  }
}
