/* ═══════════════════════════════════════════════════════════════
   ITP — Instituto Técnico del Petróleo, Minas e Industrias
   Manual de marca 2026 — paleta #123535 / #f4a322 / #fff
   Tipografías: Poppins (display) + Montserrat (cuerpo)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Paleta manual de marca 2026 */
  --bg:            #123535;   /* teal petróleo oscuro — color principal (40 %) */
  --bg-2:          #0f2d2d;   /* superficies elevadas */
  --bg-3:          #174040;   /* cards oscuras / hover */
  --navy:          #0e2828;   /* CTA sólido oscuro */
  /* Acentos — solo colores del Brandbook 2026 (#123535 / #f4a322) */
  --teal:          #f4a322;   /* acento institucional (antes cyan fuera de marca) */
  --teal-2:        #d48a1a;
  --orange:        #f4a322;   /* naranja ámbar — acento CTA (20 %) */
  --orange-2:      #d48a1a;
  /* Texto */
  --ink:           #141414;   /* texto sobre claro */
  --text:          #EAF1F3;   /* texto sobre oscuro */
  --muted:         #cccccc;   /* texto secundario sobre oscuro */
  --muted-ink:     #2d2d2d;   /* texto secundario sobre claro */
  --line:          rgba(255,255,255,0.12);
  --line-ink:      #E2E8EA;
  /* Secciones claras */
  --paper:         #ffffff;
  --paper-2:       #f8f8f8;
  /* Sistema */
  --header-h:      80px;
  --radius:        6px;
  --radius-sm:     4px;
  --maxw:          1500px;
  --shadow:        0 18px 50px rgba(0,0,0,.14);
  --shadow-sm:     0 6px 20px rgba(0,0,0,.08);
  --font:          'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display:  'Poppins', 'Montserrat', system-ui, sans-serif;
  --ease:          cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--paper); color: var(--ink);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
::selection { background: var(--teal); color: #04121a; }

.itp-container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.itp-section { padding: clamp(2.25rem, 5vw, 4rem) 0; }
.itp-section.section-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section-dark { background: var(--bg); color: var(--text); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-white { background: var(--paper-2); color: var(--ink); }

/* Encabezado de sección */
.sec-head { max-width: 720px; margin-bottom: 2.75rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: none !important; }
.eyebrow::before { display: none !important; }
.sec-head h2,
body.home .elementor-heading-title,
body.page-id-2077 .elementor-heading-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.15;
}
.sec-head p { color: var(--muted-ink); font-size: 1.05rem; margin: .9rem 0 0; }
.section-dark .sec-head p { color: var(--muted); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display);
  font-weight: 600; font-size: .95rem; padding: .85rem 1.5rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; transition: all .25s var(--ease); text-align: center; }
