/*:root {
  --min-morado: #3d1a78;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #fff;
}

 
.tirilla-f {
  background: #fff;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  padding: 20px 0 16px;
  user-select: none;
}

.tirilla-f__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  height: 158px;
  overflow-x: clip;
  overflow-y: visible;
}

 
.tirilla-f__titles {
  display: flex;
  align-items: flex-end;
  padding: 0 32px 6px;
  gap: 0;
}
.tirilla-f__title-fixed {
  flex-shrink: 0;
  width: 480px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(180, 160, 220, 0.5);
  pointer-events: none;
  white-space: nowrap;
}
.tirilla-f__title-carousel {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(180, 160, 220, 0.5);
  pointer-events: none;
  white-space: nowrap;
}

 
.tirilla-f__fixed-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.tirilla-f__fixed {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tirilla-f__mobile-label { display: none; }


.tirilla-f__item {
  position: relative;
  flex: 0 0 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.tirilla-f__logo-wrap {
  width: 108px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: bottom center;
  transition: transform 0.1s cubic-bezier(0.34, 1.4, 0.64, 1);
  will-change: transform;
}

 
.tirilla-f__sigla {
  font-size: 18px;
  font-weight: 900;
  color: #c5bedd;
  letter-spacing: 1.5px;
  white-space: nowrap;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.tirilla-f__sigla--active {
  color: var(--min-morado);
  text-shadow: 0 0 18px rgba(61,26,120,0.4), 0 0 36px rgba(61,26,120,0.18);
}
 
.tirilla-f__svg-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 36px;
  color: #c5bedd;
  transition: color 0.25s ease, filter 0.25s ease;
}
.tirilla-f__svg-logo svg {
  max-width: 104px;
  max-height: 36px;
  width: auto;
  height: auto;
  display: block;
}

 
.tirilla-f__nombre {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.2px;
  color: transparent;
  transition: color 0.22s ease;
  pointer-events: none;
  white-space: normal;
}
.tirilla-f__nombre--active { color: var(--min-morado); }

 
.tirilla-f__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent 10%, #ddd8f0 40%, #ddd8f0 60%, transparent 90%);
  flex-shrink: 0;
  margin: 0 20px;
}

 
.tirilla-f__carousel-section {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
}
.tirilla-f__carousel-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  height: 100%;
}
.tirilla-f__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 28px;
  color: #c5bedd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  padding: 0;
  font-family: inherit;
}
.tirilla-f__arrow:hover {
  color: var(--min-morado);
  background: rgba(61,26,120,0.06);
}
.tirilla-f__carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}
.tirilla-f__carousel::-webkit-scrollbar { display: none; }

 
.tirilla-f__item--carousel {
  position: relative;
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.tirilla-f__logo-wrap--carousel {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
  will-change: transform;
}
.tirilla-f__svg-logo--carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 56px;
  color: #c5bedd;
  transition: color 0.25s ease, filter 0.25s ease;
}
.tirilla-f__svg-logo--carousel svg {
  max-width: 116px;
  max-height: 56px;
  width: auto;
  height: auto;
  display: block;
}
.tirilla-f__sigla--carousel {
  font-size: 15px;
  font-weight: 800;
  color: #c5bedd;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.tirilla-f__nombre--carousel {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: transparent;
  transition: color 0.22s ease;
  pointer-events: none;
  white-space: normal;
}

 
.tirilla-f__item--carousel:hover .tirilla-f__logo-wrap--carousel { transform: scale(1.5); }
.tirilla-f__item--carousel:hover .tirilla-f__nombre--carousel { color: var(--min-morado); }
.tirilla-f__item--carousel:hover .tirilla-f__sigla--carousel {
  color: var(--min-morado);
  text-shadow: 0 0 14px rgba(61,26,120,0.45), 0 0 30px rgba(61,26,120,0.18);
}
.tirilla-f__item--carousel:hover .tirilla-f__svg-logo--carousel {
  color: var(--min-morado);
  filter: drop-shadow(0 0 8px rgba(61,26,120,0.45)) drop-shadow(0 0 22px rgba(61,26,120,0.2));
}

 
@media (min-width: 1280px) and (max-width: 1439px) {
  .tirilla-f__inner { height: 144px; }
  .tirilla-f__title-fixed { width: 425px; font-size: 10px; }
  .tirilla-f__item { flex: 0 0 98px; }
  .tirilla-f__logo-wrap { width: 98px; height: 36px; }
  .tirilla-f__sigla { font-size: 16px; }
  .tirilla-f__divider { margin: 0 16px; }
  .tirilla-f__item--carousel { flex: 0 0 108px; }
  .tirilla-f__logo-wrap--carousel { width: 108px; height: 54px; }
  .tirilla-f__sigla--carousel { font-size: 15px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .tirilla-f__inner { height: 128px; }
  .tirilla-f__title-fixed { width: 346px; font-size: 9px; }
  .tirilla-f__item { flex: 0 0 82px; }
  .tirilla-f__logo-wrap { width: 82px; height: 30px; }
  .tirilla-f__sigla { font-size: 14px; }
  .tirilla-f__divider { margin: 0 12px; }
  .tirilla-f__item--carousel { flex: 0 0 90px; }
  .tirilla-f__logo-wrap--carousel { width: 90px; height: 46px; }
  .tirilla-f__sigla--carousel { font-size: 13px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tirilla-f__inner { height: 100px; padding: 0 12px; }
  .tirilla-f__title-fixed { width: 284px; font-size: 8px; }
  .tirilla-f__item { flex: 0 0 66px; }
  .tirilla-f__logo-wrap { width: 66px; height: 24px; }
  .tirilla-f__sigla { font-size: 11px; }
  .tirilla-f__divider { margin: 0 10px; }
  .tirilla-f__arrow { width: 24px; height: 24px; font-size: 18px; }
  .tirilla-f__item--carousel { flex: 0 0 72px; }
  .tirilla-f__logo-wrap--carousel { width: 72px; height: 36px; }
  .tirilla-f__sigla--carousel { font-size: 11px; }
}

@media (max-width: 767px) {
  .tirilla-f__titles { display: none; }
  .tirilla-f__inner { flex-direction: column; height: auto; padding: 0; }
  .tirilla-f__fixed-wrap { flex-direction: column; width: 100%; align-items: center; padding-bottom: 14px; }
  .tirilla-f__mobile-label {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(160,130,210,0.6);
    padding: 14px 0 10px;
  }
  .tirilla-f__fixed { width: 100%; justify-content: space-around; gap: 0; padding: 0 8px; flex-shrink: unset; }
  .tirilla-f__item { flex: 0 0 auto; }
  .tirilla-f__logo-wrap { width: 64px; height: 36px; }
  .tirilla-f__sigla { font-size: 14px; letter-spacing: 0.5px; }
  .tirilla-f__nombre { font-size: 6.5px; width: 68px; top: calc(100% + 4px); }
  .tirilla-f__divider {
    width: 80%; height: 1px; align-self: center; margin: 6px 0;
    background: linear-gradient(to right, transparent, #c5bedd 30%, #c5bedd 70%, transparent);
  }
  .tirilla-f__carousel-section { flex-direction: column; align-items: center; height: auto; width: 100%; flex: unset; }
  .tirilla-f__carousel-wrap { width: 100%; height: auto; flex: unset; min-width: unset; gap: 0; }
  .tirilla-f__arrow { display: none; }
  .tirilla-f__carousel { gap: 16px; height: 76px; padding: 8px 16px; -webkit-overflow-scrolling: touch; }
  .tirilla-f__item--carousel { flex: 0 0 80px; }
  .tirilla-f__logo-wrap--carousel { width: 80px; height: 48px; }
  .tirilla-f__sigla--carousel { font-size: 14px; }
  .tirilla-f__nombre--carousel { font-size: 6.5px; width: 84px; }
}*/


