@charset "UTF-8";

/* ============================================================
   FONTS (Messina, servidas desde /_assets/fonts del sitio)
   ============================================================ */
@font-face {
  font-family: "Messina Sans";
  src: url("/_assets/fonts/MessinaSans-Book.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Messina Sans";
  src: url("/_assets/fonts/MessinaSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Messina Sans";
  src: url("/_assets/fonts/MessinaSans-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Messina Sans";
  src: url("/_assets/fonts/MessinaSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Messina Serif";
  src: url("/_assets/fonts/MessinaSerif-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Firma del hero de Premios Nobel. Coloca el archivo en assets/fonts/ (Autography.woff2 u .otf). */
@font-face {
  font-family: "Autography";
  src: local("Autography"), local("Autography-Regular"),
    url("../fonts/Autography.woff2") format("woff2"),
    url("../fonts/Autography.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --a35-blue: #002b9d;
  --a35-blue-2: #002b69;
  --a35-cyan: #00dded;
  --a35-white: #ffffff;
  --a35-red: #e30512;
  --a35-gray: #f8f8f8;
  --a35-line: #cdd5e4;
  --a35-font: "Messina Sans", "MessinaSans Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --a35-serif: "Messina Serif", "MessinaSerif", Georgia, serif;
  --a35-container: 1180px;
  --a35-gutter: 5%;
  --a35-header-h: 96px;
  --a35-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.a35-page {
  background: var(--a35-gray);
  font-family: var(--a35-font);
  font-weight: 400;
  color: var(--a35-blue);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.a35-lock {
  overflow: hidden;
}

/* Modo embed para iframe (somos.ucv.edu.pe embebido en www.ucv.edu.pe) */
html.a35-embed-html,
body.a35-page.a35-embed {
  background: var(--a35-blue-2) !important;
  color: var(--a35-white);
  color-scheme: dark;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body.a35-page.a35-embed {
  overflow-x: hidden;
  overflow-y: auto;
}

.a35-embed .a35-form {
  width: 100%;
  max-width: 100%;
  border-left: 0;
  background: var(--a35-blue-2);
  box-sizing: border-box;
}

.a35-embed-gracias {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 54px 40px 44px 48px;
  box-sizing: border-box;
  text-align: center;
  background: var(--a35-blue-2);
}

.a35-embed-gracias[hidden] {
  display: none !important;
}

.a35-embed-gracias .a35-gracias-content {
  max-width: 480px;
  width: 100%;
}

.a35-embed-gracias .a35-modal-title {
  margin-top: 18px;
  font-size: clamp(28px, 2.6vw, 36px);
  color: var(--a35-white);
  line-height: 1.15;
}

.a35-embed-gracias .a35-modal-title span {
  color: var(--a35-cyan);
}

.a35-embed-gracias .a35-gracias-check svg {
  stroke-dasharray: 30;
  stroke-dashoffset: 0;
}

.a35-embed-gracias .a35-btn--cyan {
  padding: 16px 26px;
  font-size: 13px;
  border-radius: 14px;
}

.a35-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Bootstrap (cargado por head.php) agrega márgenes y subrayados: los neutralizamos dentro de la landing */
.a35-page main h1,
.a35-page main h2,
.a35-page main h3,
.a35-page main p,
.a35-page main blockquote,
.a35-page main figure,
.a35-modal h2,
.a35-modal p,
.a35-modal figure {
  margin: 0;
}

.a35-page main a:hover,
.a35-header a:hover,
.a35-modal a:hover {
  text-decoration: none;
}

.a35-page button {
  font-family: inherit;
  cursor: pointer;
}

.a35-page button:focus:not(:focus-visible) {
  outline: none;
}

.a35-page :focus-visible {
  outline: 2px solid var(--a35-cyan);
  outline-offset: 3px;
}

.a35-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.a35-container {
  width: 100%;
  max-width: calc(var(--a35-container) + 2 * var(--a35-gutter));
  margin: 0 auto;
  padding: 0 var(--a35-gutter);
}

/* ============================================================
   BOTONES Y ETIQUETAS
   ============================================================ */
.a35-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-family: var(--a35-font);
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--a35-ease), background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.a35-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--a35-ease);
}

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

.a35-btn--outline {
  padding: 13px 24px;
  font-size: 17px;
  color: var(--a35-blue);
  border-color: var(--a35-blue);
  background: transparent;
}

.a35-btn--outline:hover {
  background: var(--a35-blue);
  color: var(--a35-white);
}

.a35-btn--cyan {
  padding: 15px 26px;
  font-size: 19px;
  color: var(--a35-blue);
  background: var(--a35-cyan);
}

.a35-btn--cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 221, 237, 0.35);
  color: var(--a35-blue);
}

.a35-eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* "▌ VOCES VALLEJIANAS" */
.a35-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a35-white);
}

.a35-tag::before {
  content: "";
  width: 8px;
  height: 16px;
  background: currentColor;
}

.a35-tag--blue {
  color: var(--a35-blue);
}

.a35-tag--blue::before {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--a35-cyan);
}

/* ============================================================
   REVEAL
   ============================================================ */
.a35-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--a35-ease), transform 0.8s var(--a35-ease);
}

.a35-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.a35-reveal-delay-1 {
  transition-delay: 0.12s;
}

.a35-reveal-delay-2 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .a35-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.a35-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 44px 0 0;
}

.a35-header.is-scrolled {
  padding: 12px 0;
  background: rgba(0, 43, 105, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 20, 60, 0.25);
}

.a35-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: calc(var(--a35-container) + 2 * var(--a35-gutter));
  margin: 0 auto;
  padding: 0 var(--a35-gutter);
}

