/* ACEVAL — ¿Quiénes somos?: secciones llamativas (paneles oscuros, tarjetas con icono) */
@keyframes snUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
.sn-ico-font { font-family:"Font Awesome 6 Free"; font-weight:900; font-style:normal; }

/* ---- ¿Qué hacemos? : panel oscuro con tarjetas de cristal ---- */
.sn-dark { position:relative; overflow:hidden; color:#fff; border-bottom:0 !important;
  background:radial-gradient(circle at 10% 0,rgba(217,130,24,.38),transparent 40%),radial-gradient(circle at 100% 100%,rgba(63,138,224,.35),transparent 45%),linear-gradient(145deg,#04162B,#0b3a6e) !important; }
.sn-dark::before { content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px); background-size:22px 22px; mask-image:linear-gradient(180deg,#000,transparent 80%); -webkit-mask-image:linear-gradient(180deg,#000,transparent 80%); pointer-events:none; }
.sn-dark .container { position:relative; }
.sn-dark .section-subtitle { color:#f3a847 !important; }
.sn-dark .section-title { color:#fff !important; }
.sn-dark .section-title-divider { background:linear-gradient(90deg,#D98218,#f3a847) !important; box-shadow:0 0 18px rgba(243,168,71,.7); }
.sn-dark .card-custom { position:relative; height:100%; background:rgba(255,255,255,.07) !important; border:1px solid rgba(255,255,255,.14) !important; border-top:1px solid rgba(255,255,255,.14) !important; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); box-shadow:none !important; padding:1.6rem 1.4rem 1.5rem !important; overflow:hidden; }
.sn-dark .card-custom::before { content:"\f02d"; font-family:"Font Awesome 6 Free"; font-weight:900; display:flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:16px; margin-bottom:1rem; font-size:1.4rem; color:#04162B; background:linear-gradient(135deg,#D98218,#f3a847); box-shadow:0 10px 24px -6px rgba(217,130,24,.75),inset 0 1px 0 rgba(255,255,255,.5); transition:transform .3s; }
.sn-dark .row > div:nth-child(2) .card-custom::before { content:"\f19d"; }
.sn-dark .row > div:nth-child(3) .card-custom::before { content:"\f2b9"; }
.sn-dark .row > div:nth-child(4) .card-custom::before { content:"\f2b5"; }
.sn-dark .card-custom:hover { transform:translateY(-6px); background:rgba(255,255,255,.12) !important; border-color:rgba(243,168,71,.7) !important; box-shadow:0 0 0 1px rgba(243,168,71,.35),0 24px 44px -18px rgba(0,0,0,.6),0 0 38px -8px rgba(217,130,24,.55) !important; }
.sn-dark .card-custom:hover::before { transform:rotate(-8deg) scale(1.08); }
.sn-dark .card-custom .font-mono { color:#f3a847 !important; letter-spacing:.12em; font-weight:700; display:block; }
.sn-dark .card-custom h5 { color:#fff !important; }
.sn-dark .card-custom p { color:#cbd5e1 !important; }
.sn-dark .row > div { animation:snUp .6s cubic-bezier(.2,.7,.2,1) both; }
.sn-dark .row > div:nth-child(2){animation-delay:.08s}.sn-dark .row > div:nth-child(3){animation-delay:.16s}.sn-dark .row > div:nth-child(4){animation-delay:.24s}

/* ---- Principios: tarjetas con icono y número ---- */
.sn-pri .row { counter-reset:pri; }
.sn-pri .row > div { counter-increment:pri; }
.sn-pri .card-custom { position:relative; border-radius:20px !important; border:1px solid #dbe3ee !important; border-top:4px solid #D98218 !important; padding:1.7rem 1.4rem 1.5rem !important; overflow:hidden; background:#fff; box-shadow:0 2px 4px rgba(15,23,42,.04),0 12px 26px -16px rgba(7,41,77,.35) !important; }
.sn-pri .card-custom::before { content:"\f0e7"; font-family:"Font Awesome 6 Free"; font-weight:900; display:flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:15px; margin-bottom:1rem; font-size:1.3rem; color:#fff; background:linear-gradient(135deg,#07294D,#0b3a6e); box-shadow:0 10px 20px -8px rgba(7,41,77,.7); transition:background .3s,transform .3s; }
.sn-pri .row > div:nth-child(1) .card-custom::before { content:"\f610"; }
.sn-pri .row > div:nth-child(2) .card-custom::before { content:"\f24e"; }
.sn-pri .row > div:nth-child(3) .card-custom::before { content:"\f4be"; }
.sn-pri .row > div:nth-child(4) .card-custom::before { content:"\f0c0"; }
.sn-pri .card-custom::after { content:"0" counter(pri); position:absolute; right:1.1rem; top:.9rem; font:800 2.3rem/1 'JetBrains Mono',monospace; color:#eef2f7; }
.sn-pri .card-custom:hover { border-color:#f3d3a0 !important; border-top-color:#D98218 !important; }
.sn-pri .card-custom:hover::before { background:linear-gradient(135deg,#D98218,#f3a847); transform:rotate(-8deg) scale(1.08); }
.sn-pri .card-custom h5 { color:#07294D !important; font-weight:800; }

/* ---- Grupos temáticos: tarjetas con icono ---- */
.sn-grupos .row { counter-reset:gr; }
.sn-grupos .row > div { counter-increment:gr; }
.sn-grupos .card-custom { position:relative; height:100%; border-radius:20px !important; border:1px solid #dbe3ee !important; padding:1.5rem 1.4rem 1.4rem 5.2rem !important; overflow:hidden; background:#fff; box-shadow:0 2px 4px rgba(15,23,42,.04),0 12px 26px -16px rgba(7,41,77,.35) !important; transition:transform .3s,box-shadow .3s,border-color .3s,background .3s; }
.sn-grupos .card-custom::before { content:"\f0c0"; font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; left:1.1rem; top:1.4rem; display:flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:14px; font-size:1.15rem; color:#fff; background:linear-gradient(135deg,#07294D,#0b3a6e); box-shadow:0 8px 18px -8px rgba(7,41,77,.7); transition:background .3s,transform .3s; }
.sn-grupos .row > div:nth-child(1) .card-custom::before{content:"\f228"}.sn-grupos .row > div:nth-child(2) .card-custom::before{content:"\f64f"}.sn-grupos .row > div:nth-child(3) .card-custom::before{content:"\f542"}
.sn-grupos .row > div:nth-child(4) .card-custom::before{content:"\f66f"}.sn-grupos .row > div:nth-child(5) .card-custom::before{content:"\f57d"}.sn-grupos .row > div:nth-child(6) .card-custom::before{content:"\f51e"}
.sn-grupos .row > div:nth-child(7) .card-custom::before{content:"\f26c"}.sn-grupos .row > div:nth-child(8) .card-custom::before{content:"\e522"}.sn-grupos .row > div:nth-child(9) .card-custom::before{content:"\f5da"}.sn-grupos .row > div:nth-child(10) .card-custom::before{content:"\f4d8"}
.sn-grupos .card-custom::after { content:"0" counter(gr); position:absolute; right:1rem; bottom:.4rem; font:800 2.4rem/1 'JetBrains Mono',monospace; color:#f1f5f9; pointer-events:none; }
.sn-grupos .row > div:nth-child(10) .card-custom::after { content:"10"; }
.sn-grupos .card-custom:hover { border-color:#f3d3a0 !important; box-shadow:0 22px 40px -18px rgba(7,41,77,.4) !important; }
.sn-grupos .card-custom:hover::before { background:linear-gradient(135deg,#D98218,#f3a847); transform:rotate(-8deg) scale(1.08); }
.sn-grupos .card-custom .font-mono { color:#D98218 !important; font-weight:700; letter-spacing:.12em; display:block; }
.sn-grupos .card-custom h5 { color:#07294D !important; font-weight:800; }
@media (max-width:575.98px){ .sn-grupos .card-custom{padding-left:4.8rem !important} }

/* ---- AGE: tarjeta oscura ---- */
.sn-age-card { border-radius:24px !important; border:0 !important; color:#fff; background:radial-gradient(circle at 100% 0,rgba(217,130,24,.4),transparent 50%),linear-gradient(145deg,#04162B,#0b3a6e) !important; box-shadow:0 30px 56px -26px rgba(4,22,43,.8) !important; }
.sn-age-card img { background:#fff; padding:14px 18px; border-radius:16px; box-shadow:0 10px 24px -10px rgba(0,0,0,.5); }
.sn-age-card h4 { color:#fff !important; }
.sn-age-card p { color:#cbd5e1 !important; }

/* ---- Estructura colegiada: encabezados de subsección ---- */
#comites .d-flex.border-bottom { border-bottom:0 !important; position:relative; padding-bottom:.9rem !important; }
#comites .d-flex.border-bottom::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; border-radius:3px; background:linear-gradient(90deg,#D98218,#f3d3a0 30%,transparent); }
#comites .d-flex.border-bottom h3 i { display:inline-flex; width:38px; height:38px; align-items:center; justify-content:center; border-radius:11px; background:linear-gradient(135deg,#07294D,#0b3a6e); color:#fff !important; font-size:.95rem; margin-right:.7rem !important; box-shadow:0 8px 16px -8px rgba(7,41,77,.7); }

/* ---- Aliados: logos con tarjeta viva ---- */
.sn-aliados .card-custom { border-radius:20px !important; border:1px solid #dbe3ee !important; box-shadow:0 2px 4px rgba(15,23,42,.04),0 12px 26px -16px rgba(7,41,77,.3) !important; }
.sn-aliados .card-custom .d-flex { background:linear-gradient(180deg,#f8fafc,#eef2f7); border-radius:14px; padding:.6rem; transition:background .3s; }
.sn-aliados .card-custom:hover { border-color:#f3d3a0 !important; }
.sn-aliados .card-custom:hover .d-flex { background:#fff8ee; }
.sn-aliados .card-custom img { transition:transform .35s; }
.sn-aliados .card-custom:hover img { transform:scale(1.08); }
@media (prefers-reduced-motion:reduce){ .sn-dark .row > div{animation:none} }

/* ---- Estructura colegiada: tarjetas de retrato ---- */
#comites { background:radial-gradient(circle at 100% 0,rgba(217,130,24,.12),transparent 38%),radial-gradient(circle at 0 100%,rgba(11,58,110,.08),transparent 40%),#f8f6f1 !important; }
#comites .team-card { position:relative; flex-direction:column !important; align-items:center !important; justify-content:flex-start !important; text-align:center; padding:0 !important; gap:0 !important; overflow:hidden; border-radius:20px !important; border:1px solid #dbe3ee !important; border-top:1px solid #dbe3ee !important; background:#fff;
  box-shadow:0 2px 4px rgba(15,23,42,.04),0 12px 26px -16px rgba(7,41,77,.35) !important; transition:transform .25s,box-shadow .25s,border-color .25s; }
#comites .team-card::before { content:""; display:block; width:100%; height:82px; flex:none; background:radial-gradient(circle at 85% 0,rgba(217,130,24,.45),transparent 55%),linear-gradient(135deg,#04162B,#0b3a6e); transition:filter .3s; }
#comites .team-card:hover { transform:translateY(-5px); border-color:#f3d3a0 !important; box-shadow:0 22px 40px -18px rgba(7,41,77,.45) !important; }
#comites .team-card:hover::before { filter:saturate(1.4) brightness(1.15); }
#comites .team-card .team-av { box-shadow:0 0 0 5px #fff,0 10px 22px -8px rgba(7,41,77,.5) !important; flex:none; position:relative; z-index:1; }
#comites .team-card:hover .team-av-wrap { box-shadow:0 0 0 5px #fff,0 0 0 8px #f3d3a0,0 14px 26px -8px rgba(7,41,77,.5) !important; }
#comites .team-card .team-av-lg { width:124px; height:124px; margin:-62px auto .85rem; }
#comites .team-card .team-av-xl { width:112px; height:112px; margin:-56px auto .8rem; }
#comites .team-card .team-av-md { width:104px; height:104px; margin:-52px auto .75rem; }
/* Comité ejecutivo: nombre arriba, cargo como etiqueta */
#comites .team-card-row > div:last-child { display:flex; flex-direction:column; align-items:center; padding:0 1.1rem 1.4rem; }
#comites .team-card-row h5 { order:-1; margin:0 0 .5rem !important; font-size:1.1rem !important; font-weight:800; color:#07294D !important; }
#comites .team-card-row .font-mono { order:1; display:inline-block !important; margin:0 !important; padding:.3rem .75rem; border-radius:999px; background:#fff8ee; border:1px solid #f3d3a0; color:#7a4b0b !important; font-size:.66rem !important; letter-spacing:.04em !important; line-height:1.35; font-weight:700; }
/* Comité ampliado y enlaces regionales */
#comites .team-card h6 { margin:0 1rem .45rem !important; font-weight:800; color:#07294D !important; }
#comites .team-card > span.small { display:inline-block; margin:0 .9rem 1.3rem; padding:.28rem .7rem; border-radius:999px; background:#fff8ee; border:1px solid #f3d3a0; color:#7a4b0b !important; font-size:.74rem !important; font-weight:600; line-height:1.35; }
#comites .team-card.h-100 { height:100%; }
@media (prefers-reduced-motion:reduce){ #comites .team-card{transition:none} #comites .team-card:hover{transform:none} }

/* ---- Grupos temáticos: tarjetas con ícono, color y enlace al grupo ---- */
.gt-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1.5rem 1.15rem; background: #fff; border: 1px solid rgba(7, 41, 77, .1); border-top: 4px solid var(--gc, #07294D); border-radius: 14px; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.gt-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(4, 22, 43, .14); color: inherit; }
.gt-card:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.gt-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--gc, #07294D); color: #fff; font-size: 1.15rem; margin-bottom: .9rem; box-shadow: 0 6px 14px -4px var(--gc, #07294D); }
.gt-card__label { font-family: var(--font-mono, ui-monospace, monospace); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #6b7a8c; margin-bottom: .25rem; }
.gt-card__title { font-size: 1.1rem; font-weight: 700; color: var(--color-primary); margin: 0 0 .5rem; line-height: 1.3; }
.gt-card__desc { font-size: .88rem; color: #55657a; line-height: 1.65; margin: 0 0 1.1rem; }
.gt-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-top: .85rem; border-top: 1px solid rgba(7, 41, 77, .08); font-size: .8rem; font-weight: 600; color: #55657a; }
.gt-card__go { color: var(--gc, #07294D); display: inline-flex; align-items: center; gap: .35rem; }
.gt-card__go i { transition: transform .2s; }
.gt-card:hover .gt-card__go i { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .gt-card, .gt-card__go i { transition: none !important; } }