.btn-primary { background: var(--orange); color: #1a0e00; }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn-teal { background: var(--bg); color: #fff; }
.btn-teal:hover { background: var(--bg-3); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--bg); color: #fff; }
.btn-navy:hover { background: #1a4a4a; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18,53,53,.28); }
/* #151 Hover botón Elementor «Ver todo el catálogo» (home) */
.elementor-element-8ff0739 .elementor-button {
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.elementor-element-8ff0739 .elementor-button:hover {
  background-color: #1a4a4a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18,53,53,.28);
}
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline { background: transparent; border-color: var(--line-ink); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-wa { background: #25D366; color: #04120a; }
.btn-wa:hover { background: #1eb455; transform: translateY(-2px); }
.btn-wa.btn-wa--brand { background: var(--orange); color: #1a0e00; }
.btn-wa.btn-wa--brand:hover { background: var(--orange-2); color: #1a0e00; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* ═══ HEADER (transparente arriba; 80 % al scroll) ═══ */
.itp-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  background: transparent; backdrop-filter: none; border-bottom: 1px solid transparent; }
.itp-header.scrolled { background: rgba(18,53,53,.80); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.itp-header .itp-container { display: flex; align-items: center; gap: 1.4rem; width: 100%; }
.itp-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; flex: 0 0 auto; overflow: visible; max-width: min(280px, calc(100vw - 7.5rem)); }
.itp-logo-icon { height: 48px; width: 48px; object-fit: contain; }
.itp-logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: .04em; color: #fff; line-height: 1; }
.itp-logo-img { display: block; height: auto; width: auto; max-height: 68px; max-width: 100%; object-fit: contain; object-position: left center; }
.itp-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.itp-nav > a, .itp-nav .nav-item > a { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text);
  padding: .5rem 0; letter-spacing: .01em; transition: color .2s; }
.itp-nav > a::after, .itp-nav .nav-item > a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--orange); transition: width .25s var(--ease); }
.itp-nav > a:hover, .itp-nav .nav-item > a:hover, .itp-nav .nav-item.open > a { color: #fff; }
.itp-nav > a.active, .itp-nav .nav-item > a.active { color: var(--orange); }
.itp-nav > a.active .nav-caret, .itp-nav .nav-item > a.active .nav-caret { color: var(--orange); opacity: 1; }
.itp-nav > a:hover::after, .itp-nav > a.active::after,
.itp-nav .nav-item > a:hover::after, .itp-nav .nav-item.open > a::after, .itp-nav .nav-item > a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.btn-search { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.06);
  color: var(--text); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.btn-search:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.header-cta { background: var(--orange); color: var(--bg); font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  padding: .6rem 1.35rem; border-radius: 10px; transition: all .25s var(--ease);
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.header-cta .header-cta-label { color: var(--bg); }
.header-cta i { display: none; font-size: .95rem; color: var(--bg); }
.header-cta:hover { background: var(--orange-2); transform: translateY(-1px); color: var(--bg); }
.header-cta:hover .header-cta-label { color: var(--bg); }
.header-cta:hover i { color: var(--bg); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ═══ MEGA-MENÚ (estilo Maersk Training) ═══ */
.itp-nav .nav-item { position: relative; display: inline-flex; align-items: center; gap: .35rem; }
.itp-nav .nav-item > a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-caret { font-size: .6rem; transition: transform .25s var(--ease); opacity: .7; }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.mega { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 99;
  background: var(--bg); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; padding: 1.6rem clamp(1rem,4vw,2.5rem) 1.8rem; max-width: var(--maxw); margin: 0 auto; }
.mega-modalidades { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.mega-modalidades .mlabel { font-family: var(--font-display); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); align-self: center; margin-right: .3rem; }
.mega-modalidades a { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.05); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-display); font-weight: 500; font-size: .82rem; padding: .4rem .85rem; border-radius: var(--radius-sm); transition: all .2s; }
.mega-modalidades a:hover { border-color: var(--teal); color: var(--teal); background: rgba(244,163,34,.08); }
.mega-modalidades a i { color: var(--teal); }
.mega-cols { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1.1rem 1.4rem; }
.mega-col { display: flex; flex-direction: column; min-height: 100%; }
.mega-col h4 { font-family: var(--font-display); font-size: .82rem; margin-bottom: .55rem; padding-bottom: .4rem; border-bottom: 2px solid var(--teal); display: inline-block; }
.mega-col h4 a { color: #fff; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: block; color: var(--muted); font-size: .8rem; line-height: 1.28; padding: .3rem 0; transition: color .18s; }
.mega-col li a:hover { color: var(--teal); }
.mega-col .more { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .75rem; font-family: var(--font-display); font-size: .74rem; font-weight: 600; color: var(--orange); }
.mega-col .more:hover { gap: .6rem; }
.mega-feature { background: linear-gradient(150deg, var(--navy), var(--teal-2)); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; color: #fff; }
.mega-feature .fk { font-family: var(--font-display); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.mega-feature h3 { font-size: 1.2rem; margin: .35rem 0 .5rem; }
.mega-feature p { font-size: .82rem; color: rgba(255,255,255,.85); margin: 0; }
.mega-cta { width: 100%; justify-content: center; margin-top: auto; text-align: center; }
.mega-count { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.mega-count span { font-size: .82rem; font-weight: 500; opacity: .85; display: block; margin-top: .2rem; }
@media (max-width: 1140px) { .mega-cols { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Mobile menu — compact drawer under header (no empty vertical gaps) */
.mobile-menu { position: fixed; inset: 0; z-index: 10050; background: rgba(18,53,53,.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .3s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; right: 0; top: var(--header-h);
  height: auto; max-height: calc(100% - var(--header-h));
  width: min(320px, 90vw);
  background: var(--bg-2);
  padding: .55rem 1rem 1rem;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
  gap: 0;
  transform: translateX(100%); transition: transform .3s var(--ease);
  overflow-y: auto; box-shadow: -12px 0 40px rgba(0,0,0,.35);
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel > a:not(.btn) {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.15;
  padding: .48rem .35rem;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.mobile-panel > a.btn {
  margin-top: .7rem;
  border-bottom: 0;
  flex: 0 0 auto;
  width: 100%;
  justify-content: center;
  padding: .7rem 1rem;
}
.mobile-panel > .itp-lang,
.mobile-panel > div:empty { display: none !important; }
.mobile-close {
  align-self: flex-end;
  background: none; border: 0; color: var(--text);
  font-size: 1.35rem; line-height: 1;
  cursor: pointer; padding: .15rem .1rem .35rem;
  flex: 0 0 auto;
}

/* ═══ HERO (estructura simple + mejoras de marca) ═══ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: stretch; color: var(--text); overflow: visible; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; z-index: 1; }
.hero-media img { position: absolute; inset: 0; z-index: 0; }
.hero-media.is-playing img { visibility: hidden; }
.hero-media::after { content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg, rgba(18,53,53,.90) 0%, rgba(18,53,53,.65) 48%, rgba(18,53,53,.40) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 2rem); padding-bottom: clamp(1.5rem, 4vw, 2.75rem); min-height: 92vh; }
.hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 2rem; max-width: 720px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 1.1rem; }
.hero-eyebrow-line { width: 36px; height: 3px; background: #fff; flex: 0 0 auto; border-radius: 2px; }
.hero-badge { background: var(--orange); color: #1a0e00; padding: .25rem .6rem; border-radius: 4px; font-size: .72rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); max-width: 15ch; margin-bottom: 1.2rem; font-weight: 600; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text); max-width: 46ch; margin: 0; line-height: 1.55; }
.hero-slogan { font-family: var(--font-display); color: var(--teal); letter-spacing: .04em; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Buscador de cursos (barra blanca simple, como antes) */
.hero-finder { display: grid; grid-template-columns: 1fr 1fr 1fr minmax(210px, auto); align-items: stretch;
  background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 22px 55px rgba(0,0,0,.28);
  margin-top: auto; position: relative; z-index: 5; }
.finder-field { position: relative; min-width: 0; }
.finder-field + .finder-field::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: #E2E8EA; }
.finder-trigger { width: 100%; height: 100%; min-height: 78px; background: none; border: 0; display: flex;
  align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.45rem; cursor: pointer;
  font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: #4A5560; text-align: left; }
.finder-trigger:hover { color: var(--ink); }
.finder-value { font-weight: 700; }
.finder-field.has-value .finder-value { color: var(--ink); font-weight: 700; }
.finder-trigger .fa-chevron-down { font-size: .72rem; color: #8A97A0; transition: transform .25s var(--ease); }
.finder-field.open .fa-chevron-down { transform: rotate(180deg); color: var(--bg); }
.finder-field.open .finder-trigger { color: var(--ink); }
.finder-menu { position: absolute; left: 8px; right: 8px; bottom: calc(100% + 8px); top: auto; background: #fff; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18); padding: .45rem 0; max-height: 280px; overflow: auto; z-index: 6;
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.finder-field.open .finder-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.finder-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0;
  padding: .7rem 1.1rem; font-family: var(--font); font-size: .95rem; color: var(--ink); cursor: pointer; text-align: left; }
.finder-opt:hover { background: var(--paper); }
.finder-opt.selected { color: var(--bg); font-weight: 600; }
.finder-opt.disabled { color: #B0B8BE; cursor: not-allowed; }
.finder-opt .opt-count { font-size: .78rem; color: var(--muted-ink); font-weight: 500; }
.finder-opt.selected .opt-count, .finder-opt.disabled .opt-count { color: inherit; }
.finder-submit { margin: 10px; background: var(--bg); color: #fff; border-radius: 10px; padding: 0 1.6rem;
  min-width: 210px; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; white-space: nowrap; transition: background .2s, transform .2s; }
.finder-submit:hover { background: var(--bg-3); color: #fff; transform: translateY(-1px); }

@media (max-width: 860px) {
  .hero-finder { grid-template-columns: 1fr; }
  .finder-field + .finder-field::before { left: 18px; right: 18px; top: 0; bottom: auto; width: auto; height: 1px; }
  .finder-trigger { min-height: 58px; }
  .finder-submit { min-height: 52px; margin: 8px 10px 10px; }
  .finder-menu { left: 0; right: 0; }
}

/* ═══ STATS (sugerencia: fondo blanco, textos negros, compacto) ═══ */
.stats { background: #fff; color: #141414; padding: clamp(1.5rem, 3vw, 2.5rem) 0 !important; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: .75rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 700; color: var(--bg); line-height: 1; }
.stat-suffix { color: var(--orange); }
.stat-prefix { color: var(--orange); }
.stat-label { color: #2d2d2d; font-size: clamp(1.05rem, 1.6vw, 1.15rem); margin-top: .6rem; font-weight: 500; }
.section-dark .stat-num { color: #fff; }
.section-dark .stat-label { color: rgba(234,241,243,.88); }

/* ═══ FEATURE / ABOUT ═══ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.values { display: grid; gap: 1rem; margin-top: 1.5rem; }
.value { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; }
.value-ic { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--teal); color: #04121a; display: grid; place-items: center; font-size: 1.15rem; }
.value strong { font-family: var(--font-display); }
.value p { margin: .2rem 0 0; font-size: .9rem; color: var(--muted-ink); }

/* ═══ INDUSTRIAS (hover marcado) ═══ */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.ind-card { position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden; display: flex;
  align-items: flex-end; padding: 1.5rem; color: #fff; isolation: isolate; }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.ind-card::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(transparent 25%, rgba(18,53,53,.92)); transition: background .3s; }
.ind-card:hover img { transform: scale(1.08); }
.ind-card:hover::after { background: linear-gradient(rgba(18,53,53,.55), rgba(18,53,53,.92)); }
.ind-card .ind-kicker { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ind-card h3 { font-size: 1.35rem; margin: .3rem 0; }
.ind-card p { margin: 0 0 .45rem; font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.4; }
.ind-card .ind-link { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: #fff; opacity: 0;
  transform: translateY(8px); transition: all .3s var(--ease); display: inline-flex; gap: .4rem; align-items: center; }
.ind-card:hover .ind-link { opacity: 1; transform: translateY(0); }

/* ═══ MODALIDADES (columnas limpias, sin tarjetas) ═══ */
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.mod-card { background: transparent; border: 0; border-radius: 0; box-shadow: none;
  padding: .25rem 1rem 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem;
  height: 100%; }
.mod-card:hover { box-shadow: none; transform: none; }
.mod-ic { width: auto; height: auto; background: none; border: 0; border-radius: 0; color: var(--navy);
  display: grid; place-items: center; margin-bottom: .45rem; }
.mod-ic svg { width: 44px; height: 44px; display: block; }
.mod-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.mod-card p { color: #4b5563; font-size: .95rem; line-height: 1.5; margin: 0; max-width: 36ch; }
.mod-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: #1a0e00; background: var(--orange); padding: .72rem 1.5rem; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease); }
.mod-card:hover .mod-link { background: var(--orange-2); color: #1a0e00; transform: translateY(-2px); }
@media (max-width: 800px) { .mod-grid { grid-template-columns: 1fr; gap: 2.75rem; } }

/* ═══ CARDS DE CURSO (foto + nombre; hover = fade de color + descripción) ═══ */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.featured-grid .course-card h3 { font-size: 1rem; }
.featured-grid .course-media { aspect-ratio: 1/1; }
@media (max-width: 1100px) { .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .featured-grid { grid-template-columns: 1fr; } }
/* Cursos destacados (home): 4 por fila */
#featuredGrid { grid-template-columns: repeat(4, minmax(0,1fr)); }
#featuredGrid .course-media { aspect-ratio: 1/1; }
@media (max-width: 1100px) { #featuredGrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { #featuredGrid { grid-template-columns: 1fr; } }
.course-card { background: var(--paper-2); border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
/* Media cuadrada */
.course-media { position: relative; aspect-ratio: 1/1; overflow: hidden; display: block; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.07); }
.course-media .ribbon { position: absolute; top: .8rem; left: .8rem; z-index: 3; background: var(--orange); color: #1a0e00;
  font-family: var(--font-display); font-size: .64rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 5px; transition: opacity .3s var(--ease); }
/* Al hacer hover el overlay cubre la foto: ocultamos el tag para que no tape el texto */
.course-card:hover .ribbon { opacity: 0; }
.course-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; gap: .55rem;
  padding: 1.5rem 1.35rem; color: #fff; opacity: 0; transition: opacity .35s var(--ease); overflow: hidden;
  /* Overlay más suave (sugerencia UX) */
  background: linear-gradient(160deg, rgba(18,53,53,.55) 0%, rgba(18,53,53,.62) 48%, rgba(14,40,40,.72) 100%); }
.course-card:hover .course-overlay { opacity: 1; }
.course-overlay > * { flex: 0 0 auto; }
.course-overlay .ov-cat { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); margin: 0; }
.course-overlay .ov-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.course-overlay .ov-tag { font-family: var(--font-display); font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.course-overlay .ov-tag.especialidad { background: var(--orange); color: #1a0e00; border-color: transparent; }
.course-overlay .ov-desc { font-size: .85rem; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.course-overlay .ov-meta { font-size: .74rem; color: rgba(255,255,255,.88); margin: 0; }
.course-foot .course-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; margin-top: .35rem; }
.course-foot .course-tag { font-family: var(--font-display); font-size: .55rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: .15rem .4rem; border-radius: var(--radius-sm); background: transparent; color: var(--bg); border: 1px solid var(--bg); }
.course-foot .course-tag--mod { background: var(--bg); color: #fff; border-color: var(--bg); }
.course-foot .course-tag--acred { background: var(--orange); color: #1a0e00; border-color: var(--orange); }
.course-foot .course-tag.especialidad { background: rgba(244,163,34,.18); color: #8a5a0a; border-color: rgba(244,163,34,.35); }
.course-overlay .ov-link { font-family: var(--font-display); font-size: .82rem; font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; align-self: flex-end; }
.course-card:hover .course-overlay .ov-link { gap: .7rem; }
#featuredGrid .course-overlay { padding: 1.55rem 1.45rem; gap: .6rem; }
/* Pie: categoría + nombre siempre visibles */
.course-foot { padding: 1.1rem 1.25rem 1.35rem; text-align: center; display: flex; flex-direction: column; gap: .3rem; flex: 1; justify-content: center; }
.course-cat { font-family: var(--font-display); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bg); }
.course-foot h3 { font-size: 1.06rem; line-height: 1.3; }
.course-foot h3 a { color: var(--ink); }
.course-foot h3 a:hover { color: var(--bg); }

/* ═══ CURSOS RELACIONADOS (carrusel, card cuadrada 1:1, sin hover overlay) ═══ */
.related-swiper { --swiper-theme-color: var(--teal); padding-bottom: 3rem; }
.related-swiper .swiper-button-next, .related-swiper .swiper-button-prev { color: var(--teal); }
.related-swiper .swiper-button-next::after, .related-swiper .swiper-button-prev::after { font-size: 1.4rem; font-weight: 700; }
.related-swiper .swiper-slide { height: auto; display: flex; }
.related-swiper .swiper-slide > .related-card { flex: 1 1 auto; width: 100%; }
.related-card { background: var(--paper-2); border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.related-media { position: relative; aspect-ratio: 1/1; overflow: hidden; display: block; }
.related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.related-card:hover .related-media img { transform: scale(1.07); }
.related-overlay { display: none !important; }
.rel-mod { display: none; }
.related-foot { padding: 1rem 1.1rem 1.2rem; text-align: center; display: flex; flex-direction: column; gap: .3rem; flex: 1; justify-content: center; }
.related-foot h3 { font-size: .98rem; line-height: 1.3; }
.related-foot h3 a { color: var(--ink); }
.related-foot h3 a:hover { color: var(--bg); }

/* ═══ CATÁLOGO (layout sidebar estilo PetroKnowledge) ═══ */
.catalog-layout { display: grid; grid-template-columns: 288px 1fr; gap: 2.25rem; align-items: start; }
.catalog-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); background: var(--paper-2); border: 1px solid var(--line-ink);
  border-radius: var(--radius); padding: 1.5rem; }
.catalog-aside h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 1.25rem; font-family: var(--font-display); }
.filter-block { margin-bottom: 1.4rem; }
.filter-block label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .82rem; margin-bottom: .5rem; }
.filter-block input, .filter-block select { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line-ink); border-radius: var(--radius-sm);
  background: var(--paper); font-family: var(--font); font-size: .9rem; color: var(--ink); }
.filter-block input:focus, .filter-block select:focus { outline: none; border-color: var(--teal); }
.catalog-main .courses-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1240px) { .catalog-main .courses-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px)  { .catalog-main .courses-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px)  { .catalog-main .courses-grid { grid-template-columns: 1fr; } }
.catalog-main-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.results-count { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.results-count span { color: var(--bg); }
.btn-filter-reset,
#btnFilterReset { background: #123535; color: #fff; border-color: #123535; }
#btnFilterReset:hover { background: #0f2d2d; color: #fff; border-color: #0f2d2d; }
.catalog-pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.catalog-pagination button { min-width: 42px; height: 42px; border: 1px solid var(--line-ink); background: var(--paper); color: var(--ink);
  border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; cursor: pointer; transition: .2s; }
.catalog-pagination button:hover { border-color: var(--bg); }
.catalog-pagination button.is-active { background: #123535; color: #fff; border-color: #123535; }
.catalog-pagination button:disabled { opacity: .4; cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--bg-3); color: var(--text); font-size: .8rem;
  padding: .35rem .7rem; border-radius: var(--radius-sm); }
.chip button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; }
.chip button:hover { color: var(--orange); }
.empty { grid-column: 1/-1; text-align: center; padding: 4rem 1rem; color: var(--muted-ink); }
.empty i { font-size: 2.5rem; color: var(--line-ink); margin-bottom: 1rem; }

/* ═══ PÁGINA HERO interna ═══ */
.page-hero { position: relative; padding: calc(var(--header-h) + 3.5rem) 0 3rem; color: var(--text); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.page-hero.with-img::before { background-size: cover; background-position: center; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(18,53,53,.94), rgba(18,53,53,.7)); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: .5rem 0 .75rem; }
.page-hero p { color: var(--muted); max-width: 60ch; }
.breadcrumb { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: .5rem; align-items: center; }
.breadcrumb a { color: var(--teal); }

/* ═══ DETALLE DE CURSO (rediseño dinámico) ═══ */
.course-hero { position: relative; color: var(--text); padding: calc(var(--header-h) + 3.5rem) 0 3.5rem; overflow: hidden; isolation: isolate; }
.course-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--course-img) center/cover no-repeat; transform: scale(1.05); }
.course-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(18,53,53,.96) 0%, rgba(18,53,53,.82) 45%, rgba(14,40,40,.55) 100%); }
.course-hero-inner { max-width: 820px; }
.course-hero .breadcrumb { margin-bottom: 1.25rem; }
.course-hero-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.pill { font-family: var(--font-display); font-size: .74rem; font-weight: 600; padding: .32rem .8rem; border-radius: var(--radius-sm); }
.pill.teal { background: rgba(244,163,34,.18); color: var(--teal); border: 1px solid rgba(244,163,34,.45); }
.pill.orange { background: rgba(241,135,24,.18); color: var(--orange); border: 1px solid rgba(241,135,24,.45); }
.course-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 1rem; max-width: 20ch; }
.course-hero-sub { color: var(--text); opacity: .92; line-height: 1.7; margin-bottom: 1.8rem; max-width: 60ch; font-size: 1.08rem; }
.course-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Barra de datos clave — verde sólido institucional */
.course-facts { background: #123535; border-bottom: 1px solid rgba(255,255,255,.1); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; padding: .85rem 0; }
.fact { display: flex; align-items: center; gap: .9rem; color: #fff; }
.fact > i { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(244,163,34,.2); color: var(--orange); display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto; }
.fact span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(234,241,243,.7); }
.fact strong { font-family: var(--font-display); font-size: .95rem; color: #fff; }

.course-body-grid { display: grid; grid-template-columns: 1fr 360px; gap: 3.5rem; align-items: start; }
.course-block { margin-bottom: 2.75rem; }
.course-block > .eyebrow { margin-bottom: .5rem; }
.course-block h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.course-block > p { color: var(--muted-ink); line-height: 1.85; font-size: 1.02rem; }
.cert-block { display: flex; gap: 1.25rem; align-items: center; background: linear-gradient(120deg, rgba(244,163,34,.08), rgba(0,36,61,.06));
  border: 1px solid var(--line-ink); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 0; }
.cert-block > i { font-size: 2rem; color: var(--teal-2); }
.cert-block h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.cert-block p { color: var(--muted-ink); margin: 0; line-height: 1.6; }

/* Acordeón / lista de módulos (siempre visibles) */
.accordion { border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--line-ink); }
.acc-item:last-child { border-bottom: 0; }
.modules-list { border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden; }
.module-item { display: grid; grid-template-columns: 48px 1fr; gap: .75rem 1rem; padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--line-ink); background: var(--paper-2); }
.module-item:last-child { border-bottom: 0; }
.module-item .acc-num { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--teal-2); padding-top: .15rem; }
.module-item .acc-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); margin: 0 0 .45rem; }
.module-item ul { margin: 0; padding-left: 1.1rem; color: var(--muted-ink); }
.module-item li { margin: .2rem 0; }
.acc-head { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; background: var(--paper-2); border: 0;
  cursor: pointer; text-align: left; font-family: var(--font-display); transition: background .2s; }
.acc-head:hover { background: var(--paper); }
.acc-num { font-size: .85rem; font-weight: 700; color: var(--teal-2); flex: 0 0 auto; }
.acc-title { flex: 1; font-weight: 600; font-size: 1rem; color: var(--ink); }
.acc-caret { color: var(--muted-ink); transition: transform .3s var(--ease); flex: 0 0 auto; }
.acc-item.open .acc-caret { transform: rotate(180deg); }
.acc-item.open .acc-head { background: var(--paper); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); background: var(--paper); }
.acc-item.open .acc-body { max-height: 600px; }
.acc-body ul { margin: 0; padding: .3rem 1.35rem 1.35rem 3.1rem; display: grid; gap: .5rem; }
.acc-body li { color: var(--muted-ink); font-size: .92rem; line-height: 1.5; position: relative; list-style: none; }
.acc-body li::before { content: ''; position: absolute; left: -1.1rem; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.course-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.course-info { background: var(--paper-2); border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow-sm); }
.course-info h3 { font-size: 1.1rem; margin-bottom: .85rem; }
.course-info ul { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.course-info li { display: grid; grid-template-columns: 22px 1fr; gap: .2rem .65rem; padding: .45rem 0; border-bottom: 1px solid var(--line-ink); align-items: center; }
.course-info li i { color: var(--teal-2); grid-row: span 2; }
.course-info li span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-ink); }
.course-info li strong { font-family: var(--font-display); font-size: .9rem; }

/* ═══ ACREDITACIONES / CERTIFICACIONES ═══ */
/* Flex + wrap centers incomplete last rows (e.g. 4+3 with 7 logos). */
.acred-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  max-width: 960px;
  margin-inline: auto;
}
.acred {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: .5rem;
  text-align: center;
  transition: transform .25s, opacity .25s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 128px;
  flex: 0 0 168px;
  box-shadow: none;
}
a.acred { text-decoration: none; color: inherit; }
#acred-mdt, #acred-senescyt, #acred-iadc, #acred-nsc, #acred-eude, #acred-omi { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
.acred:hover { transform: translateY(-3px); box-shadow: none; opacity: .92; }
.acred img { height: 96px; width: 100%; max-width: 152px; object-fit: contain; margin: 0; }
.acred strong { display: none; }
.acred p { display: none; }
@media (max-width: 900px) {
  .acred-grid { gap: 1.15rem 1.25rem; max-width: 640px; }
  .acred { width: 140px; height: 112px; flex-basis: 140px; }
  .acred img { height: 84px; max-width: 128px; }
}
@media (max-width: 620px) {
  .acred-grid { gap: 1rem; max-width: 100%; }
  .acred { width: calc(50% - .5rem); height: 104px; flex-basis: calc(50% - .5rem); padding: .35rem; }
  .acred img { height: 80px; max-width: 120px; }
}

/* Página /certificaciones/ — logo + resumen */
.acred-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.acred-detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 1.75rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.section-paper .acred-detail { background: #fff; }
.acred-detail-body { display: contents; }
.acred-detail-logo {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
}
.acred-detail-logo img {
  height: auto;
  max-height: 88px;
  width: 100%;
  max-width: 200px;
  object-fit: contain;
}
.acred-detail-logo--pair { flex-direction: column; gap: .9rem; }
.acred-detail-logo--pair img { max-height: 64px; }
.acred-detail-logo--pair img + img { max-height: 96px; }
.acred-detail-logo--dark {
  background: #0a0a0a;
  border-radius: 8px;
  padding: .75rem .9rem;
  min-height: auto;
}
.acred-detail-logo--dark img {
  height: 72px;
  max-width: 100%;
}
.acred-detail-body h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 .65rem;
  color: var(--ink);
}
.acred-detail-body h3 a {
  color: inherit;
  text-decoration: none;
}
.acred-detail-body h3 a:hover { color: var(--teal-2); }
.acred-detail-body p {
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.65;
  font-size: .92rem;
}
.acred-detail-body > p:not(.acred-detail-cta) {
  grid-column: 2;
  grid-row: 2;
}
.acred-detail-cta { grid-column: 2; grid-row: 4; margin-top: 1rem !important; text-align: right; }
.acred-detail-cta .btn-sm { padding: .45rem .9rem; font-size: .82rem; }
.acred-detail-cta .btn-outline {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.acred-detail-cta .btn-outline:hover {
  background: var(--orange-2);
  border-color: var(--orange-2);
  color: #fff;
}
#acreditaciones-internacionales .btn-navy {
  background: var(--bg);
  color: #fff;
  border-color: var(--bg);
}
#acreditaciones-internacionales .btn-navy:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: #fff;
  opacity: .85;
  transform: translateY(-2px);
}
.acred-sublist a { color: inherit; text-decoration: none; }
.acred-sublist a:hover { color: var(--teal-2); }
a.acred-detail-logo { text-decoration: none; color: inherit; transition: transform .2s; }
a.acred-detail-logo:hover { transform: translateY(-2px); }
.acred-sublist {
  grid-column: 2;
  grid-row: 3;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.acred-sublist li {
  margin: 0;
  padding: .85rem .95rem;
  background: var(--paper-2);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted-ink);
  line-height: 1.6;
  font-size: .9rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: .85rem 1rem;
  align-items: center;
}
.acred-sublist li strong {
  display: inline;
  color: var(--ink);
  font-family: var(--font-display);
}
.acred-sublist img.acred-sublogo {
  width: auto;
  max-width: 100%;
  height: 50px;
  object-fit: contain;
  justify-self: start;
}
.acred-sublogo--dark {
  background: #0a0a0a;
  border-radius: 6px;
  padding: .45rem .55rem;
  max-height: 72px;
}
@media (max-width: 720px) {
  .acred-detail {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.15rem 1.1rem;
  }
  .acred-detail-body { display: block; }
  .acred-detail-logo,
  .acred-detail-body h3,
  .acred-detail-body > p:not(.acred-detail-cta),
  .acred-sublist,
  .acred-detail-cta {
    grid-column: auto;
    grid-row: auto;
  }
  .acred-detail-logo { min-height: 72px; }
  .acred-detail-logo img { height: 72px; }
  .acred-detail-logo--pair { flex-direction: row; }
  .acred-detail-logo--pair img { width: auto; height: 56px; }
  .acred-detail-logo--pair img + img { height: 72px; }
  .acred-detail-cta { text-align: center; }
  .acred-detail-body h3 { font-size: 1.02rem; }
  .acred-sublist li {
    grid-template-columns: 1fr;
    text-align: left;
    justify-items: start;
  }
  .acred-sublist img.acred-sublogo { height: 44px; }
}

/* ═══ EQUIPO ═══ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; max-width: 760px; margin: 0 auto; }
.team-card { text-align: center; }
.team-card img { width: 156px; height: 156px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--teal); }
.team-card strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.team-card .role { color: var(--teal-2); font-family: var(--font-display); font-size: .84rem; font-weight: 600; margin-bottom: .5rem; }
.team-card p { font-size: .86rem; color: var(--muted-ink); line-height: 1.6; }

/* ═══ CARDS genéricas (misión/visión/casos) ═══ */
.tri-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.info-card { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.section-paper .info-card, .section-white .info-card { background: var(--paper-2); color: var(--ink); border-color: var(--line-ink); box-shadow: var(--shadow-sm); }
.info-card .ic { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--teal); color: #04121a; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1.1rem; }
.info-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.info-card p { color: var(--muted-ink); font-size: .92rem; line-height: 1.65; }
.section-dark .info-card p { color: var(--muted); }

/* ═══ TESTIMONIOS ═══ */
.testimonials-swiper .swiper-wrapper { align-items: stretch; }
.testimonials-swiper .swiper-slide { height: auto; display: flex; }
.testi-card { background: #123535; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem; height: 100%; width: 100%; color: var(--text); display: flex; flex-direction: column; }
.testi-card .q { color: var(--orange); font-size: 1.8rem; margin-bottom: .8rem; }
.testi-card blockquote { margin: 0 0 1.4rem; font-size: 1.02rem; line-height: 1.65; color: var(--text); flex: 1; }
.testi-card .author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testi-card .name { font-family: var(--font-display); font-weight: 600; color: #fff; }
.testi-card .role { color: var(--muted); font-size: .85rem; }
/* Dots compactos (manual #123535 / #f4a322); hit-area vía min size sin inflate visual */
.testimonials-swiper .swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  position: relative;
}
.testimonials-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  padding: 0;
  opacity: 1;
  border-radius: 999px;
  background: rgba(18, 53, 53, 0.28);
  background-clip: border-box;
  box-sizing: border-box;
  transition: width .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.testimonials-swiper .swiper-pagination-bullet-active {
  width: 22px;
  background: var(--orange);
  background-clip: border-box;
}
.related-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 .2rem !important;
  padding: 0;
  opacity: 1;
  background: rgba(18, 53, 53, 0.28);
}
.related-swiper .swiper-pagination-bullet-active { background: var(--orange); }

/* ═══ CTA banda ═══ */
.cta-band { background: linear-gradient(120deg, var(--bg), var(--teal-2)); border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center; color: #fff; }
.cta-band h3 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 1.6rem; }

/* ═══ FORMULARIOS ═══ */
.form { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form h3 { font-size: 1.2rem; margin-bottom: 1.2rem; color: var(--ink); }
.form-row { margin-bottom: 1rem; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .84rem; margin-bottom: .4rem; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-ink); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .92rem; color: var(--ink); background: var(--paper); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--muted-ink); margin: .6rem 0 1.1rem; }
.consent input { width: auto; margin-top: .2rem; }
.consent a { color: var(--teal-2); text-decoration: underline; }

/* Formulario embebido en la ficha de curso */
.course-form-wrap { max-width: 760px; margin: 0 auto; }
.course-form-wrap #courseFormCurso { background: rgba(244,163,34,.08); border-color: var(--teal); font-family: var(--font-display); font-weight: 600; color: var(--ink); cursor: default; }

/* Mapa (embed + enlace) */
.map-band { background: linear-gradient(120deg, var(--bg), var(--bg-2)); }
.map-band-embed { padding: 0; }
.map-embed-wrap { position: relative; width: 100%; height: min(420px, 55vh); background: #0a2020; }
.map-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cta { display: block; padding: 2.5rem clamp(1rem,4vw,2.5rem); }
.map-cta-under { padding: 1.25rem clamp(1rem,4vw,2.5rem); border-top: 1px solid var(--line); }
.map-cta-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 1.25rem; color: var(--text); }
.map-cta-inner > i { font-size: 2rem; color: var(--teal); }
.map-cta-inner strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.map-cta-inner span { color: var(--teal); font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s; }
.map-cta:hover .map-cta-inner span { gap: .7rem; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: stretch; }
.contact-info { background: var(--bg-2); color: var(--text); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.contact-info .maps-link { color: var(--orange); font-weight: 600; font-size: .9rem; display: inline-block; margin-top: .45rem; }
.contact-grid > .form { height: 100%; display: flex; flex-direction: column; }
.contact-item { display: grid; grid-template-columns: 24px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item i { color: var(--teal); margin-top: .2rem; }
.contact-item strong { font-family: var(--font-display); }
.contact-item a { color: var(--teal); }
.contact-sede { margin-top: .85rem; }
.contact-sede + .contact-sede { padding-top: .85rem; border-top: 1px dashed var(--line); }
.contact-sede-name { display: block; font-family: var(--font-display); font-weight: 600; color: var(--orange); margin-bottom: .15rem; }
.contact-social-links { display: flex; flex-wrap: wrap; gap: .55rem .9rem; margin-top: .55rem; }
.contact-social-links a { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--teal); text-decoration: none; }
.contact-social-links a:hover { text-decoration: underline; }
.contact-social-links i { margin-top: 0; }

/* ═══ CARRUSEL DE CLIENTES (marquee) ═══ */
.marquee-wrap { overflow: hidden; padding: 2.5rem 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.marquee-title { margin: 0 0 1.1rem; padding: 0 1rem; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: clamp(.82rem, 1.5vw, 1rem); letter-spacing: .12em; text-transform: uppercase; color: rgba(234,241,243,.7); }
.marquee { display: flex; gap: 2.5rem; width: max-content; animation: marquee 120s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee a, .marquee span { flex: 0 0 auto; display: grid; place-items: center; height: 148px; width: 280px; background: transparent; border: 0; border-radius: 0; padding: .75rem 1.2rem; box-shadow: none; }
.marquee img { max-height: 112px; max-width: 240px; width: auto; height: auto; object-fit: contain; filter: none; mix-blend-mode: normal; opacity: .9; transition: opacity .3s; background: transparent; }
.marquee a:hover img, .marquee span:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Home: clientes + CTA como una sola banda, luego el footer */
.home-trust {
  background: var(--bg);
  color: var(--text);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.75rem, 6vw, 4.5rem);
}
.home-trust-head { margin-bottom: 1.25rem; }
.home-trust-head h2,
.home-trust-head h3 { color: #fff; font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.home-trust-head p { color: rgba(234,241,243,.78); }
.home-trust .marquee-wrap {
  background: transparent;
  border: 0;
  padding: .75rem 0 2rem;
}
.home-trust .marquee { gap: 3rem; }
.home-trust .marquee a,
.home-trust .marquee span {
  height: 148px;
  width: 280px;
  padding: .75rem 1.2rem;
}
.home-trust .marquee img {
  max-height: 112px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .95;
}
.home-trust-cta {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 0;
  border-top: 0;
}
.home-trust-band {
  margin: 0;
}
.home-trust-band p {
  color: rgba(255,255,255,.85);
}
.home-cta-isolated { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.home-cta-white {
  background: #fff;
  border: 1px solid var(--line-ink);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.home-cta-white h3 { color: var(--ink); }
.home-cta-white p { color: var(--muted-ink); }

/* Logos grid (clientes) — tamaño ampliado para legibilidad */
.logos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.25rem; }
.logos-grid a { background: var(--paper-2); border: 1px solid var(--line-ink); border-radius: var(--radius); height: 150px; display: grid; place-items: center; padding: 1.5rem; transition: box-shadow .25s, transform .25s; }
.logos-grid a:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.logos-grid img { max-height: 100px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .3s; }
.logos-grid a:hover img { filter: grayscale(0); opacity: 1; }

/* ═══ FOOTER ═══ */
.footer { background: #0a2020; color: var(--muted); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 2.5rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a { display: block; color: var(--muted); font-size: .9rem; padding: .3rem 0; transition: color .2s; }
.footer a:hover { color: var(--teal); }
.footer .brand-blurb { font-size: .9rem; line-height: 1.7; }
.footer .logo-img { width: min(220px, 100%); height: auto; margin: 0 auto 1.1rem; display: block; }
.footer-grid > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-slogan { color: var(--teal); font-family: var(--font-display); margin-top: 1rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.5rem 0; font-size: .82rem; color: var(--muted); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.footer-bottom-row { line-height: 1.5; }
.footer-bottom a { color: var(--muted); display: inline; }
.footer-bottom a:hover { color: var(--teal); }
.footer-credit { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; flex-wrap: wrap; }
.footer-daas-mark { width: 18px; height: 14px; display: inline-block; vertical-align: middle; }
.footer-legal-links { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: center; }

/* ═══ SEARCH OVERLAY ═══ */
.search-overlay { position: fixed; inset: 0; z-index: 10040; background: rgba(18,53,53,.97); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .3s; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-inner { width: min(680px, 90vw); }
.search-inner input { width: 100%; background: none; border: 0; border-bottom: 2px solid var(--teal); color: #fff; font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem); padding: .5rem 0; outline: none; }
#globalSearchInput::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-close { position: fixed; top: 1.5rem; right: 2rem; z-index: 2; background: none; border: 0; color: var(--orange); font-size: 2rem; cursor: pointer; }
.search-close:hover { color: var(--orange-2); }
@media (max-width: 700px) {
  .search-inner input { padding-right: 48px; }
  .search-close { position: absolute; top: 12vh; right: 5vw; width: 42px; height: 46px; padding: 0;
    display: grid; place-items: center; font-size: 1.9rem; line-height: 1; }
}
.search-results-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 1rem; color: #fff; }
.search-shortcuts { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.search-shortcuts button { background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--muted); padding: .45rem .9rem;
  border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-display); font-size: .85rem; }
.search-shortcuts button:hover { border-color: var(--teal); color: var(--teal); }
.search-results { margin-top: 1.75rem; }
.search-results h4 { color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin: 1rem 0 .5rem; }
.search-result { display: flex; flex-direction: column; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
.search-result:hover { color: var(--teal); }
.search-result span { color: var(--muted); font-size: .82rem; }
.muted-note { color: var(--muted); font-size: .9rem; }
.muted-note a { color: var(--teal); }
#acreditaciones-internacionales .muted-note { color: #0e1f1f; }

/* ═══ MODAL ═══ */
.modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(18,53,53,.75); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: .25s; display: grid; place-items: center; padding: 1.5rem; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--paper-2); color: var(--ink); border-radius: var(--radius); width: min(560px, 100%); max-height: 90vh; overflow: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line-ink); }
.modal-head h3 { font-size: 1.15rem; }
.modal-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--muted-ink); }
.modal-body { padding: 1.5rem; }
.modal-course { background: var(--paper); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1.25rem; }
.modal-course strong { font-family: var(--font-display); }

/* ═══ WHATSAPP WIDGET ═══ */
.wa { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 250; }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; border: 0; font-size: 1.7rem; cursor: pointer;
  box-shadow: 0 10px 30px rgba(37,211,102,.4); display: grid; place-items: center; transition: transform .2s; }
.wa-btn:hover { transform: scale(1.08); }
.wa-panel { position: absolute; bottom: 76px; right: 0; width: 320px; background: var(--paper-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.wa-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-head { background: #075E54; color: #fff; padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.wa-head img { height: 34px; }
.wa-body { padding: 1rem; background: #ECE5DD; }
.wa-bubble { background: #fff; border-radius: var(--radius); padding: .8rem; font-size: .88rem; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.wa-input { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line-ink); }
.wa-input select, .wa-input input { flex: 1; padding: .6rem; border: 1px solid var(--line-ink); border-radius: var(--radius-sm); font-family: var(--font); font-size: .85rem; }
.wa-send { background: #25D366; color: #fff; border: 0; border-radius: var(--radius-sm); padding: 0 .9rem; cursor: pointer; }

/* ═══ COOKIES ═══ */
.cookies {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 240;
  width: min(880px, calc(100vw - 2rem));
  max-width: 880px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.5rem;
  box-shadow: 0 12px 36px rgba(0,0,0,.28);
  display: none;
}
.cookies.show { display: block; }
.cookies p { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.55; }
.cookies a { color: var(--teal); }
.cookies-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (min-width: 768px) {
  .cookies.show { display: flex; align-items: center; gap: 1.35rem; padding: 1.1rem 1.5rem; }
  .cookies p { flex: 1; margin: 0; font-size: .9rem; }
  .cookies-actions { flex: 0 0 auto; flex-wrap: nowrap; }
}

/* ═══ TOAST ═══ */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff;
  padding: 1rem 1.5rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; transition: .3s; z-index: 400; font-size: .9rem; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══ GRACIAS / LEGAL ═══ */
.gracias { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 3rem) 1.25rem 4rem; }
.gracias .ic { width: 92px; height: 92px; border-radius: 50%; background: var(--teal); color: #04121a; display: grid; place-items: center; font-size: 2.5rem; margin: 0 auto 1.5rem; }
.gracias h1 { font-size: 2.2rem; margin-bottom: .75rem; }
.gracias p { color: var(--muted-ink); max-width: 460px; margin: 0 auto 1.5rem; }

/* ═══ 404 ═══ */
.itp-404 {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 4rem;
  color: var(--text);
  overflow: hidden;
}
.itp-404::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(244,163,34,.18), transparent 55%),
    linear-gradient(160deg, var(--bg) 0%, #0c2424 55%, var(--bg-2) 100%);
}
.itp-404-inner {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  animation: itp404In .7s var(--ease) both;
}
@keyframes itp404In {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.itp-404-code {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 8.5rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--orange);
  text-shadow: 0 12px 40px rgba(244,163,34,.22);
}
.itp-404 h1 {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  margin: 0 0 .75rem;
  color: #fff;
}
.itp-404-lead {
  margin: 0 auto 1.75rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.itp-404-search {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  margin: 0 auto 1.75rem;
  max-width: 520px;
}
.itp-404-search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
}
.itp-404-search input[type="search"]::placeholder { color: rgba(234,241,243,.55); }
.itp-404-search input[type="search"]:focus {
  outline: 2px solid rgba(244,163,34,.4);
  border-color: var(--orange);
}
.itp-404-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.itp-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
@media (max-width: 520px) {
  .itp-404-search { flex-direction: column; }
  .itp-404-search .btn { width: 100%; justify-content: center; }
  .itp-404-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .itp-404-inner { animation: none; }
}
.legal { max-width: 880px; margin: 0 auto; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal h3 { font-size: 1.02rem; margin: 1.35rem 0 .4rem; color: var(--ink); }
.legal p, .legal li { color: var(--muted-ink); line-height: 1.75; font-size: .93rem; }
.legal ul, .legal ol { margin: .5rem 0 1rem; padding-left: 1.2rem; display: grid; gap: .35rem; }
.legal-intro { margin-bottom: 1.25rem; }
.legal-meta {
  display: grid; gap: .25rem; margin: 0 0 1.25rem; padding: 1rem 1.15rem;
  background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius-sm);
}
.legal-meta p { margin: 0; font-size: .88rem; color: var(--muted-ink); }
.legal-meta strong { color: var(--ink); font-weight: 600; }
.legal-toc {
  margin: 0 0 1.75rem; padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-ink); border-radius: var(--radius-sm); background: #fff;
}
.legal-toc strong {
  display: block; margin-bottom: .65rem; font-family: var(--font-display);
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.legal-toc ol { margin: 0; padding-left: 1.15rem; display: grid; gap: .3rem; columns: 1; }
@media (min-width: 720px) {
  .legal-toc ol { columns: 2; column-gap: 2rem; }
}
.legal-toc a { color: var(--teal); text-decoration: none; font-size: .9rem; }
.legal-toc a:hover { text-decoration: underline; }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--line-ink); border-radius: var(--radius-sm); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.legal-table th, .legal-table td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line-ink); vertical-align: top; color: var(--muted-ink); }
.legal-table th { background: var(--paper); color: var(--ink); font-family: var(--font-display); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code { font-size: .8em; background: var(--paper); padding: .1rem .35rem; border-radius: 4px; }

.search-page-form { display: flex; gap: .75rem; flex-wrap: wrap; align-items: stretch; max-width: 720px; }
.search-page-form input[type="search"] {
  flex: 1; min-width: 220px; border: 1px solid var(--line-ink); border-radius: var(--radius-sm);
  padding: .85rem 1rem; font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.search-page-form input[type="search"]:focus { outline: 2px solid rgba(244,163,34,.35); border-color: var(--teal); }
.search-page-form input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-left: .5rem; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%23123535' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
#searchPageCount { color: var(--bg); font-weight: 600; }
.search-page-empty { margin-top: 1.5rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius); }
.search-page-empty p { color: var(--muted-ink); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ═══ PLAN INTERNO (brief vs sitio) ═══ */
.plan-page { max-width: 920px; margin: 0 auto; }
.plan-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.plan-stat { background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 1.25rem 1.1rem; text-align: center; }
.plan-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--teal-2); line-height: 1; }
.plan-stat span { display: block; margin-top: .45rem; font-size: .82rem; color: var(--muted-ink); }
.plan-note { color: var(--muted-ink); font-size: .95rem; margin: 0 0 2rem; }
.plan-note a { color: var(--teal-2); text-decoration: underline; }
.plan-group { font-size: 1.15rem; margin: 2.25rem 0 1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--teal); }
.plan-card { background: var(--paper-2); border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 1.35rem 1.5rem 1.2rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.plan-card-missing { border-color: rgba(241,135,24,.45); }
.plan-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .7rem; }
.plan-card-head h3 { font-size: 1.2rem; }
.plan-card-head a { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--teal-2); }
.plan-badge { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #1a0e00; background: var(--orange); padding: .25rem .55rem; border-radius: 4px; }
.plan-list { margin: 0; padding: 0 0 0 1.15rem; display: grid; gap: .45rem; }
.plan-list li { color: var(--ink); font-size: .95rem; line-height: 1.5; }
.plan-list code { font-size: .85em; background: var(--paper); padding: .1rem .35rem; border-radius: 4px; }
@media (max-width: 700px) { .plan-summary { grid-template-columns: 1fr; } }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1180px) {
  .itp-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .itp-header .itp-container { justify-content: flex-start; gap: .75rem; }
  .header-actions { margin-left: auto; gap: .55rem; }
  .btn-search { width: 38px; height: 38px; }
  .split, #red-instructores .split, .course-body-grid, .contact-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .course-aside { position: static; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 560px) {
  .form-row.two { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 2rem;
  }
  .footer .logo-img { margin-left: auto; margin-right: auto; }
  .footer h4 { text-align: center; }
  .footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .footer-slogan { text-align: center; }
  .hero, .hero-inner { min-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .marquee, .testi-marquee { animation: none; }
}

/* ═══ ITP BOOT — intro animation ═══ */
/* Splash covers the viewport; body stays paintable so LCP/FCP can fire under the overlay. */
html.itp-boot-pending body > :not(.itp-boot) { pointer-events: none !important; }
html.itp-boot-pending, html.itp-boot-pending body { background: #123535; }
html.itp-boot-pending .itp-header,
html.itp-boot-pending .wa { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
/* Never freeze Elementor editor / preview canvas */
html.elementor-html.itp-boot-pending body > :not(.itp-boot),
body.elementor-editor-active.itp-boot-pending > :not(.itp-boot),
body.elementor-editor-preview > :not(.itp-boot) {
  opacity: 1 !important;
  pointer-events: auto !important;
}
html.elementor-html.itp-boot-pending,
html.elementor-html.itp-boot-pending body {
  background: transparent !important;
}

.itp-boot {
  position: fixed; inset: 0; z-index: 9999;
  background: #123535;
  display: grid; place-items: center;
  overflow: hidden;
}
.itp-boot[hidden] { display: none; }

.itp-boot-glow {
  position: absolute; top: 50%; left: 50%;
  width: 420px; height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,163,34,.18) 0%, transparent 70%);
  animation: itpBootGlow 2.2s ease-in-out infinite alternate;
}
@keyframes itpBootGlow { 0% { opacity: .6; transform: translate(-50%,-50%) scale(.9); } 100% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); } }

.itp-boot-stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  transition: transform .7s cubic-bezier(.4,0,.2,1), opacity .7s ease, filter .7s ease;
}

.itp-boot-logo {
  position: relative; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.85) translateY(12px);
  animation: itpBootLogoIn .7s cubic-bezier(.2,1.1,.3,1) .15s both;
}
@keyframes itpBootLogoIn { to { opacity: 1; transform: scale(1) translateY(0); } }

.itp-boot-img { height: 88px; width: auto; }

.itp-boot-loader {
  position: absolute; inset: -14px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease;
}
.itp-boot.is-ready .itp-boot-loader { opacity: 0; }

.itp-boot-spinner {
  width: 100%; height: 100%;
  border: 2px solid rgba(244,163,34,.2);
  border-top-color: #f4a322;
  border-radius: 50%;
  animation: itpBootSpin .9s linear infinite;
}
@keyframes itpBootSpin { to { transform: rotate(360deg); } }

/* Phase: ready — logo glows */
.itp-boot.is-ready .itp-boot-logo {
  filter: drop-shadow(0 0 24px rgba(244,163,34,.35));
  transition: filter .5s ease;
}

/* Phase: exit */
.itp-boot.is-exit .itp-boot-stage {
  opacity: 0; transform: scale(.88) translateY(-20px); filter: blur(4px);
}
.itp-boot.is-out {
  opacity: 0; transition: opacity .6s ease;
  pointer-events: none;
}


/* Finder categoría bloqueada hasta industria */
.finder-field.is-locked .finder-trigger { opacity: .45; cursor: not-allowed; }
.finder-field.is-locked .finder-value { color: #94a3b8; font-weight: 500; }

/* WhatsApp preview + isotipo head */
.wa-head-brand { display: flex; align-items: center; }
.wa-head-brand img { height: 34px; width: 34px; object-fit: contain; }
.wa-preview { padding: .65rem .85rem .85rem; background: #f7f7f7; border-top: 1px solid var(--line-ink); }
.wa-preview-label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin-bottom: .35rem; }
.wa-preview-text { margin: 0; font-size: .82rem; color: var(--ink); line-height: 1.45; white-space: pre-wrap; word-break: break-word; }

/* Marquesina solo donde se coloca en Elementor/contenido — ya no va en el footer. */

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Hub industrias — acordeón horizontal a pantalla completa */
body.is-industrias { background: var(--bg); color: var(--text); }
body.is-industrias .itp-header {
  background: linear-gradient(180deg, rgba(18,53,53,.75) 0%, rgba(18,53,53,.35) 65%, transparent 100%);
}
body.is-industrias .itp-header.scrolled {
  background: rgba(18,53,53,.88);
  backdrop-filter: blur(14px);
}
.ind-hub {
  display: flex;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  margin: 0;
  gap: 0;
  overflow: hidden;
  background: var(--bg);
}
.ind-panel {
  position: relative;
  flex: 1.6 1 0;
  min-width: 108px;
  max-width: 148px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  border-radius: 0;
  text-decoration: none;
  transition: flex-grow .55s var(--ease), max-width .55s var(--ease), min-width .55s var(--ease);
  cursor: pointer;
}
.ind-panel.is-active {
  flex-grow: 7;
  max-width: none;
  min-width: 34%;
  cursor: pointer;
}
.ind-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  transition: transform .7s var(--ease);
}
.ind-panel.is-active img { transform: scale(1.04); }
.ind-panel::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,53,53,.25) 0%, rgba(18,53,53,.55) 45%, rgba(18,53,53,.92) 100%);
  transition: background .4s var(--ease);
}
.ind-panel.is-active::after {
  background: linear-gradient(105deg, rgba(18,53,53,.92) 0%, rgba(18,53,53,.55) 55%, rgba(18,53,53,.28) 100%);
}
.ind-panel-inner {
  position: relative; z-index: 2;
  padding: 1.4rem .4rem;
  width: 100%;
  max-width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  transition: opacity .35s var(--ease), padding .55s var(--ease), align-items .01s;
}
.ind-panel .ind-kicker {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .3s var(--ease), max-height .3s var(--ease), margin .3s var(--ease);
}
.ind-panel h2 {
  font-size: 1.15rem; margin: 0; writing-mode: vertical-rl;
  transform: rotate(180deg); white-space: nowrap;
  letter-spacing: .06em; line-height: 1.2;
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow: hidden; text-overflow: ellipsis;
  transition: font-size .4s var(--ease);
}
.ind-panel p,
.ind-panel .btn {
  opacity: 0; max-height: 0; overflow: hidden; margin: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), max-height .3s var(--ease), margin .3s var(--ease);
}
.ind-panel.is-active .ind-panel-inner {
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 720px;
  align-items: flex-start;
}
.ind-panel.is-active .ind-kicker {
  opacity: 1; max-height: 2rem; margin-bottom: .15rem;
}
.ind-panel.is-active h2 {
  writing-mode: horizontal-tb; transform: none;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: .4rem 0 .75rem; white-space: normal;
  max-height: none; overflow: visible;
}
.ind-panel.is-active p {
  opacity: 1; max-height: 8rem; margin: 0 0 1.25rem;
  color: rgba(255,255,255,.85); max-width: 48ch;
  pointer-events: auto;
}
.ind-panel.is-active .btn {
  opacity: 1; max-height: 4rem;
  pointer-events: auto;
  display: inline-flex; width: fit-content;
}
@media (max-width: 800px) {
  .ind-hub {
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding-top: var(--header-h);
  }
  .ind-panel {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
    min-height: 118px;
    transition: min-height .45s var(--ease);
  }
  .ind-panel.is-active { min-height: min(58vh, 480px); min-width: 0; }
  .ind-panel h2 {
    writing-mode: horizontal-tb; transform: none;
    font-size: 1.22rem; max-height: none;
  }
  .ind-panel-inner {
    padding: 1.1rem 1.25rem;
    align-items: flex-start;
  }
  .ind-panel.is-active .ind-panel-inner { padding: 2rem 1.35rem 2.25rem; max-width: none; }
  .ind-panel.is-active h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .ind-panel, .ind-panel img, .ind-panel-inner,
  .ind-panel .ind-kicker, .ind-panel h2, .ind-panel p, .ind-panel .btn {
    transition: none;
  }
}

/* CTA full-bleed debajo del hub de industrias */
.ind-cta { margin: 0; padding: 0; background: var(--bg); }
.ind-cta .btn-primary {
  background: var(--bg);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.ind-cta .btn-primary:hover {
  background: var(--bg-3);
  color: #fff;
}
.ind-cta .cta-band-full {
  border-radius: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

/* Landing industria — foto del sector detrás del título */
.industria-landing .page-hero { margin-bottom: 0; }
.industria-landing .page-hero.with-img {
  min-height: clamp(340px, 46vh, 520px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.25rem, 5vw, 3.75rem);
}
.industria-landing .page-hero.with-img > .itp-container { width: 100%; }
.industria-landing .page-hero.with-img::before {
  background-color: var(--bg);
  background-image: var(--ind-img);
  background-size: cover;
  background-position: center;
}
.industria-landing .page-hero.with-img::after {
  background: linear-gradient(105deg, rgba(18,53,53,.92) 0%, rgba(18,53,53,.62) 48%, rgba(18,53,53,.34) 100%);
}
.industria-catalog { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Mega feature alineado al tope de columnas */
.mega-inner { align-items: start; }
.mega-feature { align-self: start; }

/* ═══ NOSOTROS (contenido PDF) ═══ */
#nuestra-historia, #quienes-somos, #lo-que-nos-define, #mision-vision, #nuestros-valores, #red-instructores, #presencia, #nosotros-cta {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
#red-instructores .split {
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
}
#red-instructores .split-media {
  display: flex;
  height: 100%;
}
#red-instructores .split-media img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
#red-instructores .red-instructores-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .85rem 1.25rem;
  flex-direction: column;
}
#red-instructores .red-instructores-email {
  margin: 0;
  font-size: .9rem;
  color: var(--muted-ink);
}
#red-instructores .red-instructores-email a {
  color: var(--teal-2);
  text-decoration: underline;
}
#lo-que-nos-define .mod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#mision-vision .mod-grid { grid-template-columns: 1fr 1fr; }
.mod-ic i { font-size: 1.85rem; line-height: 1; color: var(--orange); }
#lo-que-nos-define .mod-ic,
#mision-vision .mod-ic { color: var(--orange); }
#lo-que-nos-define .mod-ic i,
#mision-vision .mod-ic i,
#lo-que-nos-define .mod-ic svg,
#mision-vision .mod-ic svg { color: var(--orange); stroke: currentColor; }

/* #90 Hero Nosotros con foto + overlay */
#nosotros-hero.page-hero.with-img {
  min-height: clamp(380px, 52vh, 560px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
#nosotros-hero.page-hero.with-img::before {
  background-color: var(--bg);
  background-image: var(--ind-img);
  background-size: cover;
  background-position: center;
}
#nosotros-hero.page-hero.with-img::after {
  background: linear-gradient(105deg, rgba(18,53,53,.82) 0%, rgba(18,53,53,.62) 48%, rgba(18,53,53,.48) 100%);
}
#nosotros-hero .itp-container { width: 100%; max-width: var(--maxw); }

.valores-grid {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.75rem 1.5rem; max-width: 920px;
  text-align: center;
}
.valores-grid li {
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--ink); background: transparent; border: 0;
  border-radius: 0; padding: .35rem .5rem;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .7rem;
  width: calc(25% - 1.125rem); max-width: 180px; min-width: 140px;
  flex: 0 0 auto;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.valores-grid li:hover { transform: translateY(-3px); color: var(--bg); }
.valores-grid li i {
  display: grid; place-items: center;
  width: 3.75rem; height: 3.75rem;
  font-size: 2.15rem; color: var(--orange); line-height: 1;
  margin: 0 auto;
  transition: transform .25s var(--ease);
}
.valores-grid li:hover i { transform: scale(1.08); }
.valores-grid li span { display: block; text-align: center; line-height: 1.25; }
@media (max-width: 720px) {
  .valores-grid li { width: calc(50% - .75rem); min-width: 120px; }
}

/* #91 Timeline historia */
.historia-timeline {
  list-style: none; margin: 0; padding: 0 0 0 1.35rem;
  border-left: 2px solid rgba(18,53,53,.18);
  display: grid; gap: 1.5rem;
  position: relative;
}
.historia-timeline::before {
  content: '';
  position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat;
  background-size: 100% var(--tl-progress, 0%);
  transition: background-size .25s linear;
  pointer-events: none;
}
.historia-timeline li {
  position: relative; padding-left: 1.35rem;
  transition-delay: var(--reveal-delay, 0ms);
}
.historia-timeline li.is-visible::before,
.historia-timeline li.is-active::before {
  transform: scale(1.15);
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(244,163,34,.25);
}
.historia-timeline li::before {
  content: '';
  position: absolute; left: calc(-1.35rem - 0.36rem); top: .35rem;
  width: .72rem; height: .72rem; border-radius: 50%;
  background: var(--bg); border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(18,53,53,.2);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.historia-timeline .tl-kicker {
  display: inline-block; font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .35rem;
}
.historia-timeline p {
  margin: 0; color: var(--muted-ink); line-height: 1.7;
}
[data-reveal] { transition-delay: var(--reveal-delay, 0ms); }
.presencia-card { transition-delay: var(--reveal-delay, 0ms); }

/* #91 Cards presencia */
.presencia-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.presencia-card {
  background: var(--paper-2); border: 1px solid var(--line-ink);
  border-radius: var(--radius); padding: 1.5rem 1.35rem;
  display: flex; flex-direction: column; gap: .65rem; height: 100%;
}
.presencia-ic {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(244,163,34,.14); color: var(--orange);
  font-size: 1.15rem;
}
.presencia-card h3 {
  font-size: 1.1rem; margin: 0; color: var(--ink);
}
.presencia-card p {
  margin: 0; color: var(--muted-ink); line-height: 1.65; font-size: .95rem;
}

#nosotros-cta .cta-band .btn-ghost {
  border-color: rgba(255,255,255,.45); color: #fff;
}
#nosotros-cta .cta-band .btn-ghost:hover {
  border-color: #fff; color: #fff; background: rgba(255,255,255,.08);
}
@media (max-width: 1000px) {
  #lo-que-nos-define .mod-grid { grid-template-columns: 1fr 1fr; }
  .presencia-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  #lo-que-nos-define .mod-grid,
  #mision-vision .mod-grid { grid-template-columns: 1fr; }
}