/* ── Marco Normativo ────────────────────────────────────── */
.home-marco {
  background: #fff;
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #f0ecfc;
}
.home-marco__watermark {
  top: 30px;
  right: -20px;
}
.home-marco__top {
  max-width: 1200px;
  margin: 0 auto 52px;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.home-marco__intro {
  font-size: 14px;
  line-height: 1.8;
  color: #7a6faa;
  text-align: right;
  padding-top: 4px;
}

/* Acordeon horizontal */
.home-marco__accord-wrap {
  display: flex;
  gap: 10px;
  height: 420px;
  padding: 0 48px;
}

.home-marco__accord-item {
  flex: 0 0 62px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: flex 0.6s cubic-bezier(0.4,0,0.2,1),
              background 0.5s ease,
              border-color 0.5s ease,
              box-shadow 0.5s ease;
  background: transparent;
  border: 1px solid rgba(167,139,250,0.18);
  box-shadow: none;
  outline: none;
}
.home-marco__accord-item--active {
  flex: 1;
  cursor: default;
  background: rgba(196,181,253,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(167,139,250,0.35);
  box-shadow: 0 12px 48px rgba(109,40,217,0.14);
}
.home-marco__accord-item:not(.home-marco__accord-item--active):hover {
  flex: 0 0 78px;
  background: rgba(196,181,253,0.06);
}

/* Numero vertical grande */
.home-marco__accord-yr-v {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 1;
  transition: opacity 0.22s ease, transform 0.5s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  overflow: hidden;
}
.home-marco__accord-item--active .home-marco__accord-yr-v {
  opacity: 0;
  transform: translateY(16px);
}
.home-marco__accord-yr-v span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(109,40,217,0.22);
  white-space: nowrap;
  line-height: 1;
  user-select: none;
}

/* Contenido expandido */
.home-marco__accord-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 36px;
  min-width: 440px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease 0.28s, transform 0.28s ease 0.28s;
  pointer-events: none;
}
.home-marco__accord-item--active .home-marco__accord-body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.home-marco__card-year {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #7c3aed;
  margin-bottom: 6px;
}
.home-marco__card-sub {
  font-size: 12px;
  color: #7a6faa;
  margin-bottom: 8px;
  font-style: italic;
}
h3.home-marco__card-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #16103a !important;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 14px;
}
.home-marco__card-desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: #3a3360;
}

