:root {
  --magenta: #E10A7D;      /* Color madre */
  --magenta-2: #B10867;
  --amarillo: #FFD21E;     /* Amarillo señal */
  --cian: #22D3DB;         /* Turquesa del logotipo REDELEE */
  --violeta: #5B2A9E;
  --cobalto: #2536C4;
  --tinta: #1C0E2E;        /* Texto sobre claro (violeta casi negro) */
  --papel: #FFF8FB;        /* Blanco cálido rosado */
  --papel-2: #F4E8F0;
  --linea: rgba(28, 14, 46, .14);
  --linea-o: rgba(255, 248, 251, .28);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* degradado oficial: magenta dominante -> indigo en la esquina */
  --grad: linear-gradient(60deg, #E2005D 0%, #E2005D 24%, #D70461 40%, #CC0864 52%, #A61571 70%, #622C87 88%, #333C96 100%);
  --grad-rev: linear-gradient(240deg, #E2005D 0%, #E2005D 24%, #D70461 40%, #CC0864 52%, #A61571 70%, #622C87 88%, #333C96 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: clamp(15px, 1vw + 13px, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1240px, 92vw);
  margin-inline: auto;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: .005em;
}

.idx {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--magenta);
}

/* ---------- NAV ---------- */
header.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 248, 251, .88);
  border-bottom: 1px solid var(--linea);
  transition: background .25s ease, box-shadow .25s ease;
}

header.nav.scrolled {
  background: rgba(255, 248, 251, .98);
  box-shadow: 0 4px 20px rgba(28, 14, 46, .08);
}

/* Compatibilidad con barra de administración de WordPress */
body.admin-bar header.nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar header.nav {
    top: 46px;
  }
}

body.admin-bar .mobile-drawer {
  top: calc(66px + 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .mobile-drawer {
    top: calc(66px + 46px);
  }
}

body.admin-bar .controls {
  top: calc(66px + 32px) !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .controls {
    top: calc(66px + 46px) !important;
  }
}

body.admin-bar .side-m {
  top: calc(86px + 32px) !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .side-m {
    top: calc(86px + 46px) !important;
  }
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  margin-left: 1rem;
}

.nav-links a {
  font-size: .86rem;
  color: #4a3a52;
  position: relative;
  padding: .2rem 0;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--magenta);
  transition: width .25s ease;
}

.nav-links a:hover {
  color: var(--magenta);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.clock-mini {
  font-size: .74rem;
  color: #6a5a72;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.clock-mini b {
  color: var(--magenta);
  font-weight: 700;
}

.lang {
  display: flex;
  gap: .4rem;
  font-size: .75rem;
}

.lang a {
  color: #6a5a72;
  padding: .15rem .35rem;
  border-radius: 4px;
  transition: color .2s;
}

.lang a[aria-current="true"] {
  color: var(--magenta);
  font-weight: 700;
  background: rgba(225, 10, 125, .08);
}

.btn-cta {
  background: var(--tinta);
  color: var(--papel);
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  transition: background .25s, transform .2s;
  display: inline-block;
}

.btn-cta:hover {
  background: var(--magenta);
  transform: translateY(-1px);
}

.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--tinta);
  cursor: pointer;
  padding: .2rem;
}

@media(max-width: 1040px) {
  .nav-links, .clock-mini {
    display: none;
  }
  .burger {
    display: block;
  }
}

/* Mobile Nav Menu Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 66px 0 0 0;
  background: var(--papel);
  z-index: 55;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 2px solid var(--linea);
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer a {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--tinta);
  border-bottom: 1px solid var(--linea);
  padding-bottom: .6rem;
}

.mobile-drawer a:hover {
  color: var(--magenta);
}

/* ---------- DECORACIONES SVG ---------- */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.spin {
  animation: spin 46s linear infinite;
}

.spin-r {
  animation: spin 60s linear infinite reverse;
}