.a35-brand {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.a35-brand:hover {
  transform: scale(1.03);
}

.a35-brand img {
  width: clamp(130px, 12vw, 173px);
}

.a35-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.a35-nav-link {
  display: block;
  padding: 12px clamp(14px, 1.6vw, 22px);
  border-radius: 999px;
  color: var(--a35-white);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.a35-nav-link:hover {
  color: var(--a35-white);
  background: rgba(255, 255, 255, 0.12);
}

.a35-nav-link.is-active {
  min-width: clamp(150px, 15vw, 222px);
  text-align: center;
  background: var(--a35-white);
  color: var(--a35-blue);
}

.a35-header-cta {
  flex-shrink: 0;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--a35-red);
  color: var(--a35-white);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s var(--a35-ease), box-shadow 0.25s ease;
}

.a35-header-cta:hover {
  color: var(--a35-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(227, 5, 18, 0.35);
}

.a35-header-cta--mobile,
.a35-menu-toggle {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.a35-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: clamp(640px, 53.5vw, 880px);
  background: linear-gradient(180deg, #001a5e 0%, var(--a35-blue) 100%);
  overflow: hidden;
  color: var(--a35-white);
}

.a35-hero-bg,
.a35-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.a35-hero-bg img {
  object-fit: cover;
  object-position: right bottom;
  max-width: none;
}

.a35-hero-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: calc(var(--a35-container) + 2 * var(--a35-gutter));
  margin: 0 auto;
  padding: var(--a35-header-h) var(--a35-gutter) 0;
}

.a35-hero-quote {
  position: relative;
  z-index: 2;
  max-width: calc(7.6em + 1.42em);
  padding-left: 1.42em;
  font-family: var(--a35-serif);
  font-weight: 400;
  font-size: clamp(44px, 4.85vw, 74px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--a35-white);
}

.a35-hero-quote img {
  display: inline-block;
  width: 1.18em;
  height: auto;
}

.a35-hero-quote-open {
  position: absolute;
  top: 0.06em;
  left: 0;
}

.a35-hero-quote-close {
  vertical-align: -0.38em;
  margin-left: 0.55em;
}

.a35-hero-visual {
  position: absolute;
  right: var(--a35-gutter);
  bottom: 0;
  width: min(48.6vw, 760px);
  height: 100%;
  pointer-events: none;
}

.a35-hero-watermark {
  position: absolute;
  top: 30%;
  left: 13%;
  width: 46%;
  opacity: 0.18;
}

.a35-hero-picture {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
}

.a35-hero-img {
  width: 100%;
}

/* Cinta celeste con logros */
.a35-ticker {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  background: var(--a35-cyan);
  color: var(--a35-blue);
  overflow: hidden;
}

.a35-ticker-track {
  display: flex;
  width: max-content;
  animation: a35-ticker 45s linear infinite;
}

.a35-ticker-group {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a35-ticker-group li {
  padding: 11px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.a35-ticker-group li::after {
  content: "·";
  margin: 0 0.6em;
}

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

@media (prefers-reduced-motion: reduce) {
  .a35-ticker-track {
    animation: none;
  }
}

/* Animación de entrada del hero (solo CSS; sin dependencias) */
@media (prefers-reduced-motion: no-preference) {
  .a35-hero-bg img {
    animation: a35-bg-in 2.2s var(--a35-ease) both;
  }

  .a35-header {
    animation: a35-fade-down 0.9s 0.1s var(--a35-ease) both;
  }

  .a35-hero-word {
    display: inline-block;
    /* parte de 0.01 para que el título cuente como LCP desde el primer pintado */
    animation: a35-word-in 0.9s calc(0.35s + var(--i) * 0.08s) var(--a35-ease) both;
  }

  .a35-hero-quote-open {
    animation: a35-quote-in 0.9s 0.25s var(--a35-ease) both;
  }

  .a35-hero-quote-close {
    animation: a35-quote-in 0.9s 0.95s var(--a35-ease) both;
  }

  .a35-hero-watermark {
    animation: a35-watermark-in 1.6s 0.6s var(--a35-ease) both, a35-float 7s 2.2s ease-in-out infinite;
  }

  .a35-hero-img {
    animation: a35-persona-in 1.2s 0.3s var(--a35-ease) both;
  }

  .a35-ticker {
    animation: a35-ticker-in 0.8s 1s var(--a35-ease) both;
  }
}

@keyframes a35-bg-in {
  from {
    transform: scale(1.08);
  }
}

@keyframes a35-fade-down {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
}

@keyframes a35-word-in {
  from {
    opacity: 0.01;
    transform: translateY(0.45em);
    filter: blur(6px);
  }
}

@keyframes a35-quote-in {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-8deg);
  }
}

@keyframes a35-watermark-in {
  from {
    opacity: 0;
    transform: translateX(-30px) scale(0.92);
  }
}

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

@keyframes a35-persona-in {
  from {
    opacity: 0.01;
    transform: translateY(60px) scale(0.97);
  }
}

@keyframes a35-ticker-in {
  from {
    transform: translateY(100%);
  }
}

/* ============================================================
   NUESTRA HISTORIA
   ============================================================ */
.a35-historia {
  padding: clamp(64px, 7vw, 100px) 0 clamp(72px, 8vw, 120px);
  background: var(--a35-gray);
}

.a35-historia-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 8vw, 150px);
  align-items: start;
}

.a35-historia-title {
  margin-top: 12px !important;
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.a35-historia-title strong {
  display: block;
  max-width: 10em;
  font-weight: 700;
}

.a35-historia-body {
  padding-top: 4px;
}

.a35-historia-body p {
  margin-bottom: 36px !important;
  max-width: 28em;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
}

/* ============================================================
   13 CAMPUS + MAPA
   ============================================================ */
.a35-campus {
  padding: clamp(64px, 6vw, 90px) 0;
  background: linear-gradient(180deg, var(--a35-blue-2) 0%, var(--a35-blue) 100%);
  color: var(--a35-white);
}

.a35-campus-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.a35-campus-info {
  max-width: 620px;
}

.a35-campus-title {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.a35-campus-title span {
  display: block;
  color: var(--a35-cyan);
  font-weight: 700;
}

.a35-campus-virtual {
  display: block;
  margin: 22px 0 26px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 999px;
  transition: transform 0.25s var(--a35-ease), filter 0.25s ease;
}

.a35-campus-virtual img {
  width: clamp(280px, 27vw, 390px);
}

.a35-campus-virtual:hover,
.a35-campus-virtual.is-active {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 22px rgba(0, 221, 237, 0.35));
}

.a35-campus-hint {
  margin-bottom: 22px !important;
  font-size: clamp(17px, 1.4vw, 20px);
}

.a35-campus-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  background: var(--a35-white);
  color: var(--a35-blue);
  box-shadow: 0 24px 50px rgba(0, 10, 40, 0.25);
}

.a35-campus-card-media {
  aspect-ratio: 604 / 232;
  overflow: hidden;
  background: #dfe6f3;
}

.a35-campus-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a35-campus-card-body {
  display: flex;
  flex-direction: column;
  padding: 22px 32px 26px;
  min-height: 182px;
}

.a35-campus-card-title {
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}

.a35-campus-card-desc {
  margin-top: 10px !important;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.4;
}

.a35-campus-card-desc strong {
  font-weight: 700;
}

.a35-campus-card.is-virtual .a35-campus-card-title {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.3;
}

.a35-campus-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  margin-top: 14px;
  padding: 7px 10px 7px 16px;
  border-radius: 999px;
  background: var(--a35-red);
  color: var(--a35-white);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s var(--a35-ease), box-shadow 0.25s ease;
}

.a35-campus-card-cta svg {
  color: var(--a35-red);
}

.a35-campus-card-cta:hover {
  color: var(--a35-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227, 5, 18, 0.35);
}

/* Transición al cambiar de campus */
.a35-campus-card [data-campus-img],
.a35-campus-card-body > * {
  transition: opacity 0.3s ease, transform 0.45s var(--a35-ease);
}

.a35-campus-card.is-changing [data-campus-img] {
  opacity: 0;
  transform: scale(1.04);
}

.a35-campus-card.is-changing .a35-campus-card-body > * {
  opacity: 0;
  transform: translateY(8px);
}

/* Mapa */
.a35-map {
  position: relative;
  width: 100%;
  aspect-ratio: 523 / 722;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: #bfeef7;
  box-shadow: 0 24px 50px rgba(0, 10, 40, 0.25);
  user-select: none;
}

.a35-map-viewport {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}

.a35-map.is-zoomed .a35-map-viewport {
  cursor: grab;
  touch-action: none;
}

.a35-map.is-dragging .a35-map-viewport {
  cursor: grabbing;
}

.a35-map-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.a35-map-sea {
  fill: #bfeef7;
}

.a35-map-neighbors path {
  fill: #f2f6fc;
  stroke: #a9b8cd;
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}

.a35-map-deps path {
  fill: #edf2fa;
  stroke: #7f90ad;
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
  transition: fill 0.3s ease;
}

.a35-map-deps path.is-campus {
  fill: #cdd6ea;
}

.a35-map-deps path.is-active {
  fill: #b7c4e2;
}

.a35-map-labels text {
  font-family: var(--a35-font);
  font-size: 13px;
  font-weight: 600;
  fill: var(--a35-blue);
  text-anchor: middle;
}

.a35-map-labels text.is-sea {
  text-anchor: start;
}

.a35-map-labels tspan {
  text-anchor: start;
}

.a35-map-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.a35-pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 32px;
  margin: -32px 0 0 -13px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--a35-red);
  pointer-events: auto;
  transform-origin: 50% 100%;
  transition: transform 0.25s var(--a35-ease), opacity 0.25s ease, color 0.25s ease;
  will-change: left, top;
}

.a35-pin svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: currentColor;
  filter: drop-shadow(0 3px 4px rgba(0, 20, 60, 0.3));
}

.a35-pin:focus-visible {
  transform: scale(1.15);
  z-index: 3;
}

@media (hover: hover) and (pointer: fine) {
  .a35-pin:hover {
    transform: scale(1.15);
    z-index: 3;
  }
}

.a35-pin.is-selected {
  color: var(--a35-blue);
  z-index: 2;
}

/* Halo del campus seleccionado */
.a35-pin.is-selected::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  background: rgba(0, 43, 157, 0.22);
  animation: a35-pulse 1.8s ease-out infinite;
}

@keyframes a35-pulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.a35-pin.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.4);
}

.a35-pin-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--a35-blue-2);
  color: var(--a35-white);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.a35-pin:focus-visible .a35-pin-label,
