/* IEICII Public Presentation Patch v116
   Moderniza la parte pública sin tocar la lógica de gestión. */
body.public-body{
  --public-radius:28px;
  --public-radius-sm:18px;
  --public-shadow:0 24px 70px rgba(15,23,42,.10);
  --public-shadow-soft:0 14px 42px rgba(15,23,42,.075);
  --public-glass:rgba(255,255,255,.76);
  background:
    radial-gradient(circle at 6% 3%, color-mix(in srgb,var(--brand,#1f5eff) 15%,transparent), transparent 31rem),
    radial-gradient(circle at 88% 6%, color-mix(in srgb,var(--accent,#14b8a6) 18%,transparent), transparent 28rem),
    linear-gradient(180deg,#f7faff 0%,#ffffff 34rem,#f8fbff 100%)!important;
  overflow-x:hidden;
}
body.public-body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(15,23,42,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(15,23,42,.035) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 38rem);
  z-index:-2;
}
.public-bg-v116{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.public-bg-v116 span{position:absolute;border-radius:999px;filter:blur(2px);opacity:.52}.public-bg-v116 span:nth-child(1){width:360px;height:360px;left:-140px;top:12vh;background:color-mix(in srgb,var(--brand,#1f5eff) 16%,transparent)}.public-bg-v116 span:nth-child(2){width:420px;height:420px;right:-180px;top:24vh;background:color-mix(in srgb,var(--accent,#14b8a6) 14%,transparent)}.public-bg-v116 span:nth-child(3){width:260px;height:260px;left:42%;bottom:-130px;background:color-mix(in srgb,var(--brand-2,#0e3fc2) 10%,transparent)}
body.public-body main.container.public-main-v116{padding-top:28px!important;padding-bottom:68px!important}
.modern-public-topbar-v116{position:sticky!important;top:0!important;z-index:80!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;padding:12px clamp(16px,3.4vw,46px)!important;border-bottom:1px solid rgba(226,232,240,.78)!important;background:rgba(255,255,255,.76)!important;backdrop-filter:blur(18px) saturate(1.15)!important;box-shadow:0 14px 42px rgba(15,23,42,.05)!important;transition:box-shadow .18s ease,background .18s ease,border-color .18s ease!important}.modern-public-topbar-v116.is-scrolled{background:rgba(255,255,255,.92)!important;box-shadow:0 18px 52px rgba(15,23,42,.10)!important}.public-brand-v116{display:inline-flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;color:var(--text,#0f172a)!important;letter-spacing:-.045em!important}.public-brand-v116 .brand-img{width:40px!important;height:40px!important;border-radius:14px!important;object-fit:cover!important;box-shadow:0 10px 24px rgba(15,23,42,.12)!important}.public-brand-v116 span{font-size:1.06rem!important;font-weight:1000!important;white-space:nowrap!important}.public-desktop-nav-v116{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important}.public-desktop-nav-v116 a{position:relative!important;border-radius:999px!important;padding:10px 13px!important;font-size:.91rem!important;font-weight:900!important;color:var(--muted,#64748b)!important;white-space:nowrap!important;transition:background .16s ease,color .16s ease,transform .16s ease!important}.public-desktop-nav-v116 a:hover,.public-desktop-nav-v116 a.active{background:#eef4ff!important;color:var(--brand,#1f5eff)!important;transform:translateY(-1px)!important}.modern-public-actions-v116{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important}.modern-public-actions-v116 .btn{border-radius:999px!important;min-height:42px!important;padding:10px 16px!important}.modern-public-actions-v116 .btn.soft,.home-v21 .btn.soft{background:#eff6ff!important;color:#1d4ed8!important;border-color:#dbeafe!important}.home-v21 .btn.ghost,.modern-public-actions-v116 .btn.ghost{background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.30)!important}.public-menu-btn{border-radius:14px!important;border:1px solid var(--line,#e2e8f0)!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important}
.public-sidebar{box-shadow:24px 0 70px rgba(15,23,42,.28)!important}.public-sidebar-head{border-bottom:1px solid rgba(255,255,255,.08)!important}.public-sidebar-nav a{border-radius:14px!important;font-weight:900!important}.public-sidebar-nav a:hover{background:rgba(255,255,255,.09)!important}.site-footer{position:relative!important;margin-top:40px!important;border-top:0!important;background:linear-gradient(135deg,#071225 0%,#0d1d38 52%,#102a55 100%)!important;color:#e5edf8!important;overflow:hidden!important}.site-footer::before{content:"";position:absolute;inset:-80px -120px auto auto;width:420px;height:420px;border-radius:999px;background:radial-gradient(circle,rgba(59,130,246,.30),transparent 65%);pointer-events:none}.site-footer .footer-grid{position:relative;width:min(var(--ie-public-max,1280px),calc(100vw - 56px))!important;margin-inline:auto!important;display:grid!important;grid-template-columns:1.55fr repeat(3,minmax(0,.75fr))!important;gap:clamp(20px,4vw,54px)!important;padding:48px 0 30px!important}.site-footer h3,.site-footer h4{color:#fff!important;letter-spacing:-.03em!important}.site-footer p,.site-footer a,.site-footer .muted{color:rgba(229,237,248,.76)!important}.site-footer a{display:block!important;margin:8px 0!important;font-weight:750!important}.site-footer a:hover{color:#fff!important}.footer-bottom{position:relative;width:min(var(--ie-public-max,1280px),calc(100vw - 56px))!important;margin-inline:auto!important;border-top:1px solid rgba(255,255,255,.12)!important;padding:18px 0 26px!important;color:rgba(229,237,248,.62)!important;text-align:left!important}
.home-v21{gap:clamp(28px,3.5vw,54px)!important}.home-v21 .home-hero-v61{border-radius:clamp(26px,3vw,42px)!important;box-shadow:0 36px 110px rgba(15,23,42,.22)!important;min-height:min(690px,calc(100vh - 160px))!important;isolation:isolate!important}.home-v21 .home-hero-v61::before{content:""!important;display:block!important;position:absolute!important;inset:18px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:calc(clamp(26px,3vw,42px) - 12px)!important;z-index:2!important;pointer-events:none!important}.home-v21 .home-hero-copy-v61 h1{font-size:clamp(3.05rem,7.2vw,6.9rem)!important;letter-spacing:-.087em!important;max-width:980px!important}.home-v21 .home-hero-copy-v61 p{font-size:clamp(1.08rem,1.45vw,1.36rem)!important;line-height:1.62!important;max-width:760px!important}.home-v21 .home-hero-copy-v61 .eyebrow.light{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;backdrop-filter:blur(10px)!important}.home-v21 .home-hero-copy-v61 .actions .btn{min-height:48px!important;border-radius:999px!important;padding:13px 18px!important;box-shadow:0 16px 36px rgba(0,0,0,.16)!important}.home-institution-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-top:-14px!important}.home-institution-strip article{position:relative!important;overflow:hidden!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(226,232,240,.9)!important;border-radius:24px!important;padding:22px!important;box-shadow:var(--public-shadow-soft)!important;backdrop-filter:blur(12px)!important;min-height:170px!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}.home-institution-strip article::after{content:""!important;position:absolute!important;right:-46px!important;bottom:-46px!important;width:120px!important;height:120px!important;border-radius:999px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--brand,#1f5eff) 18%,transparent),color-mix(in srgb,var(--accent,#14b8a6) 16%,transparent))!important}.home-institution-strip article:hover{transform:translateY(-4px)!important;box-shadow:0 24px 58px rgba(15,23,42,.11)!important;border-color:#bfdbfe!important}.home-institution-strip article span{color:var(--brand,#1f5eff)!important;font-weight:1000!important;letter-spacing:.08em!important}.home-institution-strip article h3{font-size:1.18rem!important;letter-spacing:-.04em!important}.home-institution-strip article p{color:var(--muted,#64748b)!important;line-height:1.5!important;margin:8px 0 0!important}.expertise-showcase-v116{position:relative!important;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 54%,#edf5ff 100%)!important;border:1px solid rgba(226,232,240,.92)!important;border-radius:34px!important;padding:clamp(24px,3.6vw,42px)!important;box-shadow:var(--public-shadow)!important;overflow:hidden!important}.expertise-showcase-v116::before{content:"";position:absolute;right:-120px;top:-130px;width:360px;height:360px;border-radius:999px;background:radial-gradient(circle,color-mix(in srgb,var(--brand,#1f5eff) 20%,transparent),transparent 66%)}.expertise-head-v116{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:end;margin-bottom:22px}.expertise-head-v116 h2{font-size:clamp(2rem,4vw,4.2rem)!important;line-height:.98!important;letter-spacing:-.075em!important;margin:10px 0 10px!important;max-width:880px!important;color:#0f172a!important}.expertise-head-v116 p{max-width:780px!important;color:var(--muted,#64748b)!important;margin:0!important;font-size:1.03rem!important;line-height:1.65!important}.expertise-actions-v116{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.expertise-grid-v116{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.expertise-card-v116{position:relative;display:grid!important;gap:12px!important;padding:22px!important;min-height:230px!important;background:#fff!important;border:1px solid rgba(226,232,240,.96)!important;border-radius:24px!important;color:inherit!important;box-shadow:0 12px 36px rgba(15,23,42,.055)!important;overflow:hidden!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}.expertise-card-v116:hover{transform:translateY(-5px)!important;box-shadow:0 24px 60px rgba(15,23,42,.12)!important;border-color:#bfdbfe!important}.expertise-card-v116::after{content:"";position:absolute;inset:auto -34px -48px auto;width:120px;height:120px;border-radius:999px;background:linear-gradient(135deg,#eff6ff,#dcfce7);opacity:.92}.expertise-icon-v116{width:56px;height:56px;border-radius:20px;background:linear-gradient(135deg,#eff6ff,#e0f2fe);display:grid;place-items:center;font-size:1.65rem;box-shadow:inset 0 0 0 1px #dbeafe}.expertise-card-v116 strong{font-size:1.22rem!important;line-height:1.15!important;letter-spacing:-.04em!important;color:#0f172a!important}.expertise-card-v116 small{color:var(--muted,#64748b)!important;line-height:1.55!important;font-size:.95rem!important}.expertise-card-v116 em{margin-top:auto;color:var(--brand,#1f5eff);font-style:normal;font-weight:1000;font-size:.9rem}.home-pulse-v71 a,.agenda-smart-v71,.content-hub-v71,.committee-home-v71,.split-v21>div,.home-cta-v21{border-radius:28px!important;box-shadow:var(--public-shadow-soft)!important}.home-pulse-v71 a:hover{transform:translateY(-4px)!important;box-shadow:0 24px 58px rgba(15,23,42,.11)!important}.agenda-smart-v71,.content-hub-v71,.committee-home-v71{background:rgba(255,255,255,.84)!important;backdrop-filter:blur(12px)!important}.home-v21 .section-head-v21 h2{letter-spacing:-.07em!important}.home-cta-v21{background:linear-gradient(135deg,#0b1730,#14356d 55%,var(--brand,#1f5eff))!important;color:#fff!important;padding:clamp(26px,4vw,48px)!important;position:relative!important;overflow:hidden!important}.home-cta-v21::after{content:"";position:absolute;right:-120px;top:-120px;width:360px;height:360px;border-radius:999px;background:rgba(255,255,255,.13)}.home-cta-v21 h2{font-size:clamp(2rem,4vw,4rem)!important;letter-spacing:-.075em!important;line-height:1!important;color:#fff!important}.home-cta-v21 p{color:rgba(255,255,255,.78)!important}.home-cta-v21 .eyebrow.light{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important}
.hero.slim,.public-page-head,.academic-hero,.verify-hero,.events-hero-v91{position:relative!important;overflow:hidden!important;border:1px solid rgba(226,232,240,.75)!important;border-radius:34px!important;background:linear-gradient(135deg,#08162d 0%,#14356d 52%,var(--brand,#1f5eff) 100%)!important;color:#fff!important;box-shadow:0 34px 90px rgba(15,23,42,.18)!important;padding:clamp(34px,5vw,64px)!important}.hero.slim::before,.public-page-head::before,.academic-hero::before,.verify-hero::before,.events-hero-v91::before{content:"";position:absolute;right:-80px;top:-110px;width:340px;height:340px;border-radius:999px;background:rgba(255,255,255,.15);pointer-events:none}.hero.slim h1,.public-page-head h1,.academic-hero h1,.verify-hero h1,.events-hero-v91 h1{font-size:clamp(2.45rem,6vw,5.7rem)!important;line-height:.95!important;letter-spacing:-.08em!important;margin:10px 0 14px!important;color:#fff!important}.hero.slim p,.public-page-head p,.academic-hero p,.verify-hero p,.events-hero-v91 p{font-size:clamp(1rem,1.45vw,1.22rem)!important;max-width:850px!important;color:rgba(255,255,255,.82)!important}.hero.slim .eyebrow,.public-page-head .eyebrow,.academic-hero .eyebrow,.verify-hero .eyebrow,.events-hero-v91 .eyebrow{background:rgba(255,255,255,.15)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important}.search-bar,.events-search-v91,.posts-search-v70,.posts-search-v71,.scic74-search,.sciv74-filter,.verify-search{background:rgba(255,255,255,.86)!important;border:1px solid rgba(226,232,240,.9)!important;border-radius:24px!important;box-shadow:var(--public-shadow-soft)!important;padding:14px!important;backdrop-filter:blur(12px)!important}.search-bar input,.search-bar select,.events-search-v91 input,.events-search-v91 select,.posts-search-v70 input,.posts-search-v70 select,.verify-search input{border-radius:16px!important;border-color:#dbe4f0!important;min-height:46px!important}.section.grid.three,.public-card-grid,.posts-grid-v70,.event-catalog-v91{gap:20px!important}.card,.image-card,.post-card-v70,.event-list-card-v91,.public-image-card,.partner-public-card,.verify-card,.location-detail .card,.sede-row-card-v88{border:1px solid rgba(226,232,240,.94)!important;border-radius:24px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 14px 42px rgba(15,23,42,.07)!important;overflow:hidden!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;backdrop-filter:blur(8px)!important}.card:hover,.image-card:hover,.post-card-v70:hover,.event-list-card-v91:hover,.public-image-card:hover,.partner-public-card:hover,.sede-row-card-v88:hover{transform:translateY(-4px)!important;box-shadow:0 24px 60px rgba(15,23,42,.12)!important;border-color:#bfdbfe!important}.image-card>img,.image-card>a>img,.public-image-card img{height:230px!important;object-fit:cover!important;background:linear-gradient(135deg,#f8fbff,#eff6ff)!important}.plan-card,.services.php .image-card{min-height:100%}.price{color:var(--brand,#1f5eff)!important}.capability,.tag-chip,.badge{font-weight:950!important}.btn{transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important}.btn:hover{transform:translateY(-2px)!important}.btn.primary{box-shadow:0 14px 32px color-mix(in srgb,var(--brand,#1f5eff) 24%,transparent)!important}.event-feature-panel-v91,.post-article-shell-v70,.scic74-hero,.sciv74-hero,.sede-hero-v88,.verify-result-wrap{border-radius:34px!important;box-shadow:var(--public-shadow)!important}.event-list-media-v91,.event-feature-media-v91,.agenda-feature-media-v71{background:linear-gradient(135deg,#f8fbff,#eef6ff)!important}.event-list-media-v91 img,.event-feature-media-v91 img,.agenda-feature-media-v71 img{border-radius:18px!important}.status-pill{border-radius:999px!important;font-weight:1000!important}.content-lead-v71,.content-list-v71,.resource-panel-v71,.agenda-feature-v71,.agenda-panel-v71,.committee-mini-v71,.plan-line-v21,.service-pill-v21,.partner-logo-row a{border:1px solid rgba(226,232,240,.92)!important;box-shadow:0 12px 34px rgba(15,23,42,.055)!important}.post-article-copy-v70,.post-rich-v70,.rich-content,.rich-output{font-size:1.04rem!important;line-height:1.78!important}.post-article-copy-v70 h2,.rich-content h2,.rich-output h2{letter-spacing:-.045em!important}.verify-seal{box-shadow:0 24px 60px rgba(15,23,42,.18)!important}.modal-card.auth-modal,.modal-card.wide{border-radius:28px!important;box-shadow:0 30px 100px rgba(15,23,42,.28)!important}.start-grid{gap:14px!important}.start-option{border-radius:20px!important;border:1px solid #dbe4f0!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}.start-option:hover{border-color:#bfdbfe!important;transform:translateY(-2px)!important}.reveal-public-v116{opacity:0;transform:translateY(18px);transition:opacity .45s ease,transform .45s ease}.reveal-public-v116.is-visible{opacity:1;transform:none}
@media(max-width:1120px){.modern-public-topbar-v116{grid-template-columns:auto 1fr!important}.public-desktop-nav-v116{display:none!important}.modern-public-actions-v116{justify-content:flex-end!important}.expertise-grid-v116{grid-template-columns:repeat(2,minmax(0,1fr))!important}.expertise-head-v116{grid-template-columns:1fr!important}.expertise-actions-v116{justify-content:flex-start}.home-institution-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.site-footer .footer-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:760px){body.public-body main.container.public-main-v116{width:calc(100vw - 28px)!important;padding-top:18px!important}.modern-public-topbar-v116{padding:10px 14px!important;gap:10px!important}.public-brand-v116 span{max-width:52vw!important;overflow:hidden!important;text-overflow:ellipsis!important}.public-verify-link-v116{display:none!important}.home-v21 .home-hero-v61{min-height:590px!important;border-radius:24px!important}.home-v21 .home-hero-v61::before{inset:10px!important;border-radius:18px!important}.home-v21 .home-hero-copy-v61 h1{font-size:clamp(2.55rem,12vw,4.8rem)!important}.home-institution-strip,.expertise-grid-v116,.home-pulse-v71,.site-footer .footer-grid{grid-template-columns:1fr!important}.expertise-showcase-v116,.hero.slim,.public-page-head,.academic-hero,.verify-hero,.events-hero-v91{border-radius:24px!important;padding:24px!important}.expertise-card-v116{min-height:0!important}.image-card>img,.image-card>a>img,.public-image-card img{height:210px!important}.footer-bottom,.site-footer .footer-grid{width:calc(100vw - 28px)!important}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr!important}.search-bar{display:grid!important;grid-template-columns:1fr!important}.search-bar .btn{width:100%!important}.site-footer{margin-top:20px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}.reveal-public-v116{opacity:1!important;transform:none!important}}
/* Overrides with higher specificity than inline home rules. */
body.public-body .home-v21 .home-hero-v61{border-radius:clamp(26px,3vw,42px)!important;box-shadow:0 36px 110px rgba(15,23,42,.22)!important;min-height:min(690px,calc(100vh - 160px))!important;isolation:isolate!important}
body.public-body .home-v21 .home-hero-v61::before{content:""!important;display:block!important;position:absolute!important;inset:18px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:calc(clamp(26px,3vw,42px) - 12px)!important;z-index:2!important;pointer-events:none!important;background:transparent!important}
body.public-body .home-v21 .home-hero-v61::after{display:none!important;content:none!important}
body.public-body .home-v21 .home-hero-copy-v61 h1{font-size:clamp(3.05rem,7.2vw,6.9rem)!important;letter-spacing:-.087em!important;max-width:980px!important}
body.public-body .home-v21 .home-hero-copy-v61 p{font-size:clamp(1.08rem,1.45vw,1.36rem)!important;line-height:1.62!important;max-width:760px!important}
@media(max-width:760px){body.public-body .home-v21 .home-hero-v61{min-height:590px!important;border-radius:24px!important}body.public-body .home-v21 .home-hero-v61::before{inset:10px!important;border-radius:18px!important}body.public-body .home-v21 .home-hero-copy-v61 h1{font-size:clamp(2.55rem,12vw,4.8rem)!important}}

/* IEICII Public Presentation Patch v118
   - Banner principal opcional a ancho completo.
   - Membresías/servicios con tarjetas limpias.
   - Paletas públicas aplicadas por variables CSS desde Settings. */
body.public-body .home-v21 .home-hero-v61.full-bleed-v118{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  border-radius:0!important;
  min-height:min(720px,calc(100vh - 112px))!important;
}
body.public-body .home-v21 .home-hero-v61.full-bleed-v118::before{
  inset:clamp(14px,2vw,24px)!important;
  border-radius:clamp(18px,2.8vw,38px)!important;
}
body.public-body .home-v21 .home-hero-v61.full-bleed-v118 .home-hero-content-v61{
  width:min(var(--ie-public-max,1280px),calc(100vw - 56px))!important;
  margin-inline:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.public-body .home-v21 .home-hero-v61.full-bleed-v118 .home-hero-dots-v61{
  left:max(28px,calc((100vw - var(--ie-public-max,1280px)) / 2))!important;
}
body.public-body .home-v21 .home-hero-v61.full-bleed-v118.text-center .home-hero-dots-v61{
  left:50%!important;
}
body.public-body .home-v21 .home-hero-v61.full-bleed-v118.text-right .home-hero-dots-v61{
  left:auto!important;
  right:max(28px,calc((100vw - var(--ie-public-max,1280px)) / 2))!important;
}
.home-membership-services-v118{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)!important;
  gap:24px!important;
  align-items:stretch!important;
}
.home-membership-panel-v118,.home-services-panel-v118{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--line,#e6ebf2) 92%,transparent)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--surface,#fff) 96%,transparent),color-mix(in srgb,var(--surface-2,#f8fbff) 88%,transparent))!important;
  border-radius:32px!important;
  box-shadow:0 22px 68px rgba(15,23,42,.09)!important;
  padding:clamp(22px,3vw,34px)!important;
  backdrop-filter:blur(12px)!important;
}
.home-membership-panel-v118::after,.home-services-panel-v118::after{
  content:""!important;
  position:absolute!important;
  right:-92px!important;
  top:-118px!important;
  width:260px!important;
  height:260px!important;
  border-radius:999px!important;
  background:radial-gradient(circle,color-mix(in srgb,var(--brand,#1f5eff) 16%,transparent),transparent 68%)!important;
  pointer-events:none!important;
}
.home-membership-services-v118 .section-head-v21{position:relative!important;z-index:1!important;margin-bottom:18px!important}
.home-membership-grid-v118{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.membership-plan-v118{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  color:inherit!important;
  background:var(--surface,#fff)!important;
  border:1px solid color-mix(in srgb,var(--line,#e6ebf2) 92%,transparent)!important;
  border-radius:24px!important;
  padding:18px!important;
  min-height:240px!important;
  box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.membership-plan-v118:hover{transform:translateY(-4px)!important;box-shadow:0 22px 58px rgba(15,23,42,.11)!important;border-color:color-mix(in srgb,var(--brand,#1f5eff) 28%,var(--line,#e6ebf2))!important}
.membership-plan-v118 header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
.membership-plan-v118 h3{margin:0!important;font-size:1.13rem!important;line-height:1.1!important;letter-spacing:-.04em!important;color:var(--text,#0f172a)!important}
.membership-plan-v118 .plan-badge-v118{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:36px!important;height:36px!important;border-radius:13px!important;background:color-mix(in srgb,var(--brand,#1f5eff) 10%,#fff)!important;color:var(--brand,#1f5eff)!important;font-weight:1000!important;flex:none!important}
.membership-plan-v118 .plan-desc-v118{margin:0!important;color:var(--muted,#64748b)!important;font-size:.92rem!important;line-height:1.5!important;display:-webkit-box!important;-webkit-line-clamp:4!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.membership-plan-v118 .plan-price-v118{margin-top:auto!important;display:flex!important;align-items:flex-end!important;gap:6px!important;flex-wrap:wrap!important;color:var(--brand,#1f5eff)!important;font-weight:1000!important;letter-spacing:-.035em!important}
.membership-plan-v118 .plan-price-v118 strong{font-size:1.45rem!important;color:var(--brand,#1f5eff)!important;line-height:1!important}
.membership-plan-v118 .plan-price-v118 span{font-size:.78rem!important;color:var(--muted,#64748b)!important;font-weight:900!important}
.membership-features-v118{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important;list-style:none!important}
.membership-features-v118 li{border-radius:999px!important;background:color-mix(in srgb,var(--brand,#1f5eff) 8%,#fff)!important;border:1px solid color-mix(in srgb,var(--brand,#1f5eff) 14%,var(--line,#e6ebf2))!important;color:color-mix(in srgb,var(--text,#0f172a) 82%,var(--brand,#1f5eff))!important;padding:6px 9px!important;font-size:.75rem!important;font-weight:900!important;line-height:1!important}
.membership-plan-v118 em{font-style:normal!important;color:var(--brand,#1f5eff)!important;font-weight:1000!important;font-size:.88rem!important;margin-top:2px!important}
.home-services-grid-v118{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.service-card-v118{display:grid!important;grid-template-columns:44px 1fr!important;gap:12px!important;align-items:center!important;color:inherit!important;border:1px solid color-mix(in srgb,var(--line,#e6ebf2) 92%,transparent)!important;border-radius:22px!important;background:var(--surface,#fff)!important;padding:16px!important;box-shadow:0 12px 32px rgba(15,23,42,.05)!important;min-height:96px!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.service-card-v118:hover{transform:translateY(-3px)!important;box-shadow:0 20px 48px rgba(15,23,42,.10)!important;border-color:color-mix(in srgb,var(--accent,#14b8a6) 28%,var(--line,#e6ebf2))!important}
.service-card-v118 i{width:44px!important;height:44px!important;border-radius:15px!important;display:grid!important;place-items:center!important;background:color-mix(in srgb,var(--accent,#14b8a6) 12%,#fff)!important;color:var(--accent,#14b8a6)!important;font-style:normal!important;font-weight:1000!important}
.service-card-v118 span{display:block!important;color:var(--muted,#64748b)!important;font-size:.78rem!important;font-weight:950!important;margin-bottom:5px!important}
.service-card-v118 strong{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;color:var(--text,#0f172a)!important;line-height:1.14!important;letter-spacing:-.025em!important}
.public-empty-v118{position:relative!important;z-index:1!important;border:1px dashed color-mix(in srgb,var(--line,#e6ebf2) 94%,var(--brand,#1f5eff))!important;border-radius:22px!important;background:color-mix(in srgb,var(--surface-2,#f8fbff) 82%,#fff)!important;padding:20px!important;color:var(--muted,#64748b)!important;line-height:1.55!important}
.public-empty-v118 strong{display:block!important;color:var(--text,#0f172a)!important;margin-bottom:5px!important}
.palette-preview-v118{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin-top:8px}.palette-preview-v118 span{height:18px;border-radius:999px;border:1px solid rgba(15,23,42,.10)}
@media(max-width:1180px){.home-membership-services-v118{grid-template-columns:1fr!important}.home-membership-grid-v118{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:860px){.home-membership-grid-v118,.home-services-grid-v118{grid-template-columns:1fr!important}.home-membership-panel-v118,.home-services-panel-v118{border-radius:24px!important}.membership-plan-v118{min-height:0!important}body.public-body .home-v21 .home-hero-v61.full-bleed-v118 .home-hero-content-v61{width:calc(100vw - 28px)!important}body.public-body .home-v21 .home-hero-v61.full-bleed-v118 .home-hero-dots-v61,body.public-body .home-v21 .home-hero-v61.full-bleed-v118.text-right .home-hero-dots-v61{left:28px!important;right:auto!important}}


/* IEICII Public Presentation Patch v119
   Ajustes de aire visual: bloques menos pegados a los bordes y membresías a ancho completo. */
body.public-body{
  --public-section-pad-x:clamp(30px,4.8vw,70px);
  --public-section-pad-y:clamp(30px,4.2vw,58px);
}
body.public-body main.container.public-main-v116{
  width:min(var(--ie-public-max,1280px),calc(100vw - clamp(32px,5vw,82px)))!important;
}
.expertise-showcase-v116{
  padding:var(--public-section-pad-y) var(--public-section-pad-x)!important;
}
.expertise-head-v116{
  gap:clamp(18px,3vw,42px)!important;
  margin-bottom:clamp(22px,2.6vw,34px)!important;
  padding-inline:clamp(2px,.8vw,10px)!important;
}
.expertise-head-v116 h2{
  max-width:920px!important;
  margin-top:12px!important;
  margin-bottom:14px!important;
}
.expertise-actions-v116{
  padding-bottom:6px!important;
}
.expertise-grid-v116{
  gap:clamp(16px,2vw,24px)!important;
}
.expertise-card-v116{
  padding:clamp(22px,2.4vw,30px)!important;
  min-height:245px!important;
}
.home-membership-services-v118{
  grid-template-columns:1fr!important;
  gap:clamp(24px,3vw,34px)!important;
}
.home-membership-panel-v118,.home-services-panel-v118{
  padding:var(--public-section-pad-y) var(--public-section-pad-x)!important;
  border-radius:clamp(28px,3vw,38px)!important;
}
.home-membership-services-v118 .section-head-v21{
  margin-bottom:clamp(20px,2.4vw,30px)!important;
}
.home-membership-grid-v118{
  grid-template-columns:repeat(3,minmax(250px,1fr))!important;
  gap:clamp(16px,2vw,24px)!important;
}
.membership-plan-v118{
  min-height:270px!important;
  padding:clamp(20px,2.2vw,28px)!important;
  border-radius:26px!important;
}
.membership-plan-v118 h3{
  font-size:clamp(1.15rem,1.35vw,1.42rem)!important;
}
.membership-plan-v118 .plan-desc-v118{
  font-size:.97rem!important;
  -webkit-line-clamp:3!important;
}
.membership-plan-v118 .plan-price-v118 strong{
  font-size:clamp(1.55rem,2.2vw,2.25rem)!important;
}
.membership-features-v118{
  gap:8px!important;
}
.membership-features-v118 li{
  padding:7px 10px!important;
  font-size:.78rem!important;
}
.home-services-grid-v118{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(14px,1.8vw,20px)!important;
}
.service-card-v118{
  min-height:118px!important;
  padding:clamp(16px,1.8vw,22px)!important;
  align-items:flex-start!important;
}
.service-card-v118 strong{
  -webkit-line-clamp:3!important;
}

@media(max-width:1180px){
  body.public-body main.container.public-main-v116{width:min(var(--ie-public-max,1280px),calc(100vw - 36px))!important}
  .home-services-grid-v118{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .expertise-head-v116{grid-template-columns:1fr!important;align-items:start!important}
  .expertise-actions-v116{justify-content:flex-start!important}
  .home-membership-grid-v118{grid-template-columns:1fr!important}
}
@media(max-width:860px){
  body.public-body{--public-section-pad-x:22px;--public-section-pad-y:26px}
  body.public-body main.container.public-main-v116{width:calc(100vw - 28px)!important}
  .expertise-grid-v116,.home-services-grid-v118{grid-template-columns:1fr!important}
  .expertise-card-v116,.membership-plan-v118{min-height:0!important}
}

/* v120: membresías públicas con matriz configurable */
.public-membership-hero-v120{margin-top:18px}
.public-membership-cards-v120{align-items:stretch}
.public-plan-card-v120{display:flex;flex-direction:column;height:100%}
.public-plan-card-v120 .card-body{display:flex;flex-direction:column;gap:10px;flex:1}
.public-plan-card-v120 .price{margin:0}
.public-plan-card-v120 .btn{margin-top:auto}
.public-plan-features-v120{margin:4px 0 12px}
.membership-comparison-v120{padding:30px;overflow:hidden}
.membership-comparison-v120 .section-head{margin-bottom:18px}
.membership-comparison-table-v120{min-width:840px}
.membership-comparison-table-v120 th{white-space:nowrap}
.membership-comparison-table-v120 td:first-child{min-width:240px}
.membership-comparison-table-v120 td small{display:block;color:var(--public-muted,#64748b);margin-top:4px;line-height:1.35}
.comparison-ok-v120{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:#eafaf2;color:#0f8f56;font-weight:950;margin-right:6px}
.membership-comparison-table-v120 td strong{font-weight:950;color:var(--public-title,#0f172a)}
@media(max-width:900px){.public-membership-cards-v120{grid-template-columns:1fr!important}.membership-comparison-v120{padding:20px}}

/* v125: sincronización real de tema global + fondos públicos opcionales. */
body.public-body{background:var(--bg,#f6f8fb)!important;color:var(--text,#182234)!important}
body.public-body .modern-public-topbar-v116{background:color-mix(in srgb,var(--topbar-bg,var(--surface,#fff)) 88%,transparent)!important;border-color:color-mix(in srgb,var(--line,#e6ebf2) 86%,transparent)!important}
body.public-body .public-desktop-nav-v116 a:hover,
body.public-body .public-desktop-nav-v116 a.active,
body.public-body .modern-public-actions-v116 .btn.soft,
body.public-body .home-v21 .btn.soft{background:color-mix(in srgb,var(--brand,#1f5eff) 10%,var(--surface,#fff))!important;color:var(--brand,#1f5eff)!important;border-color:color-mix(in srgb,var(--brand,#1f5eff) 20%,var(--line,#e6ebf2))!important}
body.public-body .hero.slim,
body.public-body .public-page-head,
body.public-body .academic-hero,
body.public-body .verify-hero,
body.public-body .events-hero-v91,
body.public-body .home-cta-v21{background:linear-gradient(135deg,color-mix(in srgb,var(--brand-2,#0e3fc2) 88%,#020617),var(--brand,#1f5eff))!important}
body.public-body .card,
body.public-body .image-card,
body.public-body .post-card-v70,
body.public-body .event-list-card-v91,
body.public-body .public-image-card,
body.public-body .partner-public-card,
body.public-body .verify-card,
body.public-body .location-detail .card,
body.public-body .sede-row-card-v88,
body.public-body .expertise-card-v116,
body.public-body .modern-section-v116,
body.public-body .membership-plan-v118,
body.public-body .service-card-v118{background:color-mix(in srgb,var(--surface,#fff) 92%,transparent)!important;border-color:var(--line,#e6ebf2)!important;color:var(--text,#182234)!important}
body.public-body .price,
body.public-body .expertise-card-v116 em,
body.public-body .content-lead-copy-v71 b,
body.public-body .agenda-panel-head-v71 a,
body.public-body .content-panel-head-v71 a{color:var(--brand,#1f5eff)!important}
body.public-body .badge,
body.public-body .capability,
body.public-body .tag-chip,
body.public-body .eyebrow{background:color-mix(in srgb,var(--brand,#1f5eff) 10%,var(--surface,#fff))!important;color:var(--brand,#1f5eff)!important;border-color:color-mix(in srgb,var(--brand,#1f5eff) 18%,var(--line,#e6ebf2))!important}
body.public-body .site-footer{background:linear-gradient(135deg,color-mix(in srgb,var(--footer-bg,#0e1525) 88%,#020617),color-mix(in srgb,var(--brand-2,#0e3fc2) 30%,var(--footer-bg,#0e1525)))!important}
body.public-body .public-bg-v125{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:1}
body.public-body[data-public-bg="none"] .public-bg-v125{display:none!important}
body.public-body .public-bg-v125::before{content:"";position:absolute;inset:0;background-image:linear-gradient(color-mix(in srgb,var(--text,#0f172a) 4%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--text,#0f172a) 4%,transparent) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(180deg,rgba(0,0,0,.68),rgba(0,0,0,.22));opacity:.42}
body.public-body[data-public-bg="grid"] .public-bg-v125::before{opacity:.72;background-size:54px 54px}
body.public-body[data-public-bg="academic"] .public-bg-v125 span,
body.public-body[data-public-bg="soft-waves"] .public-bg-v125 span,
body.public-body[data-public-bg="constellation"] .public-bg-v125 span,
body.public-body[data-public-bg="seasonal"] .public-bg-v125 span{position:absolute;border-radius:999px;filter:blur(4px);opacity:.45;background:color-mix(in srgb,var(--brand,#1f5eff) 18%,transparent)}
body.public-body .public-bg-v125 span:nth-child(1){width:360px;height:360px;left:-140px;top:12vh;background:color-mix(in srgb,var(--brand,#1f5eff) 16%,transparent)}
body.public-body .public-bg-v125 span:nth-child(2){width:440px;height:440px;right:-190px;top:24vh;background:color-mix(in srgb,var(--accent,#14b8a6) 15%,transparent)}
body.public-body .public-bg-v125 span:nth-child(3){width:280px;height:280px;left:42%;bottom:-140px;background:color-mix(in srgb,var(--brand-2,#0e3fc2) 12%,transparent)}
body.public-body .public-bg-v125 span:nth-child(4){display:none;width:160px;height:160px;right:18%;bottom:12vh;background:color-mix(in srgb,var(--accent,#14b8a6) 10%,transparent)}
body.public-body .public-bg-v125 span:nth-child(5){display:none;width:110px;height:110px;left:16%;bottom:24vh;background:color-mix(in srgb,var(--brand,#1f5eff) 9%,transparent)}
body.public-body[data-public-bg="soft-waves"] .public-bg-v125 span{border-radius:44% 56% 60% 40%;filter:blur(10px);opacity:.34}
body.public-body[data-public-bg="soft-waves"] .public-bg-v125 span:nth-child(4),
body.public-body[data-public-bg="soft-waves"] .public-bg-v125 span:nth-child(5){display:block}
body.public-body[data-public-bg="constellation"] .public-bg-v125::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 24%,color-mix(in srgb,var(--brand,#1f5eff) 34%,transparent) 0 2px,transparent 3px),radial-gradient(circle at 64% 18%,color-mix(in srgb,var(--accent,#14b8a6) 34%,transparent) 0 2px,transparent 3px),radial-gradient(circle at 78% 74%,color-mix(in srgb,var(--brand-2,#0e3fc2) 28%,transparent) 0 2px,transparent 3px),linear-gradient(115deg,transparent 0 18%,color-mix(in srgb,var(--brand,#1f5eff) 7%,transparent) 18% 18.2%,transparent 18.4% 100%);opacity:.55}
body.public-body[data-public-bg="seasonal"][data-public-season="summer"] .public-bg-v125 span:nth-child(2){background:color-mix(in srgb,#f59e0b 18%,transparent)}
body.public-body[data-public-bg="seasonal"][data-public-season="autumn"] .public-bg-v125 span:nth-child(2){background:color-mix(in srgb,#c2410c 16%,transparent)}
body.public-body[data-public-bg="seasonal"][data-public-season="winter"] .public-bg-v125 span:nth-child(2){background:color-mix(in srgb,#38bdf8 15%,transparent)}
body.public-body[data-public-bg="seasonal"][data-public-season="spring"] .public-bg-v125 span:nth-child(2){background:color-mix(in srgb,#22c55e 15%,transparent)}
body.public-body[data-public-bg-motion="1"] .public-bg-v125 span{animation:ie-public-bg-float-v125 18s ease-in-out infinite alternate}
body.public-body[data-public-bg-motion="1"] .public-bg-v125 span:nth-child(2){animation-duration:24s;animation-delay:-6s}
body.public-body[data-public-bg-motion="1"] .public-bg-v125 span:nth-child(3){animation-duration:20s;animation-delay:-9s}
@keyframes ie-public-bg-float-v125{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(24px,-18px,0) scale(1.06)}}
@media (prefers-reduced-motion:reduce){body.public-body .public-bg-v125 span{animation:none!important}}

/* Administración: presets más cómodos cuando hay muchos temas. */
.theme-preset-actions-v62{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}.theme-preset-btn-v62{min-height:92px!important}