.float {
  animation: float 9s ease-in-out infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@keyframes float {
  50% {
    transform: translateY(-16px);
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 66px;
  overflow: hidden;
  color: #fff;
  background: var(--grad);
}

/* Hero Mode 1: Gradient default */
.hero.hero-gradient {
  background: var(--grad);
}

/* Hero Mode 2: Custom image background with overlay */
.hero.hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(60deg, rgba(226, 0, 93, .88) 0%, rgba(166, 21, 113, .86) 52%, rgba(51, 60, 150, .9) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Recursos de marca en Hero (Almena, Campana, Círculo) */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hs {
  position: absolute;
  display: block;
}

.hs-almena {
  right: 6%;
  top: 12%;
  width: clamp(60px, 8vw, 110px);
  opacity: .9;
}

.hs-campana {
  right: 10%;
  top: 30%;
  width: clamp(70px, 9vw, 120px);
  opacity: .85;
}

.hs-circ {
  right: 4%;
  top: 52%;
  width: clamp(34px, 4vw, 60px);
  opacity: .9;
}

@media (max-width: 760px) {
  .hs-almena {
    top: 8%;
    right: 5%;
  }
  .hs-campana {
    right: -6%;
    top: 26%;
    opacity: .5;
  }
  .hs-circ {
    display: none;
  }
}

.hero-topline {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding-top: clamp(2rem, 6vh, 4.5rem);
  padding-bottom: clamp(0.4rem, 1.2vh, 0.9rem);
}

.eyebrow {
  display: flex;
  gap: .7rem;
  align-items: center;
  font-size: .84rem;
  color: #ffe6f4;
  font-weight: 500;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amarillo);
  box-shadow: 0 0 0 4px rgba(255, 210, 30, .25);
  display: inline-block;
}

.hero-kinetic {
  position: relative;
  z-index: 5;
  margin: auto auto 0;
  padding-bottom: clamp(1.2rem, 3.5vh, 2.2rem);
}

.kline {
  position: relative;
  font-family: var(--serif);
  line-height: .9;
  letter-spacing: -.01em;
  font-size: clamp(2.8rem, 9vw, 7rem);
}

.kline .a {
  position: relative;
  z-index: 2;
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
}

.kline.mid {
  font-style: italic;
  color: var(--amarillo);
  font-size: clamp(1.6rem, 4.5vw, 3.4rem);
  padding-left: .12em;
}

.kline .cy {
  color: var(--cian);
}

/* Calibración tipográfica para portugués: "De uma margem" sin alterar español ni inglés */
body.lang-pt .kline,
.hero-kinetic-pt .kline {
  font-size: clamp(2.5rem, 7.5vw, 5.8rem);
  white-space: nowrap;
}

body.lang-pt .kline .a,
.hero-kinetic-pt .kline .a {
  white-space: nowrap;
}

body.lang-pt .kline.mid,
.hero-kinetic-pt .kline.mid {
  font-size: clamp(1.5rem, 4.2vw, 3.0rem);
}

/* Ajuste específico para pantallas de escritorio (Desktop >= 992px) */
@media (min-width: 992px) {
  .hero:not(.hero-slider) {
    min-height: clamp(500px, 72svh, 620px);
    justify-content: flex-start;
  }
  .hero-topline {
    padding-top: clamp(2rem, 5vh, 3.8rem);
    padding-bottom: 0.6rem;
  }
  .hero-kinetic {
    padding-bottom: clamp(1rem, 2.5vh, 1.8rem);
  }
  .kline {
    font-size: clamp(2.8rem, 9vw, var(--kline1-max, 7rem));
    line-height: .9;
  }
  .kline.kline-3 {
    font-size: clamp(2.8rem, 9vw, var(--kline3-max, 7rem));
  }
  .kline.mid,
  .kline.kline-2 {
    font-size: clamp(1.6rem, 4.5vw, var(--kline2-max, 3.4rem));
    line-height: .9;
  }
  body.lang-pt .kline,
  .hero-kinetic-pt .kline {
    font-size: clamp(2.5rem, 7.5vw, var(--kline1-max, 5.8rem));
  }
  body.lang-pt .kline.kline-3,
  .hero-kinetic-pt .kline.kline-3 {
    font-size: clamp(2.5rem, 7.5vw, var(--kline3-max, 5.8rem));
  }
  body.lang-pt .kline.mid,
  .hero-kinetic-pt .kline.mid {
    font-size: clamp(1.5rem, 4.2vw, var(--kline2-max, 3.0rem));
  }
  .hero-foot {
    margin-top: auto;
    padding-top: 1.2rem;
    padding-bottom: 2.2rem;
  }
}

.reveal .kline .a {
  transform: translateY(0);
  opacity: 1;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s;
}

.reveal .kline .a:nth-child(2) {
  transition-delay: .06s;
}

.reveal .kline .a:nth-child(3) {
  transition-delay: .12s;
}

.hero-foot {
  position: relative;
  z-index: 5;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: clamp(1.4rem, 4vh, 2.6rem);
  border-top: 1px solid var(--linea-o);
  padding-top: 1.3rem;
}

.hero-lede {
  max-width: 34ch;
  font-size: clamp(1rem, 1.1vw + .6rem, 1.24rem);
  color: #fff;
  font-family: var(--serif);
  line-height: 1.35;
}

.hero-live {
  text-align: right;
  font-size: .82rem;
  color: #ffd9ee;
  min-width: 210px;
}

.hero-live .city {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.1;
  transition: opacity .3s ease;
}

.hero-live .t {
  font-variant-numeric: tabular-nums;
  color: var(--amarillo);
  font-weight: 600;
}

.since {
  font-size: .78rem;
  color: #f4c9e4;
  margin-top: .2rem;
}

@media(max-width: 640px) {
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-live {
    text-align: left;
  }
}

/* ---------- HERO SLIDER (MODO CARRUSEL ESTILO DIVI / ELEMENTOR) ---------- */
.hero.hero-slider {
  position: relative;
  min-height: 520px;
  height: clamp(520px, 72vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 66px;
  overflow: hidden;
  background: #0b0716;
  color: #fff;
}

.hero-slides-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.85s;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 7, 34, 0.86) 0%, rgba(122, 30, 156, 0.68) 50%, rgba(225, 10, 125, 0.58) 100%),
              radial-gradient(circle at 20% 80%, rgba(34, 211, 219, 0.22) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.hero-slide-wrap {
  position: relative;
  z-index: 5;
  width: min(1240px, 92vw);
  margin-inline: auto;
  padding-left: clamp(1.2rem, 4.5vw, 4rem);
  padding-right: clamp(1.2rem, 4.5vw, 4rem);
  padding-top: clamp(1.5rem, 4vh, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
}

.hero-slide-content {
  max-width: 820px;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffe6f4;
  font-weight: 600;
  margin-bottom: 1.2rem;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s, opacity 0.6s ease 0.12s;
}

.hero-slide-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amarillo, #FFD21E);
  box-shadow: 0 0 0 4px rgba(255, 210, 30, 0.3);
  display: inline-block;
}

.hero-slide-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 1.1rem;
  transform: translateY(25px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.22s, opacity 0.7s ease 0.22s;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-slide-desc {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.25rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
  max-width: 620px;
  margin-bottom: 1.6rem;
  transform: translateY(22px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.32s, opacity 0.7s ease 0.32s;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.hero-slide-cta {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.42s, opacity 0.6s ease 0.42s;
}

.hero-slide.active .hero-slide-tag,
.hero-slide.active .hero-slide-title,
.hero-slide.active .hero-slide-desc,
.hero-slide.active .hero-slide-cta {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--magenta, #E10A7D);
  color: #ffffff !important;
  padding: 13px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(225, 10, 125, 0.38), 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.hero-slide-btn:hover {
  background: #ffffff;
  color: var(--magenta, #E10A7D) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(225, 10, 125, 0.48);
}

.hero-slide-btn svg {
  transition: transform 0.2s ease;
}

.hero-slide-btn:hover svg {
  transform: translateX(3px);
}

/* Contenedor overlay alineado con .wrap */
.hero-slider-ui-wrap {
  position: absolute;
  inset: 0;
  width: min(1240px, 92vw);
  margin-inline: auto;
  pointer-events: none;
  z-index: 10;
}

/* Flechas de navegación */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 7, 34, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  padding: 0;
  margin: 0;
}

.hero-slider-nav:hover {
  background: var(--magenta, #E10A7D);
  border-color: var(--magenta, #E10A7D);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-prev {
  left: 0;
  right: auto;
}

.hero-slider-next {
  right: 0;
  left: auto;
}

/* Indicadores / Puntos (Dots) */
.hero-slider-dots {
  position: absolute;
  bottom: clamp(1.2rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  pointer-events: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-slider-dot.active {
  width: 32px;
  background: var(--amarillo, #FFD21E);
  box-shadow: 0 0 10px rgba(255, 210, 30, 0.5);
}

/* Reloj internacional en modo carrusel */
.hero-slider-clock-wrap {
  position: absolute;
  bottom: clamp(1rem, 2.5vh, 1.8rem);
  right: 0;
  z-index: 10;
  pointer-events: auto;
  margin: 0;
  padding: 0;
  text-align: right;
}

.hero-slider-live {
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

@media (max-width: 900px) {
  .hero-slider-clock-wrap {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-slider-nav {
    width: 38px;
    height: 38px;
  }
  .hero.hero-slider {
    min-height: 480px;
    height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }
}


/* ---------- SECTION SHELL ---------- */
section {
  padding: clamp(3.4rem, 9vh, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.sec-head {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  border-top: 2px solid var(--tinta);
  padding-top: 1rem;
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 3;
}

.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1;
  font-weight: 400;
}

.sec-head .idx {
  margin-left: auto;
}

.vivid {
  color: #fff;
}

.vivid .sec-head {
  border-color: var(--linea-o);
}

.vivid .idx {
  color: var(--amarillo);
}

.bg-magenta {
  background: linear-gradient(160deg, #E10A7D, #9A1786);
}

.bg-violeta {
  background: linear-gradient(160deg, #5B2A9E, #2536C4);
}

.bg-cobalto {
  background: linear-gradient(160deg, #2536C4, #1A1E7A);
}

/* 01 QUIÉNES SOMOS */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  position: relative;
  z-index: 3;
}

.about .big {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  color: var(--tinta);
}

.about .cols {
  display: grid;
  gap: 1.6rem;
}

.about h3 {
  font-size: .84rem;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.about p {
  color: #3d2f47;
  max-width: 52ch;
}

@media(max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* 02 ACTUALIDAD (v4 limpia) */
.act {
  background: #F7F3F8;
}

.act .sec-head2 {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.act h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1;
  font-weight: 400;
  color: var(--tinta);
}

.act .aidx {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--magenta);
}

.act hr {
  height: 1px;
  background: var(--linea);
  border: 0;
  margin: 1rem 0 2.6rem;
}

.act-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.4rem;
  align-items: stretch;
}

.act-grid.act-grid-single,
.act-grid:has(.act-news:empty) {
  grid-template-columns: 1fr;
}

.act-feature-placeholder {
  cursor: default;
}


.act-feature {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  height: 100%;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  background: linear-gradient(155deg, #E10A7D, #5B2A9E);
  transition: transform .25s ease, box-shadow .25s ease;
}

.act-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 14, 46, .2);
}

.act-feature .tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-size: .72rem;
  background: var(--amarillo);
  color: var(--tinta);
  font-weight: 700;
  padding: .32rem .7rem;
  border-radius: 999px;
  z-index: 2;
}

.act-feature h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: .5rem;
}

.act-feature .date {
  font-size: .78rem;
  color: #ffd9ee;
}

.act-news {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.act-news > a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--linea);
  align-items: baseline;
  transition: color .2s;
  text-decoration: none;
}

.act-news > a:first-child {
  border-top: 0;
  padding-top: 0;
}

.act-news > a:hover h4 {
  color: var(--magenta);
}

.act-news .date {
  font-size: .82rem;
  color: #8a7f92;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.act-news h4 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 400;
  color: var(--tinta);
  transition: color .2s;
  margin: 0;
  line-height: 1.35;
}

.act-news-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linea);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.act-news-footer .btn-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  background: var(--tinta) !important;
  color: #fff !important;
  font-size: .84rem !important;
  font-weight: 600 !important;
  padding: .65rem 1.35rem !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  border: 0 !important;
  box-shadow: 0 4px 12px rgba(28, 14, 46, .08);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

.act-news-footer .btn-more:hover {
  background: var(--magenta) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(225, 10, 125, .25);
}

/* Cuadrícula 2 Columnas: Convocatorias y Calendario de Eventos */
.act-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2.8rem;
  align-items: stretch;
}

@media (max-width: 980px) {
  .act-cols-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

.act-cols-grid .act-calls,
.act-cols-grid .act-events {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.act-calls {
  margin-top: 3rem;
  border: 1px solid var(--linea);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28, 14, 46, .03);
}

.act-calls-h {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem .8rem;
  padding: 1.1rem 1.4rem;
  background: #F0EAF2;
  min-height: 62px;
  box-sizing: border-box;
}

.act-calls-h b {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--tinta);
}

.act-calls-h span {
  font-size: .82rem;
  color: #8a7f92;
}

.act-cols-grid .act-call,
.act-cols-grid .act-event-item {
  gap: .85rem;
  padding: .95rem 1.25rem;
  flex: 1 1 0;
  display: grid;
  align-items: center;
  box-sizing: border-box;
}

.act-cols-grid .act-call h4,
.act-cols-grid .act-event-item h4 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.act-call {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.3rem;
  align-items: center;
  padding: 1.15rem 1.4rem;
  border-top: 1px solid var(--linea);
  transition: background .15s;
}

.act-call .st {
  font-size: .72rem;
  color: var(--tinta);
  background: #fff;
  border: 1px solid var(--linea);
  padding: .3rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
}

.act-call h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--tinta);
}

.act-call .go {
  font-size: .82rem;
  color: var(--magenta);
  font-weight: 600;
  white-space: nowrap;
}

.act-call:hover {
  background: #FAF7FB;
}

/* 02.1 EVENTOS (Asociados y Otros Eventos) */
.act-events {
  margin-top: 2.5rem;
  scroll-margin-top: 95px;
  border: 1px solid var(--linea);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28, 14, 46, .03);
}

.act-events-h {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem .8rem;
  padding: 1.1rem 1.4rem;
  background: #EBF4F6;
  min-height: 62px;
  box-sizing: border-box;
}

.act-events-h b {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--tinta);
}

.act-events-h span {
  font-size: .82rem;
  color: #5c7b82;
}

.act-event-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--linea);
  transition: background .15s;
  text-decoration: none;
  color: inherit;
}

.act-event-item:hover {
  background: #F4F9FA;
}

.act-event-item .thumb {
  display: none;
}

.act-event-item .st {
  font-size: .72rem;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  padding: .3rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
}

.act-event-item h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--tinta);
  margin: 0;
}

.act-event-item .type-badge {
  font-size: .68rem;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}

.act-event-item .go {
  font-size: .82rem;
  color: #0284c7;
  font-weight: 600;
  white-space: nowrap;
}

@media(max-width: 680px) {
  .act-event-item {
    grid-template-columns: 1fr;
    gap: .6rem;
    align-items: flex-start;
  }
}

@media(max-width: 820px) {
  .act-grid {
    grid-template-columns: 1fr;
  }
  .act-news-footer {
    justify-content: center;
  }
}

@media(max-width: 640px) {
  .act-call {
    grid-template-columns: 1fr;
    gap: .45rem;
  }
  .act-call .go {
    justify-self: start;
  }
}

/* 03 CATÁLOGOS — 4 CARDS EN PORTADA */
.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: .4rem 0 1rem;
  position: relative;
  z-index: 3;
}

.cat {
  display: flex;
  flex-direction: column;
}

@media (max-width: 980px) {
  .rail {
    display: flex;
    overflow-x: auto;
    padding: .4rem .2rem 1.4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .cat {
    scroll-snap-align: start;
    flex: 0 0 clamp(220px, 42vw, 270px);
  }
}

.cat .cover {
  aspect-ratio: 3/4;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem;
  color: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}

.cat .cover .yr {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: .9;
}

.cat .cover .langs {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.cat .cover .langs span {
  font-size: .7rem;
  border: 1px solid rgba(255, 255, 255, .55);
  padding: .15rem .45rem;
  border-radius: 999px;
  font-weight: 500;
}

.cat p {
  font-size: .82rem;
  color: #6a5a72;
  margin-top: .7rem;
  line-height: 1.4;
}

.cat:hover .cover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(28, 14, 46, .16);
}

.c1 {
  background: linear-gradient(155deg, #E10A7D, #9A1786);
}

.c2 {
  background: linear-gradient(155deg, #2536C4, #22D3DB);
}

.c3 {
  background: linear-gradient(155deg, #5B2A9E, #E10A7D);
}

.c4 {
  background: linear-gradient(155deg, #FFD21E, #E10A7D);
}

.c5 {
  background: linear-gradient(155deg, #22D3DB, #2536C4);
}

.rail-hint {
  font-size: .9rem;
  color: #4a3a52;
  max-width: 56ch;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 3;
}

/* 04 LÍNEAS DE ACCIÓN */
.lines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  position: relative;
  z-index: 3;
}

/* 1 tarjeta: destacada y centrada */
.lines.lines-count-1 {
  grid-template-columns: minmax(auto, 780px);
  justify-content: center;
}

/* 2 tarjetas: 2 columnas (diseño original) */
.lines.lines-count-2 {
  grid-template-columns: 1fr 1fr;
}

/* 3 tarjetas: 3 columnas balanceadas */
.lines.lines-count-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 4 o más tarjetas: cuadrícula auto-ajustable */
.lines:not(.lines-count-1):not(.lines-count-2):not(.lines-count-3) {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.line {
  position: relative;
  border-radius: 18px;
  padding: 2rem;
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

/* 1. ESTILO TRANSPARENTE / GLASSMORPHISM (Por defecto en Home) */
.lines-style-transparent .line,
.line.style-transparent {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.lines-style-transparent .line:nth-child(even),
.line.style-transparent:nth-child(even) {
  background: rgba(255, 255, 255, .08) !important;
}

.lines-style-transparent .line:hover,
.line.style-transparent:hover {
  background: rgba(255, 255, 255, .14) !important;
  border-color: rgba(255, 255, 255, .35) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

.lines-style-transparent .line p,
.line.style-transparent p {
  color: #f2e6ee;
}

/* 2. ESTILO GRADIENTE VIBRANTE (Por defecto en Quiénes somos) */
.lines-style-gradient .line,
.line.style-gradient {
  background: var(--grad) !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.lines-style-gradient .line:nth-child(even),
.line.style-gradient:nth-child(even) {
  background: var(--grad-rev) !important;
}

.lines-style-gradient .line:hover,
.line.style-gradient:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(98, 44, 135, .32);
}

.lines-style-gradient .line p,
.line.style-gradient p {
  color: #ffe4f2;
}

/* Fallback estándar */
.lines:not(.lines-style-transparent):not(.lines-style-gradient) .line:not(.style-transparent):not(.style-gradient) {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

a.line,
.line-linked {
  cursor: pointer;
}

.line .ic,
.line .n {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--amarillo);
  line-height: 1;
  margin-bottom: .28rem;
}

.line h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  margin: .4rem 0 .6rem;
  color: #fff;
}

.line p {
  font-size: .94rem;
  max-width: 46ch;
  line-height: 1.55;
}

@media(max-width: 1040px) {
  .lines.lines-count-3 {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 820px) {
  .lines,
  .lines.lines-count-1,
  .lines.lines-count-2,
  .lines.lines-count-3 {
    grid-template-columns: 1fr;
  }
}

/* 05 BOLETINES REDELEE */
.bol-intro {
  max-width: 58ch;
  color: #ffe6f4;
  position: relative;
  z-index: 3;
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
}

.bol-more-wrap {
  margin-top: -0.4rem;
  margin-bottom: 2.2rem;
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 3;
}

.bol-more-wrap .btn-more {
  background: #1C0E2E;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(28, 14, 46, 0.25);
}

.bol-more-wrap .btn-more:hover {
  background: #fff;
  color: var(--magenta);
  border-color: #fff;
  transform: translateX(3px);
}

.bol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 3;
}

@media(max-width: 900px) {
  .bol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 520px) {
  .bol-grid {
    grid-template-columns: 1fr;
  }
}

.bol {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: var(--tinta);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 10px 30px rgba(28, 14, 46, .25);
}

.bol:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(28, 14, 46, .35);
}

.bol .cover {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(120% 80% at 80% 10%, #F5288F, transparent 55%), linear-gradient(160deg, #E10A7D, #5B2A9E 70%, #2536C4);
}

.bol .wm {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 1.7rem;
  color: var(--cian);
  line-height: 1;
}

.bol .sub {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--amarillo);
  text-transform: uppercase;
}

.bol .no {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: .9;
}

.bol .cover .circle {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--amarillo);
  right: -14px;
  bottom: 44px;
  opacity: .9;
}

.bol .cover .arc {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 60px;
  height: 60px;
  border: 3px solid var(--cian);
  border-bottom: none;
  border-right: none;
  border-radius: 60px 0 0 0;
  opacity: .8;
}

.bol .meta {
  padding: .85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bol .meta .t {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.15;
  color: var(--tinta);
}

.bol .meta .d {
  font-size: .74rem;
  color: #6a5a72;
  margin: .35rem 0 .7rem;
}

.bol .meta .dl {
  font-size: .78rem;
  font-weight: 700;
  color: var(--magenta);
  margin-top: auto;
}

.bol.soon .cover {
  filter: saturate(.5) brightness(.9);
}

.bol.soon .meta .dl {
  color: #9a8aa2;
}

/* PÁGINA INTERNA DE BOLETINES (/boletines/) */
.boletines-page-sec {
  padding: clamp(3rem, 7vh, 5.2rem) 0;
  background: var(--papel, #FAF8FC);
}

.boletines-page-sec .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #4a3e52;
  max-width: 65ch;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

/* 06 MIEMBROS — MARQUEE + DIRECTORY CALLOUT */
.marquee {
  overflow: hidden;
  border-block: 2px solid var(--tinta);
  padding: 1.1rem 0;
  margin-bottom: 2rem;
  position: relative;
  z-index: 3;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-in {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: slide 34s linear infinite;
}

.marquee span {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--tinta);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

.marquee span::after {
  content: "●";
  color: var(--magenta);
  font-size: .5em;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.members-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: start;
  position: relative;
  z-index: 3;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  max-width: 60ch;
}

.tags a {
  font-size: .9rem;
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: .4rem .85rem;
  color: var(--tinta);
  transition: .2s;
  font-weight: 500;
}

.tags a:nth-child(3n) {
  border-color: var(--magenta);
  color: var(--magenta);
}

.tags a:nth-child(3n+1) {
  border-color: var(--cobalto);
  color: var(--cobalto);
}

.tags a:hover {
  background: var(--amarillo);
  color: var(--tinta);
  border-color: var(--amarillo);
}

@media(max-width: 820px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA & NEWSLETTER */
.cta {
  color: #fff;
  text-align: center;
  background: radial-gradient(100% 80% at 50% 0%, #F5288F, transparent 55%), linear-gradient(160deg, #E10A7D, #5B2A9E 55%, #2536C4);
}

.cta-in {
  position: relative;
  z-index: 5;
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 46ch;
  margin: 0 auto 1.8rem;
  color: #ffe6f4;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions a {
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .94rem;
  transition: transform .2s, background .2s;
}

.a-primary {
  background: var(--amarillo);
  color: var(--tinta);
}

.a-primary:hover {
  transform: translateY(-2px);
  background: #ffe04d;
}

.a-ghost {
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
}

.a-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.news-box {
  margin-top: 2.4rem;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 1.8rem 2rem 2rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.news-box-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: .01em;
}

.news-sub {
  margin-top: 0;
  display: flex;
  gap: .6rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.news-sub input {
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  flex: 1 1 180px;
  min-width: 140px;
  max-width: 260px;
  font-family: inherit;
  font-size: .9rem;
  transition: border-color .2s, background .2s;
}

.news-sub input:focus {
  outline: none;
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
}

.news-sub input::placeholder {
  color: #ffd9ee;
}

.news-sub button {
  background: var(--cian);
  color: var(--tinta);
  border: 0;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s;
  white-space: nowrap;
}

.news-sub button:hover {
  background: #4ae1e8;
  transform: translateY(-2px);
}

.news-sub button:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.news-success {
  margin-top: 2.2rem;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, .6);
  border-radius: 16px;
  padding: 1.4rem 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  animation: fadeInDown .4s ease forwards;
}

.news-success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--tinta);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: .6rem;
}

.news-success p {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
footer {
  background: var(--tinta);
  color: #c9b8d4;
  padding: 2.4rem 0 3rem;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: space-between;
  align-items: center;
}

.foot-in img {
  height: 30px;
  width: auto;
  display: block;
}

.foot-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: .84rem;
  align-items: center;
}

.foot-links a:hover {
  color: var(--amarillo);
}

.mail {
  color: var(--amarillo);
  font-weight: 600;
}

/* ---------- BOTÓN LEER MÁS / ACCIONES INTERNAS ---------- */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--tinta);
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
  line-height: 1;
}

.btn-more:hover {
  background: var(--magenta);
  color: #fff;
  transform: translateX(2px);
}

.btn-more .arr {
  display: inline-block;
  font-size: .95rem;
  transition: transform .2s ease;
}

.btn-more:hover .arr {
  transform: translateX(3px);
}

.phead {
  position: relative;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  padding: calc(66px + clamp(1.8rem, 4vh, 3.2rem)) 0 clamp(2.4rem, 6vh, 3.6rem);
}
body.admin-bar .phead {
  padding-top: calc(66px + 32px + clamp(1.8rem, 4vh, 3.2rem));
}
@media screen and (max-width: 782px) {
  body.admin-bar .phead {
    padding-top: calc(66px + 46px + clamp(1.8rem, 4vh, 3.2rem));
  }
}

.phead .wrap {
  position: relative;
  z-index: 3;
}

.crumb {
  font-size: .82rem;
  color: #ffd9ee;
  margin-bottom: 1.2rem;
}

.crumb a {
  color: inherit;
  text-decoration: none;
  opacity: .85;
  transition: opacity .2s, color .2s;
}

.crumb a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}

.kick {
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amarillo);
  font-weight: 600;
  margin-bottom: .8rem;
}

.phead h1 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .95;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.phead .lede {
  max-width: 60ch;
  margin-top: 1rem;
  color: #ffe4f2;
  font-size: clamp(1rem, 1.1vw + .6rem, 1.2rem);
  line-height: 1.5;
}

/* formas de marca en header */
.ph-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ph-shapes .hs {
  position: absolute;
  display: block;
}

.ph-shapes .hs-almena {
  right: 5%;
  top: -6%;
  width: clamp(60px, 7vw, 100px);
  opacity: .9;
}

.ph-shapes .hs-campana {
  right: 12%;
  bottom: -18%;
  width: clamp(70px, 8vw, 120px);
  opacity: .85;
}

.ph-shapes .hs-circ {
  right: 3%;
  top: 46%;
  width: clamp(30px, 3.4vw, 52px);
  opacity: .9;
}

@media(max-width: 760px) {
  .ph-shapes .hs-campana,
  .ph-shapes .hs-circ {
    display: none;
  }
  .ph-shapes .hs-almena {
    right: 5%;
    opacity: .7;
  }
}

/* ---------- HISTORIA (.hist) ---------- */
.hist {
  background: var(--papel-2);
  padding: clamp(3rem, 8vh, 5.5rem) 0;
}

.hist .in {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

@media(max-width: 700px) {
  .hist .in {
    grid-template-columns: 1fr;
  }
}

.hist .yr {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--magenta);
  line-height: .85;
}

.hist p {
  color: var(--texto);
  max-width: 60ch;
  line-height: 1.6;
}

.hist .hist-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: .5rem;
}

/* ---------- CONTACTO (.contacto) ---------- */
.contacto {
  background: var(--tinta);
  color: #fff;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
}

.contacto .in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media(max-width: 820px) {
  .contacto .in {
    grid-template-columns: 1fr;
  }
}

.contacto h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: .8rem;
}

.contacto p {
  color: #cbbfe0;
  max-width: 46ch;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.contacto a.mailbig {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  color: var(--cian);
  display: inline-block;
  transition: opacity .2s;
}

.contacto a.mailbig:hover {
  text-decoration: underline;
  opacity: .9;
}

.contacto .form {
  display: grid;
  gap: .8rem;
}

.contacto .form input,
.contacto .form textarea {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  padding: .8rem 1rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: .92rem;
  outline: none;
  transition: border-color .2s;
}

.contacto .form input:focus,
.contacto .form textarea:focus {
  border-color: var(--magenta);
}

.contacto .form input::placeholder,
.contacto .form textarea::placeholder {
  color: #b8adc4;
}

.contacto .form button {
  justify-self: start;
  background: var(--amarillo);
  color: var(--tinta);
  border: 0;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

/* ---------- BOTÓN VER MÁS CATÁLOGOS EN HOME ---------- */
.cat-more-wrap {
  margin-top: -0.2rem;
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 3;
}

/* ---------- PÁGINA INTERNA DE CATÁLOGOS (/catalogos/) ---------- */
.catalogos-page-sec {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

.catalogos-page-sec .lead {
  max-width: 62ch;
  color: var(--texto);
  font-size: 1.05rem;
  margin-bottom: 2.4rem;
  line-height: 1.5;
}

.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 960px) {
  .cgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
}
@media (max-width: 600px) {
  .cgrid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

.ccard {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--linea);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.ccard:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(28, 14, 46, .14);
}

.ccard-link-wrap {
  text-decoration: none;
  display: block;
  color: inherit;
}

.ccard .cover {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--grad);
}

.ccard .cover.c1 { background: linear-gradient(155deg, #E10A7D, #9A1786); }
.ccard .cover.c2 { background: linear-gradient(155deg, #2536C4, #22D3DB); }
.ccard .cover.c3 { background: linear-gradient(155deg, #5B2A9E, #E10A7D); }
.ccard .cover.c4 { background: linear-gradient(155deg, #FFD21E, #E10A7D); }
.ccard .cover.c5 { background: linear-gradient(155deg, #22D3DB, #2536C4); }

.ccard .cover .yr {
  font-family: var(--serif);
  font-size: clamp(3rem, 4.5vw, 4.2rem);
  line-height: .88;
  color: #fff;
}

.ccard .cover .vig {
  font-size: .72rem;
  font-weight: 700;
  background: var(--amarillo);
  color: var(--tinta);
  padding: .25rem .7rem;
  border-radius: 999px;
  align-self: flex-start;
  letter-spacing: .02em;
}

.ccard .langs {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .6rem;
}

.ccard .langs a,
.ccard .langs span {
  font-size: .74rem;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s ease;
  display: inline-block;
  backdrop-filter: blur(4px);
}

.ccard .langs a:hover {
  background: #fff;
  color: var(--tinta);
  border-color: #fff;
}

.ccard .meta {
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ccard .meta .t {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--tinta);
  line-height: 1.25;
}

.ccard .meta .d {
  font-size: .82rem;
  color: #8a85a0;
  margin-top: .3rem;
  line-height: 1.4;
}

@media(prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .kline .a {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   Act-Calls & Act-Events Footer (Front Page)
   ========================================================================== */
.act-calls-footer,
.act-events-footer {
  margin-top: auto;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--linea);
  background: #fafbfc;
  min-height: 68px;
  box-sizing: border-box;
}

/* ==========================================================================
   Página Interna Calendario de Eventos
   ========================================================================== */
.controls {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(255, 248, 251, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linea);
  padding: 1rem 0;
}

.controls-in {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.fgroup {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.fgroup .lab {
  font-size: 0.72rem;
  color: #8a85a0;
  font-weight: 700;
  margin-right: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chip {
  font-size: 0.82rem;
  border: 1px solid var(--linea);
  background: #fff;
  color: var(--texto);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.chip:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.chip.on {
  background: var(--tinta);
  color: #fff;
  border-color: var(--tinta);
}

.sel {
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 0.44rem 0.9rem;
  font-family: inherit;
  font-size: 0.82rem;
  background: #fff;
  color: var(--texto);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}

.sel:focus {
  border-color: var(--magenta);
}

.search {
  margin-left: auto;
}

.search input {
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: inherit;
  font-size: 0.85rem;
  min-width: 220px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(226, 0, 93, 0.1);
}

.agenda {
  padding: clamp(2.2rem, 5vh, 3.4rem) 0 5rem;
}

.count {
  font-size: 0.84rem;
  color: #8a85a0;
  margin-bottom: 1.6rem;
  font-weight: 600;
}

.month {
  margin-bottom: 2.4rem;
}

.month h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  border-bottom: 2px solid var(--tinta);
  padding-bottom: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--tinta);
}

.monthcount {
  font-size: 0.76rem;
  color: #8a85a0;
  margin-bottom: 0.8rem;
}

.ev {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 0.8rem;
  border-top: 1px solid var(--linea);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ev:first-of-type {
  border-top: 0;
}

.ev:hover {
  background: rgba(226, 0, 93, 0.03);
}

.ev .when {
  min-width: 120px;
}

.ev .when .d {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c, var(--magenta));
}

.ev .when .disc {
  font-size: 0.72rem;
  color: #8a85a0;
  text-transform: capitalize;
  margin-top: 2px;
}

.ev .mid h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--tinta);
  transition: color 0.15s ease;
}

.ev .mid .loc {
  font-size: 0.82rem;
  color: #8a85a0;
  margin-top: 0.2rem;
}

.ev .go {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c, var(--magenta));
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.ev:hover .mid h3 {
  color: var(--c, var(--magenta));
}

.ev:hover .go {
  transform: translateX(4px);
}

@media(max-width: 768px) {
  .controls-in {
    gap: 0.8rem;
  }
  .search {
    margin-left: 0;
    width: 100%;
  }
  .search input {
    width: 100%;
    min-width: 0;
  }
}

@media(max-width: 620px) {
  .ev {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .ev .go {
    justify-self: start;
    margin-top: 0.2rem;
  }
}

.empty {
  display: none;
  color: #8a85a0;
  padding: 3rem 0;
  font-size: 1.05rem;
  text-align: center;
}

/* ---------- REFLEXIONES: SECCIÓN FRONT-PAGE Y PÁGINA INTERNA ---------- */
.refl-section {
  padding: clamp(3rem, 6vh, 4.5rem) 0 4.5rem;
  background: var(--papel);
}

.refl-section .act-grid {
  align-items: stretch;
}

.refl-section .act-feature,
.refl-feature {
  height: 100%;
  box-sizing: border-box;
  background: var(--grad);
}

.refl-section .act-news {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.refl-section .act-news > a {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 0.85rem 0;
  box-sizing: border-box;
}

.refl-section .act-news > a:first-child {
  border-top: 0;
  padding-top: 0;
}

.refl-section .act-news > a:last-child {
  padding-bottom: 0;
}

@media (max-width: 820px) {
  .refl-section .act-news > a {
    flex: none;
    padding: 1.15rem 0;
  }
}

.refl-feature h3 {
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 2.9vw, 2.5rem);
  line-height: 1.08;
}

.refl-section hr {
  margin: 1rem 0 1.5rem;
}

.refl-top-action {
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-start;
}

.refl-more-wrap {
  text-align: center;
  margin-top: 2.6rem;
}

/* Estilos de la página interna /reflexiones/ */
.feat {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  padding: clamp(2rem, 5vw, 3.2rem);
  background: var(--grad);
  margin-bottom: 2.4rem;
  display: block;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(28, 14, 46, .2);
  color: #fff;
}

.feat .k {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--amarillo);
  display: inline-block;
}

.feat h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.04;
  margin: .5rem 0 .6rem;
  max-width: 30ch;
  color: #fff;
}

.feat .by {
  font-size: .86rem;
  color: #ffe4f2;
}

.feat .ex {
  max-width: 65ch;
  margin-top: 1rem;
  color: #ffe9f4;
  font-size: 1rem;
  line-height: 1.55;
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

@media (max-width: 760px) {
  .rgrid {
    grid-template-columns: 1fr;
  }
}

.rart {
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 1.6rem;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rart::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--c, var(--cobalto));
}

.rart:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(28, 14, 46, .12);
}

.rart .k {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c, var(--cobalto));
}

.rart h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin: .3rem 0 .5rem;
  color: var(--tinta);
}

.rart .by {
  font-size: .8rem;
  color: #8a85a0;
  margin-bottom: .6rem;
}

.rart p {
  font-size: .9rem;
  color: var(--texto);
  line-height: 1.55;
  flex-grow: 1;
}

.rart .go {
  display: inline-block;
  margin-top: .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--magenta);
}

.rart .go:hover {
  text-decoration: underline;
}