.a35-pin.is-selected:not(.is-hidden) .a35-pin-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: hover) and (pointer: fine) {
  .a35-pin:not(.is-hidden):hover .a35-pin-label {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.a35-pin.is-hidden .a35-pin-label {
  display: none;
}

/* Marcador agrupado (Lima y Callao) */
.a35-pin--group {
  width: 30px;
  height: 37px;
  margin: -37px 0 0 -15px;
}

.a35-pin-count {
  position: absolute;
  top: -6px;
  right: -9px;
  z-index: 2;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid var(--a35-white);
  border-radius: 999px;
  background: var(--a35-blue);
  color: var(--a35-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
}

.a35-pin--group.is-selected .a35-pin-count {
  background: var(--a35-red);
}

.a35-map-back {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--a35-blue);
  color: var(--a35-white);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 20, 60, 0.25);
  animation: a35-fade-in 0.35s var(--a35-ease) both;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.a35-map-back[hidden] {
  display: none;
}

.a35-map-back:hover {
  background: var(--a35-blue-2);
  transform: translateX(-2px);
}

.a35-map-zoom {
  position: absolute;
  left: 28px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.a35-map-zoom button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--a35-white);
  color: var(--a35-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 20, 60, 0.15);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.a35-map-zoom button:hover {
  transform: scale(1.08);
}

.a35-map-zoom button:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.a35-map-legend {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  gap: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--a35-white);
  color: var(--a35-blue);
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(0, 20, 60, 0.12);
}

.a35-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.a35-legend-pin {
  width: 10px;
  height: 13px;
  background: var(--a35-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0C5.6 0 .5 5 .5 11.3c0 8.1 10 17.4 10.4 17.8.6.5 1.6.5 2.2 0 .4-.4 10.4-9.7 10.4-17.8C23.5 5 18.4 0 12 0zm0 15.6a4.3 4.3 0 110-8.6 4.3 4.3 0 010 8.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0C5.6 0 .5 5 .5 11.3c0 8.1 10 17.4 10.4 17.8.6.5 1.6.5 2.2 0 .4-.4 10.4-9.7 10.4-17.8C23.5 5 18.4 0 12 0zm0 15.6a4.3 4.3 0 110-8.6 4.3 4.3 0 010 8.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.a35-legend-pin.is-selected {
  background: var(--a35-blue);
  box-shadow: 0 0 0 4px rgba(0, 43, 157, 0.15);
  border-radius: 50%;
}

/* ============================================================
   VOCES QUE CUENTAN NUESTRA HISTORIA
   ============================================================ */
.a35-voces {
  padding: clamp(64px, 6vw, 80px) 0 clamp(64px, 6vw, 90px);
  background: var(--a35-gray);
  overflow: hidden;
}

.a35-voces-head {
  position: relative;
}

.a35-voces-nav {
  position: absolute;
  right: var(--a35-gutter);
  bottom: 6px;
  display: flex;
  gap: 8px;
}

.a35-voces-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--a35-cyan);
  color: var(--a35-blue);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--a35-ease);
}

/* La flecha "anterior" va en tono suave, como en el diseño */
.a35-voces-arrow--prev {
  background: rgba(0, 221, 237, 0.3);
  color: rgba(0, 43, 157, 0.45);
}

.a35-voces-arrow:hover {
  background: var(--a35-cyan);
  color: var(--a35-blue);
  transform: scale(1.06);
}

.a35-voces-title {
  padding: 0 var(--a35-gutter);
  text-align: center;
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.a35-voces-title span {
  display: block;
  color: var(--a35-cyan);
  font-weight: 600;
}

.a35-voces-viewport {
  margin-top: clamp(36px, 4vw, 56px);
}

/* El carrusel respeta el ancho del contenedor (1180px) como el resto de secciones;
   los bordes se desvanecen para insinuar que hay más historias. */
.a35-voces-swiper {
  padding: 14px 0 !important;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.a35-voz {
  display: flex !important;
  flex-direction: column;
  width: 350px !important;
  min-height: 290px;
  height: auto !important;
  padding: 36px 34px 32px;
  border: 1px solid #9bd6df;
  border-radius: 18px;
  background: var(--a35-white);
  color: var(--a35-blue);
  transform: scale(0.91);
  transition: transform 0.5s var(--a35-ease), background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.a35-voz.swiper-slide-active {
  transform: scale(1);
  border-color: var(--a35-blue);
  background: var(--a35-blue);
  color: var(--a35-white);
}

.a35-voz-icon {
  width: 26px;
}

.a35-voz-quote {
  flex: 1;
  margin: 24px 0 26px !important;
  padding: 0;
  border: 0;
  font-size: 20px;
  line-height: 1.38;
}

.a35-voz-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.a35-voz-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f3f8;
  color: var(--a35-blue);
  font-size: 13px;
  font-weight: 700;
}

/* Colores explícitos: evita que estilos globales (p. ej. de footers) pinten el texto de blanco */
.a35-voz .a35-voz-quote,
.a35-voz .a35-voz-author strong,
.a35-voz .a35-voz-author small {
  color: var(--a35-blue);
  transition: color 0.4s ease;
}

.a35-voz.swiper-slide-active .a35-voz-quote,
.a35-voz.swiper-slide-active .a35-voz-author strong,
.a35-voz.swiper-slide-active .a35-voz-author small {
  color: var(--a35-white);
}

.a35-voz-author strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.a35-voz-author small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.75;
}

.a35-voces-cta {
  margin-top: clamp(36px, 4vw, 48px);
  text-align: center;
}

/* ============================================================
   MODALES (formulario, gracias, lightbox)
   ============================================================ */
.a35-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.a35-modal[hidden] {
  display: none;
}

.a35-modal.is-open {
  opacity: 1;
}

.a35-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 157, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.a35-modal-dialog {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: var(--a35-blue);
  color: var(--a35-white);
  box-shadow: 0 40px 90px rgba(0, 15, 60, 0.45);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.45s var(--a35-ease);
  overscroll-behavior: contain;
}

.a35-modal.is-open .a35-modal-dialog {
  transform: none;
}

.a35-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--a35-white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.a35-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

.a35-modal-title {
  font-size: clamp(36px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.a35-modal-title span {
  display: block;
  color: var(--a35-cyan);
  font-weight: 600;
}

.a35-modal-watermark {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: 384px;
  max-width: 100%;
  pointer-events: none;
}

/* Formulario: comparte tu historia */
.a35-form-dialog {
  display: grid;
  grid-template-columns: 42% 58%;
  max-width: 800px;
}

.a35-form-intro {
  position: relative;
  min-height: 100%;
  padding: 58px 32px 150px 44px;
  overflow: hidden;
}

.a35-form-intro .a35-modal-title {
  margin-top: 20px;
  font-size: clamp(34px, 2.9vw, 42px);
}

.a35-form-text {
  margin-top: 26px !important;
  font-size: 15px;
  line-height: 1.55;
}

.a35-form {
  position: relative;
  z-index: 1;
  padding: 54px 40px 44px 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--a35-blue-2);
}

.a35-form-intro > *:not(.a35-modal-watermark) {
  position: relative;
  z-index: 1;
}

.a35-field {
  margin-bottom: 16px;
}

.a35-field label {
  display: block;
  margin-bottom: 10px;
  padding-left: 4px;
  font-size: 13px;
  font-weight: 600;
}

.a35-form input[type="text"],
.a35-form select,
.a35-form textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--a35-white);
  font-family: var(--a35-font);
  font-size: 15px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.a35-form input[type="text"],
.a35-form select {
  height: 42px;
  padding: 0 16px;
}

.a35-form textarea {
  min-height: 104px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.45;
}

.a35-form ::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.a35-form input[type="text"]:focus,
.a35-form select:focus,
.a35-form textarea:focus {
  outline: none;
  border-color: var(--a35-cyan);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(0, 221, 237, 0.18);
}

.a35-field.has-error input,
.a35-field.has-error select,
.a35-field.has-error textarea {
  border-color: #ff8a92;
}

.a35-select {
  position: relative;
}

.a35-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--a35-white);
  border-bottom: 2px solid var(--a35-white);
  transform: rotate(45deg);
  pointer-events: none;
}