/* Imagen de la tarjeta */

.home-marco__card-image{
    width:100%;
    height:180px;
    margin-bottom:22px;
    overflow:hidden;
    border-radius:14px;
}

.home-marco__card-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    transition:transform .4s ease;
    object-position: center 30%;
}

.home-marco__accord-item:hover .home-marco__card-image img{
    transform:scale(1.05);
}



/* ── Responsive ─────────────────────────────────────────── */

@media (max-width:768px){
    .home-marco__card-image{
        height:150px;
        margin-bottom:18px;
    }
}

@media (max-width:480px){
    .home-marco__card-image{
        height:130px;
    }
}

@media (max-width: 800px) {
  .home-pres__inner { grid-template-columns: 1fr; }
  .home-marco__top { grid-template-columns: 1fr; }
  .home-marco__intro { text-align: left; }
}
@media (max-width: 600px) {
  .home-pres { padding: 16px 20px; }
  .home-marco { padding: 56px 0 48px; }
  .home-marco__top { padding: 0 20px; }
  .home-marco__accord-wrap { padding: 0 20px; height: 380px; }
  .vi-section { padding: 0 20px 40px; }
  .mcirc__vi { min-width: unset; width: 100%; }
}
@media (max-width:768px){

    .home-marco{
        padding:40px 20px;
    }

    .home-marco__accord-wrap{
        display:flex;
        flex-direction:column;
        height:auto;
        gap:12px;
        padding:0;
    }

    .home-marco__accord-item{
        flex:none;
        width:100%;
        overflow:hidden;
    }

    /* Encabezado de cada tarjeta */

    .home-marco__accord-yr-v{

        position:relative;

        inset:auto;

        display:flex;

        align-items:center;

        justify-content:flex-start;

        padding:18px 20px;

        opacity:1;

        transform:none;

    }

    .home-marco__accord-yr-v span{

        writing-mode:horizontal-tb;

        transform:none;

        font-size:22px;

        letter-spacing:2px;

        color:#4b3c8c;

    }

    /* Contenido */

    .home-marco__accord-body{

        position:relative;

        inset:auto;

        min-width:unset;

        padding:0 20px 20px;

        display:none;

        opacity:1;

        transform:none;

    }

    .home-marco__accord-item--active .home-marco__accord-body{

        display:block;

    }

    .home-marco__card-title{

        font-size:18px !important;

    }

    .home-marco__card-desc{

        font-size:14px;

    }

}

/* Tablets (769px - 991px) */
/* Sigue horizontal */
@media (min-width:769px) and (max-width:991px){

    .home-marco__accord-wrap{
        display:flex;
        flex-direction:row;
        height:460px;
        gap:8px;
        padding:0 20px;
    }

    .home-marco__accord-item{
        flex:0 0 52px;
    }

    .home-marco__accord-item--active{
        flex:1;
    }

    .home-marco__accord-body{
        min-width:0;
        padding:20px;
    }

    .home-marco__card-image{
        height:140px;
    }

    .home-marco__card-title{
        font-size:16px !important;
    }

    .home-marco__card-desc{
        font-size:13px;
    }

    .home-marco__accord-yr-v span{
        font-size:58px;
    }
}

/* Solo celulares */
@media (max-width:768px){

    .home-marco__accord-wrap{
        flex-direction:column;
        height:auto;
    }

    /* aquí va el resto del CSS vertical */
}