/* Encuadre editorial CICO: altura ligada a la composición, no a la pantalla. */
.cico-page .cico-xpertum-hero {
  --cico-xp-brand: #004F85;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 79, 133, .46), transparent 29%),
    repeating-linear-gradient(116deg, transparent 0 205px, rgba(0, 79, 133, .17) 206px 209px, transparent 210px 415px),
    #05080b;
}

.cico-xp-portrait > span { background: var(--cico-xp-brand); }
.cico-xp-top i,
.cico-xp-intro .cico-kicker,
.cico-xp-intro a span,
.cico-xp-grid h1 em { color: var(--cico-xp-brand); }
.cico-xp-intro a { border-color: var(--cico-xp-brand); }
.cico-page .cico-xp-top-credentials { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; height: 3.75rem; }
.cico-page .cico-xp-social a { font-size: 0; }
.cico-page .cico-xp-social svg { display: block; width: .82rem; height: .82rem; }
.cico-page .cico-intro-copy { align-self: end; max-width: 29rem; }
.cico-page .cico-intro-copy p { margin: 0; }
.cico-page .cico-intro-copy a { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--cico-xp-brand); color: #102a46; font: 800 .72rem/1 Montserrat, Arial, sans-serif; letter-spacing: .08em; text-decoration: none; transition: color .2s ease, gap .2s ease; }
.cico-page .cico-intro-copy a span { color: var(--cico-xp-brand); font-size: 1.2rem; line-height: .6; }
.cico-page .cico-intro-copy a:hover { color: var(--cico-xp-brand); gap: .95rem; }
.cico-page .cico-audience-benefits { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(0, 31, 55, .96) 0%, rgba(0, 49, 84, .92) 49%, rgba(0, 48, 83, .82) 100%), url('/assets/img/cico-audiencia-beneficios-v1.png') center / cover no-repeat; color: #fff; }
.cico-page .cico-audience-benefits::before { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(115deg, rgba(0, 225, 196, .08), transparent 42%); }
.cico-page .cico-audience-benefits-grid { position: relative; z-index: 1; }
.cico-page .cico-audience-benefits .cico-kicker { color: #00e1c4; }
.cico-page .cico-audience-benefits h2 { max-width: 58rem; color: #fff; }
.cico-page .cico-audience-benefits-content { display: grid; grid-template-columns: minmax(16rem, .72fr) minmax(28rem, 1.28fr); gap: clamp(3rem, 8vw, 9rem); margin-top: clamp(3.5rem, 7vw, 6.5rem); }
.cico-page .cico-audience-target > span, .cico-page .cico-audience-benefit-list > span { display: block; margin-bottom: 1.25rem; color: #00e1c4; font: 800 .68rem/1 Montserrat, Arial, sans-serif; letter-spacing: .13em; }
.cico-page .cico-audience-target p { max-width: 25rem; margin: 0; color: #fff; font: 600 clamp(1.05rem, 1.4vw, 1.28rem)/1.55 Inter, Arial, sans-serif; }
.cico-page .cico-audience-target ul { margin: 1.65rem 0 0; padding: 1.45rem 0 0; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.82); font: 500 .9rem/1.55 Inter, Arial, sans-serif; list-style: none; }
.cico-page .cico-audience-target li { position: relative; margin-top: .75rem; padding-left: 1rem; }
.cico-page .cico-audience-target li::before { position: absolute; left: 0; color: #00e1c4; content: '•'; }
.cico-page .cico-audience-benefit-list { border-top: 1px solid rgba(255,255,255,.32); }
.cico-page .cico-audience-benefit-list > span { margin-top: -2.7rem; }
.cico-page .cico-audience-benefit-list details { border-bottom: 1px solid rgba(255,255,255,.28); transition: border-color .25s ease; }
.cico-page .cico-audience-benefit-list details[open] { border-color: rgba(0,225,196,.72); }
.cico-page .cico-audience-benefit-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.15rem 0; color: #fff; cursor: pointer; font: 800 1.03rem/1.25 Montserrat, Arial, sans-serif; list-style: none; transition: color .2s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.cico-page .cico-audience-benefit-list summary::-webkit-details-marker { display: none; }
.cico-page .cico-audience-benefit-list summary::after { flex: 0 0 auto; color: #00e1c4; content: '+'; font: 400 1.65rem/.8 Inter, Arial, sans-serif; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.cico-page .cico-audience-benefit-list details[open] summary::after { content: '−'; }
.cico-page .cico-audience-benefit-list details[open] summary { color: #00e1c4; }
.cico-page .cico-qa-answer { overflow: hidden; }
.cico-page .cico-audience-benefit-list p { max-width: 36rem; margin: -.15rem 0 1.2rem; color: rgba(255,255,255,.8); font: 500 .9rem/1.58 Inter, Arial, sans-serif; }
.cico-page .cico-audience-benefit-list details[open] .cico-qa-answer { animation: cico-qa-reveal .3s cubic-bezier(.22,1,.36,1) both; }
.cico-page .cico-audience-benefit-list summary:focus-visible { outline: 2px solid #00e1c4; outline-offset: -2px; }
@keyframes cico-qa-reveal { from { opacity: 0; transform: translateY(-.35rem); } to { opacity: 1; transform: translateY(0); } }
.cico-page .cico-xp-alliance { font-size: .62rem; white-space: nowrap; }
.cico-page .cico-xp-credentials-divider { width: 1px; height: 2.25rem; background: rgba(180, 192, 207, .35); }
.cico-page .cico-xp-accreditation { display: flex; flex: 0 0 auto; align-items: center; gap: .625rem; width: auto; min-height: 3.75rem; color: #dce5ed; text-decoration: none; font-family: Montserrat, Arial, sans-serif; letter-spacing: .08em; }
.cico-page .cico-xp-medallion { display: block; flex: 0 0 3.75rem; width: 3.75rem; height: 3.75rem; filter: drop-shadow(0 .25rem .5rem rgba(0, 0, 0, .3)); transition: transform .25s ease, filter .25s ease; }
.cico-page .cico-xp-accreditation-copy { display: grid; gap: .18rem; text-align: left; white-space: nowrap; }
.cico-page .cico-xp-accreditation-copy small { color: #9eb0c1; font: 800 .51rem/1 Montserrat, Arial, sans-serif; letter-spacing: .13em; }
.cico-page .cico-xp-accreditation-copy strong { color: #fff; font: 800 .68rem/1 Montserrat, Arial, sans-serif; letter-spacing: .1em; }
.cico-page .cico-xp-accreditation-copy i { margin-left: .25rem; color: var(--cico-xp-brand); font-style: normal; }
.cico-xp-accreditation:hover, .cico-xp-accreditation:focus-visible { color: #fff; outline: 0; }
.cico-xp-accreditation:hover .cico-xp-medallion, .cico-xp-accreditation:focus-visible .cico-xp-medallion { filter: drop-shadow(0 .25rem .75rem rgba(0, 79, 133, .65)); transform: translateY(-.125rem); }

@media (min-width: 621px) {
  .cico-page .cico-xp-top-credentials { transform: translateY(-.5rem); }
  .cico-page .cico-xp-accreditation { min-height: 3.25rem; }
  .cico-page .cico-xp-medallion { flex-basis: 3.25rem; width: 3.25rem; height: 3.25rem; }
}

@media (min-width: 1201px) {
  /* En escritorio grande, la acreditación funciona como sello protagonista. */
  .cico-page .cico-xp-accreditation-copy { display: none; }
  .cico-page .cico-xp-credentials-divider { display: none; }
  .cico-page .cico-xp-accreditation {
    position: absolute;
    top: clamp(5.5rem, 8vw, 8rem);
    left: 54%;
    right: auto;
    transform: translateX(-20rem);
    min-height: 9rem;
    gap: 1rem;
  }
  .cico-page .cico-xp-medallion {
    flex-basis: 10rem;
    width: 10rem;
    height: 10rem;
  }
  .cico-page .cico-xp-accreditation-copy {
    display: grid;
    max-width: 11rem;
    gap: .35rem;
    text-align: left;
    white-space: normal;
  }
  .cico-page .cico-xp-accreditation-copy small { font-size: .64rem; line-height: 1.25; }
  .cico-page .cico-xp-accreditation-copy strong { font-size: .9rem; line-height: 1.25; }
  .cico-page .cico-xp-accreditation-extra { display: none; }

  .cico-page .cico-xpertum-hero {
    height: 45.5rem;
    min-height: 0;
  }

  .cico-xp-shell {
    position: relative;
    min-height: 100%;
    padding: 1.5rem 0 0;
  }

  /* La badge debe medirse contra el lienzo del hero, no contra la barra superior. */
  .cico-page .cico-xp-top { position: static; }

  .cico-xp-grid {
    min-height: 36rem;
    transform: translateY(-.75rem);
  }

  .cico-xp-portrait { height: 39rem; }
  .cico-xp-portrait img { height: 45rem; }

  .cico-xp-bottom {
    top: -4rem;
    padding-bottom: .5rem;
  }
}

@media (max-width: 980px) {
  .cico-page .cico-xp-top-credentials { align-items: center; }
  .cico-page .cico-audience-benefits-content { grid-template-columns: 1fr; gap: 4.5rem; }
  .cico-page .cico-audience-benefit-list > span { margin-top: -2.7rem; }
  .cico-page .cico-xpertum-hero {
    background:
      radial-gradient(circle at 80% 18%, rgba(0, 79, 133, .38), transparent 35%),
      #05080b;
  }
}

@media (max-width: 620px) {
  .cico-page .cico-xp-top { align-items: center; gap: .75rem; }
  .cico-page .cico-xp-top > span { flex: 0 1 auto; white-space: nowrap; }
  .cico-page .cico-xp-top-credentials { flex-direction: column; align-items: flex-end; gap: .375rem; width: 10rem; max-width: 10rem; height: auto; }
  .cico-page .cico-xp-alliance { display: none; }
  .cico-xp-credentials-divider { display: none; }
  .cico-page .cico-xp-accreditation { justify-content: flex-end; min-height: 3rem; gap: .5rem; width: 100%; }
  .cico-page .cico-xp-medallion { flex-basis: 3rem; width: 3rem; height: 3rem; }
  .cico-page .cico-xp-accreditation-copy { max-width: 7rem; white-space: normal; text-align: right; }
  .cico-page .cico-xp-accreditation-copy small { font-size: .45rem; line-height: 1.1; }
  .cico-page .cico-xp-accreditation-copy strong { font-size: .58rem; line-height: 1.1; }
  .cico-page .cico-audience-benefits-content { grid-template-columns: 1fr; gap: 3.5rem; }
  .cico-page .cico-audience-benefit-list > span { margin-top: -2.25rem; }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .cico-xp-shell { width: min(100% - 40px, 960px); }
  .cico-xp-grid { grid-template-columns: 1fr 1fr; min-height: 650px; }
  .cico-xp-intro { grid-column: 1; align-self: end; padding-bottom: 45px; }
  .cico-xp-portrait { grid-column: 2; grid-row: 1 / 3; height: 610px; }
  .cico-xp-grid h1 {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 1 / 3;
    grid-row: 2;
    width: auto;
    margin: 0;
    transform: none;
    align-self: start;
    font-size: clamp(3.8rem, 10vw, 6.5rem);
  }
  .cico-xp-portrait img { height: 560px; }
  .cico-xp-portrait > span { width: min(52vw, 430px); }
  .cico-xp-bottom { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cico-page .cico-audience-benefit-list details,
  .cico-page .cico-audience-benefit-list summary,
  .cico-page .cico-audience-benefit-list summary::after { transition: none; }
  .cico-page .cico-audience-benefit-list details[open] .cico-qa-answer { animation: none; }
}