.a35-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.a35-form select:invalid {
  color: rgba(255, 255, 255, 0.85);
}

.a35-select.is-custom .a35-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.a35-select.is-custom::after {
  z-index: 2;
  transition: transform 0.25s var(--a35-ease);
}

.a35-select.is-open::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.a35-cselect-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  padding: 0 44px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--a35-white);
  font-size: 15px;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.a35-cselect-btn:hover {
  background: rgba(255, 255, 255, 0.11);
}

.a35-select.is-open .a35-cselect-btn,
.a35-cselect-btn:focus-visible {
  outline: none;
  border-color: var(--a35-cyan);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(0, 221, 237, 0.18);
}

.a35-field.has-error .a35-cselect-btn {
  border-color: #ff8a92;
}

.a35-cselect-value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.a35-cselect-value.is-placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.a35-cselect-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 300px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid rgba(0, 221, 237, 0.35);
  border-radius: 14px;
  background: var(--a35-white);
  box-shadow: 0 22px 44px rgba(0, 15, 60, 0.35);
  animation: a35-drop 0.22s var(--a35-ease);
  overscroll-behavior: contain;
}

.a35-cselect-list:focus {
  outline: none;
}

@keyframes a35-drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.a35-cselect-list li {
  position: relative;
  padding: 11px 40px 11px 14px;
  border-radius: 9px;
  color: var(--a35-blue);
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.a35-cselect-list li.is-active {
  background: rgba(0, 221, 237, 0.16);
}

.a35-cselect-list li[aria-selected="true"] {
  font-weight: 700;
}

/* Check del valor elegido */
.a35-cselect-list li[aria-selected="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 6px;
  height: 11px;
  margin-top: -7px;
  border-right: 2px solid var(--a35-blue);
  border-bottom: 2px solid var(--a35-blue);
  transform: rotate(45deg);
}

.a35-cselect-list li[aria-selected="true"]::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 9px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--a35-cyan);
}

.a35-form select option {
  color: var(--a35-blue);
  background: var(--a35-white);
}

.a35-field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.a35-field-error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  color: #ffb3b8;
  font-size: 12px;
}

.a35-field-error:empty {
  display: none;
}

.a35-counter {
  margin-top: 6px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  white-space: nowrap;
}

.a35-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 10px 0 22px;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.a35-check input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--a35-cyan);
  cursor: pointer;
}

.a35-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.a35-form-status {
  margin-bottom: 12px !important;
  font-size: 13px;
  color: #ffb3b8;
}

.a35-form-status:empty {
  display: none;
}

.a35-form-submit {
  width: 100%;
  max-width: 222px;
  min-height: 46px;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--a35-blue-2);
}

.a35-form-submit[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.a35-form-submit.is-loading svg {
  animation: a35-fly 0.9s ease-in-out infinite;
}

@keyframes a35-fly {
  50% {
    transform: translate(4px, -4px);
  }
}

/* Modal: historia recibida */
.a35-gracias-dialog {
  max-width: 955px;
  padding: 90px 40px 74px;
  overflow: hidden;
  text-align: center;
}

/* Solo en pantallas muy bajas se permite desplazar el contenido */
@media (max-height: 600px) {
  .a35-gracias-dialog {
    overflow-y: auto;
  }
}

.a35-gracias-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.a35-gracias-check {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--a35-cyan);
  color: var(--a35-blue);
}

.a35-gracias-check svg {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}

.a35-modal.is-open .a35-gracias-check svg {
  animation: a35-draw 0.6s 0.25s var(--a35-ease) forwards;
}

@keyframes a35-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.a35-gracias-dialog .a35-modal-title {
  margin-top: 18px;
}

.a35-gracias-text {
  max-width: 480px;
  margin: 26px 0 34px !important;
  font-size: 15px;
  line-height: 1.6;
}

.a35-gracias-text strong {
  color: var(--a35-cyan);
  font-weight: 700;
}

.a35-gracias-dialog .a35-btn--cyan {
  padding: 18px 26px;
  font-size: 13px;
  border-radius: 14px;
}

.a35-gracias-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.a35-gracias-deco--top {
  top: 0;
  left: 0;
  width: 220px;
}

.a35-gracias-deco--bottom {
  right: 0;
  bottom: 0;
  width: 226px;
}

/* ============================================================
   35 AÑOS EN IMÁGENES
   ============================================================ */
.a35-galeria {
  position: relative;
  padding: clamp(56px, 5vw, 70px) 0 clamp(72px, 6vw, 90px);
  background: var(--a35-gray);
  overflow: hidden;
}

.a35-galeria-deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(240px, 30vw, 424px);
  pointer-events: none;
}

.a35-galeria .a35-container {
  position: relative;
  z-index: 1;
}

.a35-galeria-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.a35-galeria-title {
  margin-top: 10px !important;
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.a35-galeria-title span {
  color: var(--a35-cyan);
}

.a35-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.a35-filtro {
  padding: 9px 16px;
  border: 1px solid var(--a35-line);
  border-radius: 999px;
  background: var(--a35-white);
  color: var(--a35-blue);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.a35-filtro:hover {
  border-color: var(--a35-blue);
}

.a35-filtro.is-active {
  border-color: var(--a35-blue);
  background: var(--a35-blue);
  color: var(--a35-white);
}

/* Columnas proporcionales al tamaño real de las fotos (520 + 312 + 312 + 2×16 = 1176px):
   a ancho completo se muestran 1:1, sin reescalar. */
.a35-galeria-grid {
  display: grid;
  grid-template-columns: 520fr 312fr 312fr;
  grid-auto-rows: minmax(0, 1fr);
  gap: 16px;
  max-width: 1176px;
  aspect-ratio: 1176 / 526;
}

.a35-galeria-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #dfe6f3;
  cursor: zoom-in;
}

.a35-galeria-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 43, 105, 0) 55%, rgba(0, 43, 105, 0.35) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.a35-galeria-item:hover::after {
  opacity: 1;
}

/* Ícono modular "ver imagen completa" (esquina inferior izquierda) */
.a35-galeria-item .a35-expand {
  position: absolute;
  left: 23px;
  bottom: 23px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(40, 52, 90, 0.92);
  color: var(--a35-white);
  transition: transform 0.25s var(--a35-ease), background-color 0.25s ease;
}

.a35-galeria-item .a35-expand img {
  width: 45%;
  height: auto;
}

.a35-galeria-item:hover .a35-expand,
.a35-galeria-item .a35-expand:focus-visible {
  transform: scale(1.1);
  background: var(--a35-blue);
}

.a35-galeria-item:first-child {
  grid-row: span 2;
}

.a35-galeria-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.a35-galeria-item.is-hidden {
  display: none;
}

/* Al filtrar: cuadrícula uniforme */
.a35-galeria-grid.is-filtered {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: auto;
  aspect-ratio: auto;
}

.a35-galeria-grid.is-filtered .a35-galeria-item {
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

.a35-galeria-grid.is-animating .a35-galeria-item {
  animation: a35-fade-in 0.5s var(--a35-ease) both;
}

@keyframes a35-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* Lightbox */
.a35-lightbox-figure {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-width: min(1000px, 100%);
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 40px 90px rgba(0, 15, 60, 0.45);
  transform: scale(0.97);
  transition: transform 0.45s var(--a35-ease);
}

.a35-lightbox.is-open .a35-lightbox-figure {
  transform: none;
}

/* Todas las fotos se muestran con la misma altura (la de la foto destacada), sea cual sea su tamaño */
.a35-lightbox-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(560px, calc(100vh - 120px));
  height: min(560px, calc(100dvh - 120px));
  object-fit: contain;
}

.a35-lightbox-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(0, 20, 60, 0.25);
  color: var(--a35-white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.a35-lightbox-btn:hover {
  background: rgba(0, 43, 157, 0.6);
  transform: scale(1.08);
}

.a35-lightbox-close {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-color: transparent;
  background: transparent;
}

.a35-lightbox-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
  transform: translateY(-50%);
}

.a35-lightbox-nav .a35-lightbox-btn {
  width: 40px;
  height: 40px;
  pointer-events: auto;
}

/* ============================================================
   PROGRAMA OFICIAL DE ANIVERSARIO (programa.php)
   ============================================================ */
.a35-programa {
  padding: clamp(64px, 6vw, 90px) 0 clamp(64px, 6vw, 90px);
  border-top: 4px solid var(--a35-cyan);
  background: var(--a35-gray);
}

.a35-programa-head {
  text-align: center;
}

.a35-programa-title {
  margin-top: 18px !important;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.a35-programa-title strong {
  font-weight: 700;
}

.a35-programa-subtitle {
  margin-top: 18px !important;
  font-size: clamp(17px, 1.6vw, 24px);
}

.a35-programa-filtros {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: clamp(40px, 5vw, 70px) 0 clamp(48px, 5vw, 76px);
}

.a35-programa-filtro {
  position: relative;
  min-width: 0;
}

.a35-programa-filtro > label {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

/* Variante clara del selector personalizado (sobre fondo gris/blanco) */
.a35-select--claro::after {
  right: 28px;
  border-color: var(--a35-blue);
}

.a35-select--claro .a35-cselect-btn {
  height: clamp(54px, 5vw, 76px);
  padding: 0 64px 0 30px;
  border-color: var(--a35-line);
  border-radius: 16px;
  background: var(--a35-white);
  color: var(--a35-blue);
  font-size: clamp(16px, 1.6vw, 23px);
}

.a35-select--claro .a35-cselect-btn:hover {
  background: var(--a35-white);
  border-color: var(--a35-blue);
}

.a35-select--claro.is-open .a35-cselect-btn,
.a35-select--claro .a35-cselect-btn:focus-visible {
  border-color: var(--a35-blue);
  background: var(--a35-white);
  box-shadow: 0 0 0 4px rgba(0, 43, 157, 0.1);
}

.a35-select--claro .a35-cselect-value.is-placeholder {
  color: var(--a35-blue);
}

.a35-select--claro .a35-cselect-list {
  border-color: var(--a35-line);
  box-shadow: 0 22px 44px rgba(0, 30, 90, 0.16);
}

/* Cards de eventos */
.a35-programa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.a35-evento {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid #dde3ee;
  border-radius: 24px;
  background: var(--a35-white);
  color: var(--a35-blue);
  transition: transform 0.35s var(--a35-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.a35-evento[hidden] {
  display: none;
}

.a35-evento:hover {
  border-color: rgba(0, 43, 157, 0.25);
  box-shadow: 0 18px 40px rgba(0, 30, 90, 0.08);
  transform: translateY(-4px);
}

.a35-evento.is-entering {
  animation: a35-fade-in 0.45s var(--a35-ease) both;
}

.a35-evento.is-destacado {
  border-color: var(--a35-blue);
  background: var(--a35-blue);
  color: var(--a35-white);
}

.a35-evento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.a35-tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.a35-tag-pill--azul {
  background: var(--a35-blue);
  color: var(--a35-white);
}

.a35-tag-pill--cyan {
  background: var(--a35-cyan);
  color: var(--a35-blue);
}

.a35-tag-pill--claro {
  background: #e8f3f8;
  color: var(--a35-blue);
}

.a35-evento-categoria {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.a35-evento-titulo {
  margin-top: 8px !important;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 400;
  line-height: 1.25;
}

.a35-evento-lugar {
  margin-top: 10px !important;
  font-size: 13px;
}

.a35-evento-desc {
  margin-top: 8px !important;
  font-size: 12.5px;
  line-height: 1.45;
}

.a35-evento-ubicacion {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 14px;
}

.a35-evento-ubicacion svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.a35-evento-ubicacion span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.a35-evento-ubicacion strong {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
}

.a35-evento-ubicacion a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 43, 157, 0.35);
  text-underline-offset: 3px;
}

.a35-evento-ubicacion a:hover {
  text-decoration-color: currentColor;
}

.a35-evento-notas {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-style: italic;
  line-height: 1.4;
}

.a35-evento-notas li + li {
  margin-top: 4px;
}

.a35-evento-acciones {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding-top: 16px;
}

/* Los botones quedan alineados al pie de todas las cards de la fila */
.a35-evento-acciones {
  margin-top: auto;
}

.a35-evento-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--a35-line);
  border-radius: 999px;
  color: var(--a35-blue);
  font-size: 11.5px;
  white-space: nowrap;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.a35-evento-btn:hover {
  border-color: var(--a35-blue);
  background: var(--a35-blue);
  color: var(--a35-white);
}

.a35-evento.is-destacado .a35-evento-btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--a35-white);
}

.a35-programa-vacio {
  margin-top: 8px !important;
  padding: 40px 24px;
  border: 1px dashed var(--a35-line);
  border-radius: 24px;
  font-size: 17px;
  text-align: center;
}

.a35-programa-nota {
  margin-top: 40px !important;
  font-size: clamp(15px, 1.3vw, 18px);
  text-align: center;
}

@media (max-width: 1100px) {
  .a35-programa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .a35-programa-filtros {
    gap: 8px;
    margin: 32px 0 26px;
  }

  .a35-programa-filtros {
    align-items: end;
  }

  .a35-programa-filtro > label {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  .a35-select--claro::after {
    right: 14px;
    width: 7px;
    height: 7px;
  }

  .a35-select--claro .a35-cselect-btn {
    height: 40px;
    padding: 0 28px 0 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  /* La lista es más ancha que el filtro para que se lean las opciones */
  .a35-select--claro .a35-cselect-list {
    right: auto;
    min-width: max(100%, 200px);
  }

  .a35-programa-filtro:last-child .a35-cselect-list {
    left: auto;
    right: 0;
  }

  .a35-select--claro .a35-cselect-list li {
    font-size: 14px;
  }

  .a35-programa-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .a35-evento {
    padding: 22px 20px 20px;
    border-radius: 20px;
  }

  .a35-evento-tags {
    margin-bottom: 14px;
  }

  .a35-tag-pill {
    min-height: 26px;
    padding: 0 12px;
    font-size: 10.5px;
  }

  .a35-evento-titulo {
    font-size: 19px;
  }

  .a35-evento-lugar {
    font-size: 14px;
  }

  .a35-evento-desc {
    font-size: 13.5px;
  }

  .a35-evento-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }
}

/* ============================================================
   PREMIOS NOBEL (premios-nobel.php)
   ============================================================ */

/* ---------- Hero ---------- */
.a35-hero--nobel .a35-hero-container {
  align-items: center;
}

.a35-hero-nobel-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-top: 10px;
}

.a35-hero-nobel-medalla {
  width: clamp(80px, 7vw, 104px);
  margin-bottom: 26px;
}

.a35-hero-nobel-title {
  font-family: var(--a35-serif);
  font-size: clamp(38px, 3.9vw, 56px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--a35-white);
}

.a35-hero-nobel-title span,
.a35-hero-nobel-title strong {
  display: block;
}

.a35-hero-nobel-title span {
  font-weight: 300;
}

.a35-hero-nobel-title strong {
  font-weight: 700;
}

.a35-hero-nobel-firma {
  margin-top: 22px !important;
  font-family: "Autography", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.1;
  color: var(--a35-white);
}

.a35-hero-nobel-resaltado {
  margin-top: 6px !important;
}

.a35-hero-nobel-resaltado span {
  display: inline-block;
  padding: 2px 14px 3px;
  background: var(--a35-cyan);
  color: var(--a35-blue-2);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}

.a35-hero-nobel-sub {
  margin-top: 18px !important;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--a35-white);
}

.a35-hero-nobel-visual {
  position: absolute;
  right: var(--a35-gutter);
  bottom: 0;
  width: min(42vw, 620px);
  pointer-events: none;
}

.a35-hero-nobel-visual .a35-hero-img {
  width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .a35-hero-nobel-medalla {
    animation: a35-quote-in 0.9s 0.2s var(--a35-ease) both;
  }

  .a35-hero-nobel-title,
  .a35-hero-nobel-firma,
  .a35-hero-nobel-resaltado,
  .a35-hero-nobel-sub {
    animation: a35-word-in 0.9s var(--a35-ease) both;
  }

  .a35-hero-nobel-title {
    animation-delay: 0.3s;
  }

  .a35-hero-nobel-firma {
    animation-delay: 0.55s;
  }

  .a35-hero-nobel-resaltado {
    animation-delay: 0.7s;
  }

  .a35-hero-nobel-sub {
    animation-delay: 0.85s;
  }
}

/* ---------- Elementos comunes ---------- */
.a35-nobel-section-title {
  margin-top: 16px !important;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.a35-nobel-premio {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
}

.a35-nobel-premio img {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.a35-nobel-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--a35-cyan);
  color: var(--a35-blue-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s var(--a35-ease), box-shadow 0.25s ease;
}

.a35-nobel-btn svg {
  transition: transform 0.25s var(--a35-ease);
}

.a35-nobel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 221, 237, 0.35);
}

.a35-nobel-btn:hover svg {
  transform: translateX(4px);
}

/* ---------- El Nobel de nuestros 35 años ---------- */
.a35-nobel-destacado {
  padding: clamp(56px, 5vw, 80px) 0 clamp(72px, 7vw, 110px);
  background: var(--a35-gray);
}

.a35-nobel-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--a35-blue);
  box-shadow: 0 30px 60px rgba(0, 30, 90, 0.18);
}

.a35-nobel-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.a35-nobel-feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 5vw, 70px);
  color: var(--a35-white);
}

.a35-nobel-feature-nombre {
  margin-top: 18px !important;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.a35-nobel-feature-resumen {
  margin-top: 26px !important;
  font-size: 16px;
  line-height: 1.85;
}

.a35-nobel-feature-cita {
  margin: 24px 0 30px !important;
  padding: 0;
  border: 0;
  font-family: var(--a35-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}

/* ---------- Otros Nobel que nos visitaron ---------- */
.a35-nobel-otros {
  padding: clamp(56px, 5vw, 80px) 0 clamp(64px, 6vw, 90px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--a35-blue-2) 0%, var(--a35-blue) 100%);
  color: var(--a35-white);
}

.a35-nobel-otros-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.a35-nobel-otros-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.a35-nobel-otros .a35-nobel-section-title {
  margin-top: 10px !important;
}

.a35-nobel-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.a35-nobel-contador {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-right: 20px !important;
  font-size: 18px;
}

.a35-nobel-contador span:last-child,
.a35-nobel-contador-sep {
  font-size: 14px;
  opacity: 0.75;
}

.a35-nobel-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--a35-white);
  color: var(--a35-blue);
  transition: background-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.a35-nobel-arrow:hover:not(:disabled) {
  transform: scale(1.06);
}

.a35-nobel-arrow:disabled {
  background: rgba(255, 255, 255, 0.3);
  color: var(--a35-blue);
  cursor: default;
}

/* El carrusel parte alineado al contenido y se extiende solo hacia la derecha */
.a35-nobel-swiper {
  overflow: visible !important;
  clip-path: inset(-20px -100vw -20px 0);
}

.a35-nobel-card {
  position: relative;
  width: min(490px, 80vw) !important;
  height: auto !important;
  aspect-ratio: 490 / 570;
  overflow: hidden;
  border-radius: 18px;
  background: var(--a35-blue-2);
}

.a35-nobel-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--a35-ease);
}

.a35-nobel-card:hover .a35-nobel-card-img {
  transform: scale(1.04);
}

.a35-nobel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 43, 105, 0.05) 30%, rgba(0, 43, 157, 0.55) 62%, rgba(0, 30, 110, 0.95) 100%);
  pointer-events: none;
}

.a35-nobel-card-anio {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(0, 20, 60, 0.25);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.a35-nobel-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 34px 34px;
}

.a35-nobel-card-nombre {
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.a35-nobel-card .a35-nobel-premio {
  margin-top: 16px !important;
  font-size: 15px;
}

.a35-nobel-card .a35-nobel-premio img {
  width: 32px;
  height: 32px;
}

.a35-nobel-card-resumen {
  margin: 20px 0 24px !important;
  font-size: 14px;
  line-height: 1.6;
}

.a35-nobel-pager {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.a35-nobel-bullets {
  display: flex;
  align-items: center;
  gap: 6px;
}

.a35-nobel-bullet {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transition: width 0.3s var(--a35-ease), background-color 0.3s ease;
}

.a35-nobel-bullet.is-active {
  width: 24px;
  background: var(--a35-cyan);
}

.a35-nobel-pager-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

/* ---------- Modal de la historia ---------- */
.a35-nobel-modal-dialog {
  display: grid;
  grid-template-columns: 47% 53%;
  max-width: 880px;
  border: 0;
  background: #f1f5fd;
  color: var(--a35-blue);
}

.a35-nobel-modal-media {
  background: var(--a35-blue-2);
}

.a35-nobel-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.a35-nobel-modal-body {
  position: relative;
  max-height: calc(100dvh - 48px);
  padding: 56px 46px 46px;
  overflow-y: auto;
}

.a35-nobel-modal-dialog > .a35-modal-close {
  top: 30px;
  right: 30px;
  border-color: #cdd5e4;
  background: transparent;
  color: var(--a35-blue);
}

.a35-nobel-modal-dialog > .a35-modal-close:hover {
  background: rgba(0, 43, 157, 0.08);
}

.a35-nobel-modal-eyebrow {
  padding-right: 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.a35-nobel-modal-nombre {
  margin-top: 20px !important;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.a35-nobel-premio--modal {
  margin-top: 18px !important;
  font-size: 15px;
}

.a35-nobel-premio--modal img {
  width: 28px;
  height: 28px;
}

.a35-nobel-modal-cita {
  margin: 22px 0 0 !important;
  padding: 0;
  border: 0;
  font-family: var(--a35-serif);
  font-size: 19px;
  line-height: 1.4;
}

.a35-nobel-modal-bio p {
  margin: 0;
}

.a35-nobel-modal-bio p + p {
  margin-top: 10px;
}

.a35-nobel-modal-bio a {
  color: var(--a35-blue);
  font-weight: 600;
  text-decoration: underline;
}

.a35-nobel-modal-bio {
  margin-top: 20px !important;
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .a35-nobel-feature {
    grid-template-columns: 1fr;
  }

  .a35-nobel-feature-media {
    aspect-ratio: 16 / 12;
  }
}

@media (max-width: 768px) {
  .a35-hero--nobel .a35-hero-container {
    align-items: center;
  }

  .a35-hero-nobel-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
    padding-top: 0;
    text-align: center;
  }

  .a35-hero-nobel-medalla {
    width: 64px;
    margin-bottom: 16px;
  }

  .a35-hero-nobel-title {
    font-size: clamp(26px, 7.4vw, 34px);
  }

  .a35-hero-nobel-firma {
    margin-top: 12px !important;
    font-size: clamp(20px, 6.2vw, 30px);
    white-space: nowrap;
  }

  .a35-hero-nobel-resaltado span {
    font-size: 17px;
  }

  .a35-hero-nobel-sub {
    margin-top: 12px !important;
    font-size: 16px;
  }

  .a35-hero-nobel-visual {
    position: relative;
    right: auto;
    width: min(100%, 420px);
    margin-top: 24px;
  }

  .a35-nobel-section-title {
    font-size: clamp(34px, 9.5vw, 44px);
  }

  .a35-nobel-feature {
    margin-top: 28px;
    border-radius: 22px;
  }

  .a35-nobel-feature-media {
    aspect-ratio: 384 / 300;
  }

  .a35-nobel-feature-body {
    padding: 30px 28px 34px;
  }

  .a35-nobel-feature-nombre {
    font-size: clamp(34px, 10vw, 44px);
  }

  .a35-nobel-feature-resumen {
    margin-top: 18px !important;
    font-size: 14px;
    line-height: 1.5;
  }

  .a35-nobel-btn {
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
  }

  .a35-nobel-otros-head {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }

  .a35-nobel-nav {
    justify-content: flex-end;
  }

  .a35-nobel-contador {
    margin-right: auto !important;
    font-size: 22px;
  }

  .a35-nobel-card {
    width: 100% !important;
    aspect-ratio: 380 / 488;
  }

  .a35-nobel-card-body {
    padding: 0 28px 28px;
  }

  .a35-nobel-card-anio {
    top: 22px;
    left: 22px;
  }

  .a35-nobel-swiper {
    clip-path: none;
    overflow: hidden !important;
  }

  .a35-nobel-modal-dialog {
    grid-template-columns: 1fr;
    max-width: 440px;
    overflow-y: auto;
  }

  .a35-nobel-modal-media {
    height: 280px;
  }

  .a35-nobel-modal-body {
    max-height: none;
    padding: 30px 26px 32px;
    overflow: visible;
  }

  .a35-nobel-modal-dialog > .a35-modal-close {
    top: 16px;
    right: 16px;
    border-color: transparent;
    background: var(--a35-white);
  }

  .a35-nobel-modal-nombre {
    margin-top: 14px !important;
  }
}

/* ============================================================
   LOGROS (componente compartido _main/components/logros.php)
   Mismo tratamiento "modo azul" que openday-solicitudes, con el azul UCV.
   ============================================================ */
.a35-page .logros-section--blue {
  position: relative;
  margin-top: 0 !important;
  padding: 90px 4% 140px !important;
  overflow: hidden;
  background: linear-gradient(180deg, var(--a35-blue) 0%, var(--a35-blue-2) 100%) !important;
}

.a35-page .logros-section--blue .benefits-container {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.a35-page .logros-section--blue .logros-heading-text {
  justify-content: center !important;
  width: 100% !important;
  margin-bottom: 40px !important;
  color: var(--a35-white) !important;
  font-family: var(--a35-font) !important;
  font-size: clamp(34px, 4.6vw, 64px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  text-transform: none !important;
}

.a35-page .logros-section--blue #logros-intro {
  display: none !important;
}

.a35-page .logros-section--blue .achievement-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 380px !important;
  padding: 36px 28px 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 40px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 39px 56px -36px rgba(255, 255, 255, 0.4),
    inset 0 7px 11px -4px rgba(255, 255, 255, 0.9),
    inset 0 -82px 68px -64px rgba(0, 15, 70, 0.3),
    inset 0 98px 100px -48px rgba(0, 221, 237, 0.18),
    inset 0 4px 18px 0 rgba(0, 20, 85, 0.3) !important;
}

@media (hover: hover) and (pointer: fine) {
  .a35-page .logros-section--blue .achievement-card:hover {
    border-color: rgba(0, 221, 237, 0.5) !important;
    transform: translateY(-8px) !important;
  }
}

.a35-page .logros-section--blue .achievement-category {
  display: block !important;
  margin-bottom: 16px !important;
  color: var(--a35-cyan) !important;
  font-family: var(--a35-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

.a35-page .logros-section--blue .achievement-title {
  display: none !important;
}

.a35-page .logros-section--blue .achievement-desc {
  margin: 0 !important;
  color: var(--a35-white) !important;
  font-family: var(--a35-font) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.a35-page .logros-section--blue .achievement-desc strong,
.a35-page .logros-section--blue .achievement-desc em {
  color: var(--a35-white) !important;
  font-weight: 700 !important;
}

.a35-page .logros-section--blue .achievement-logo {
  filter: none !important;
}

.a35-page .logros-section--blue .achievements-prev,
.a35-page .logros-section--blue .achievements-next {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
  color: var(--a35-white) !important;
}

.a35-page .logros-section--blue .achievements-prev:hover,
.a35-page .logros-section--blue .achievements-next:hover {
  border-color: var(--a35-cyan) !important;
  background: var(--a35-cyan) !important;
  color: var(--a35-blue) !important;
}

.a35-page .logros-section--blue .achievements-pagination .swiper-pagination-bullet {
  background: var(--a35-white) !important;
  opacity: 0.45 !important;
}

.a35-page .logros-section--blue .achievements-pagination .swiper-pagination-bullet-active {
  background: var(--a35-cyan) !important;
  opacity: 1 !important;
}

/* ============================================================
   FOOTER (componente compartido _main/components/footer.php)
   Versión simple del 35 aniversario: copyright a la izquierda y
   "Políticas de privacidad" a la derecha; en mobile, en columna centrado.
   Solo se adapta con CSS (el componente de la plataforma no se modifica);
   el bloque de modalidades se oculta con $show_modalidades = false en cierre.php.
   ============================================================ */
.a35-page .logros-section--blue {
  padding-bottom: 100px !important;
}

.a35-page .editorial-footer {
  position: relative !important;
  z-index: 20 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 3px solid var(--a35-blue) !important;
  border-radius: 0 !important;
  background: var(--a35-white) !important;
  color: var(--a35-blue) !important;
  box-shadow: none !important;
}

.a35-page .editorial-footer .footer-bottom-grid {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: calc(var(--a35-container) + 2 * var(--a35-gutter)) !important;
  min-height: 260px !important;
  margin: 0 auto !important;
  padding: 0 var(--a35-gutter) !important;
}

.a35-page .editorial-footer .footer-bottom-copyright {
  position: static !important;
  display: block !important;
  text-align: left !important;
}

.a35-page .editorial-footer .footer-copyright-text {
  margin: 0 !important;
  color: var(--a35-blue) !important;
  font-family: var(--a35-font) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

/* El enlace viene dentro del párrafo del copyright: se lleva al lado derecho */
.a35-page .editorial-footer .footer-copyright-text br:last-of-type {
  display: none;
}

.a35-page .editorial-footer .footer-copyright-text a {
  position: absolute !important;
  top: 50% !important;
  right: var(--a35-gutter) !important;
  display: inline-block !important;
  margin: 0 !important;
  color: var(--a35-blue) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transform: translateY(-50%) !important;
  transition: opacity 0.2s ease !important;
}

.a35-page .editorial-footer .footer-copyright-text a:hover {
  opacity: 0.75 !important;
}

.a35-page .editorial-footer .footer-bottom-times,
.a35-page .editorial-footer .footer-bottom-scroll {
  display: none !important;
}

@media (max-width: 768px) {
  .a35-page .logros-section--blue {
    padding: 65px 5% 70px !important;
  }

  .a35-page .logros-section--blue .logros-heading-text {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    margin-bottom: 28px !important;
  }

  .a35-page .logros-section--blue .achievement-card {
    min-height: 330px !important;
    padding: 26px 20px 22px !important;
    border-radius: 34px !important;
  }

  .a35-page .editorial-footer .footer-bottom-grid {
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 56px var(--a35-gutter) !important;
    text-align: center !important;
  }

  .a35-page .editorial-footer .footer-bottom-copyright,
  .a35-page .editorial-footer .footer-copyright-text {
    text-align: center !important;
  }

  .a35-page .editorial-footer .footer-copyright-text {
    font-size: 16px !important;
  }

  /* En mobile el enlace vuelve debajo del copyright, centrado */
  .a35-page .editorial-footer .footer-copyright-text a {
    display: block !important;
    position: static !important;
    margin-top: 18px !important;
    font-size: 15px !important;
    transform: none !important;
  }
}

/* ============================================================
   RESPONSIVE: TABLET
   ============================================================ */
@media (max-width: 1100px) {
  .a35-header-cta {
    padding: 12px 18px;
    font-size: 14px;
  }

  .a35-nav-link.is-active {
    min-width: 0;
  }
}

/* ============================================================
   RESPONSIVE: MOBILE / MENÚ COLAPSADO
   ============================================================ */
@media (max-width: 960px) {
  :root {
    --a35-header-h: 88px;
  }

  .a35-header {
    padding: 28px 0 0;
  }

  .a35-header-container > .a35-header-cta {
    display: none;
  }

  .a35-menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--a35-white);
  }

  .a35-menu-icon {
    width: 38px;
  }

  .a35-menu-close {
    display: none;
  }

  .a35-header.is-open .a35-menu-icon {
    display: none;
  }

  .a35-header.is-open .a35-menu-close {
    display: block;
  }

  .a35-header.is-open {
    background: var(--a35-blue-2);
  }

  .a35-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px var(--a35-gutter) 28px;
    background: var(--a35-blue-2);
    box-shadow: 0 24px 40px rgba(0, 10, 40, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .a35-header.is-open .a35-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .a35-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-radius: 22px;
  }

  .a35-nav-link {
    padding: 14px 18px;
    font-size: 16px;
    text-align: center;
  }

  .a35-header-cta--mobile {
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --a35-gutter: 20px;
  }

  /* Hero */
  .a35-hero {
    height: auto;
    min-height: 0;
  }

  .a35-hero-container {
    flex-direction: column;
    align-items: center;
    padding-top: calc(var(--a35-header-h) + 20px);
  }

  .a35-hero-quote {
    max-width: calc(6.9em + 1.25em);
    padding-left: 1.25em;
    font-size: clamp(30px, 8.4vw, 44px);
    line-height: 1.25;
  }

  .a35-hero-quote-open {
    top: 0.04em;
  }

  .a35-hero-quote img {
    width: 1.1em;
  }

  .a35-hero-quote-close {
    margin-left: 0.4em;
    vertical-align: -0.32em;
  }

  .a35-hero-visual {
    position: relative;
    right: auto;
    width: min(100%, 400px);
    height: auto;
    margin-top: 14px;
  }

  .a35-hero-watermark {
    top: 6%;
    left: -2%;
    width: 52%;
  }

  .a35-hero-picture {
    position: relative;
    width: 100%;
  }

  .a35-ticker-group li {
    padding: 9px 0;
    font-size: 13px;
  }

  /* Nuestra historia */
  .a35-historia-container {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .a35-eyebrow {
    font-size: 14px;
  }

  .a35-historia-title strong {
    max-width: none;
  }

  .a35-historia-body p {
    margin: 0 auto 30px !important;
  }

  .a35-btn--outline {
    padding: 16px 28px;
    font-size: 19px;
  }

  /* Campus */
  .a35-campus-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .a35-campus-info {
    display: contents;
  }

  .a35-campus-title {
    order: 1;
    font-size: clamp(34px, 10vw, 44px);
  }

  .a35-campus-virtual {
    order: 2;
    margin: 4px 0;
  }

  .a35-campus-virtual img {
    width: min(260px, 70vw);
  }

  .a35-campus-hint {
    order: 3;
    margin: 0 !important;
    font-size: 16px;
  }

  .a35-map {
    order: 4;
    aspect-ratio: 523 / 640;
    border-radius: 18px;
  }

  .a35-campus-card {
    order: 5;
    width: 100%;
    text-align: left;
    border-radius: 20px;
  }

  .a35-campus-card-body {
    min-height: 0;
    padding: 20px 20px 22px;
  }

  .a35-campus-card-cta {
    align-self: flex-start;
  }

  .a35-pin {
    width: 21px;
    height: 26px;
    margin: -26px 0 0 -10.5px;
  }

  .a35-pin--group {
    width: 25px;
    height: 31px;
    margin: -31px 0 0 -12.5px;
  }

  .a35-map-zoom {
    left: 16px;
    bottom: 64px;
    gap: 8px;
  }

  .a35-map-zoom button {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .a35-map-legend {
    left: 16px;
    bottom: 14px;
    gap: 12px;
    padding: 7px 12px;
    font-size: 10px;
  }

  .a35-map-labels text {
    font-size: 15px;
  }

  /* Voces */
  .a35-voces-nav {
    position: static;
    justify-content: center;
    margin-top: 22px;
  }

  .a35-voces-arrow {
    width: 44px;
    height: 44px;
  }

  .a35-voz {
    width: min(338px, 80vw) !important;
    min-height: 0;
    padding: 30px 28px 28px;
  }

  .a35-voz-quote {
    font-size: 21px;
  }

  .a35-voces-cta .a35-btn--cyan {
    padding: 18px 30px;
    font-size: 20px;
  }

  /* Modal formulario */
  .a35-modal {
    padding: 12px;
  }

  .a35-modal-dialog {
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
  }

  .a35-form-dialog {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .a35-form-intro {
    min-height: 0;
    padding: 34px 26px 6px;
  }

  /* En mobile la imagen "35 años" va al pie del modal, detrás del botón */
  .a35-form-intro {
    position: static;
  }

  .a35-form-intro .a35-modal-watermark {
    width: 300px;
  }

  .a35-modal-close {
    top: 22px;
    right: 18px;
    width: 30px;
    height: 30px;
  }

  .a35-form-text {
    margin-top: 18px !important;
    font-size: 14px;
  }

  .a35-form {
    padding: 20px 26px 30px;
    border-left: 0;
    background: transparent;
  }

  .a35-embed .a35-form {
    padding: 20px 26px 30px;
    background: var(--a35-blue-2);
  }

  .a35-embed-gracias {
    padding: 30px 20px;
  }

  .a35-check {
    padding-left: 0;
  }

  .a35-form-submit {
    max-width: none;
    min-height: 52px;
    font-size: 15px;
    border-radius: 12px;
  }

  /* Modal gracias */
  .a35-gracias-dialog {
    max-width: 440px;
    padding: 50px 24px 44px;
  }

  .a35-gracias-check {
    width: 88px;
    height: 88px;
    margin-bottom: 24px;
  }

  .a35-gracias-text {
    font-size: 17px;
    line-height: 1.75;
  }

  .a35-gracias-deco--top {
    width: 120px;
  }

  .a35-gracias-deco--bottom {
    display: none;
  }

  .a35-gracias-dialog .a35-btn--cyan {
    width: 100%;
    padding: 24px;
    font-size: 17px;
  }

  /* Galería */
  .a35-galeria-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .a35-galeria-title {
    font-size: clamp(38px, 11vw, 48px);
  }

  .a35-galeria-title span {
    display: block;
  }

  .a35-filtros {
    flex-wrap: nowrap;
    width: calc(100% + var(--a35-gutter));
    margin-right: calc(-1 * var(--a35-gutter));
    padding-right: var(--a35-gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .a35-filtros::-webkit-scrollbar {
    display: none;
  }

  .a35-filtro {
    padding: 13px 22px;
    font-size: 15px;
  }

  /* Destacada arriba y miniaturas desplazables abajo */
  .a35-galeria-grid,
  .a35-galeria-grid.is-filtered {
    grid-template-columns: none;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 20px) / 3);
    grid-auto-rows: auto;
    gap: 10px;
    aspect-ratio: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .a35-galeria-grid::-webkit-scrollbar {
    display: none;
  }

  .a35-galeria-item,
  .a35-galeria-item:first-child,
  .a35-galeria-grid.is-filtered .a35-galeria-item {
    grid-row: 2;
    aspect-ratio: 1;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  /* Ícono de ampliar: pequeño en miniaturas, grande en la foto destacada */
  .a35-galeria-item .a35-expand {
    left: 8px;
    bottom: 8px;
    width: 28px;
    height: 28px;
  }

  .a35-galeria-item.is-featured .a35-expand {
    left: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }

  .a35-galeria-grid .a35-galeria-item.is-featured {
    position: sticky;
    left: 0;
    z-index: 1;
    grid-row: 1;
    grid-column: 1 / span 3;
    aspect-ratio: 368 / 388;
    border-radius: 20px;
  }

  /* Lightbox */
  .a35-lightbox-figure {
    background: #000a26;
  }

  .a35-lightbox-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2; /* misma proporción que las fotos exportadas (1200x800) */
    object-fit: cover;
  }

  .a35-lightbox-close {
    top: 12px;
    bottom: auto;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.92);
    color: var(--a35-blue);
  }

  .a35-lightbox-nav {
    top: auto;
    bottom: 14px;
    justify-content: flex-start;
    gap: 12px;
    transform: none;
  }
}

/* Embed en www.ucv.edu.pe: el iframe ocupa la columna derecha del modal (~460px de ancho) y por su
   viewport recibe los estilos móviles. Desde 420px se restauran los del modal de escritorio para que
   el formulario arranque a la altura de "Voces vallejianas". */
@media (min-width: 420px) {
  .a35-embed .a35-form {
    padding: 54px 40px 44px 48px;
  }

  .a35-embed .a35-check {
    padding-left: 18px;
  }

  .a35-embed .a35-form-submit {
    max-width: 222px;
    min-height: 46px;
    font-size: 13px;
    border-radius: 999px;
  }
}
