/**
 * SUTIMPI — Modernización visual
 * Complementa style.css sin romper plantillas internas
 */

:root {
  --sut-primary: #0039A4;
  --sut-primary-dark: #002266;
  --sut-primary-light: #1a5fd4;
  --sut-accent: #e8b923;
  --sut-surface: #f8fafc;
  --sut-surface-alt: #eef2f7;
  --sut-text: #1e293b;
  --sut-text-muted: #64748b;
  --sut-border: #e2e8f0;
  --sut-radius: 16px;
  --sut-radius-sm: 10px;
  --sut-shadow: 0 4px 24px rgba(0, 57, 164, 0.08);
  --sut-shadow-hover: 0 12px 40px rgba(0, 57, 164, 0.15);
  --sut-nav-hover: #8ec8ff;
  --sut-transition: all 0.3s ease;
}

body {
  font-family: "Plus Jakarta Sans", "Open Sans", sans-serif;
  color: var(--sut-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", "Raleway", sans-serif;
  letter-spacing: -0.02em;
}

a {
  color: var(--sut-primary);
}

a:hover {
  color: var(--sut-primary-light);
}

/* ── Topbar ── */
#topbar {
  background: var(--sut-primary-dark);
  height: auto;
  min-height: 38px;
  padding: 6px 0;
  font-size: 13px;
}

#topbar .contact-info i {
  color: var(--sut-accent);
}

#topbar .social-links a {
  border-radius: 6px;
  padding: 4px 10px;
}

#topbar .social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ── Header ── */
#header {
  background: rgba(25, 25, 25, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 72px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#header.fixed-top {
  background: #191919;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

#header .logo a {
  color: #fff;
  font-size: 26px;
  letter-spacing: 3px;
}

.navbar a,
.navbar a:focus {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 0 16px;
  height: 100%;
  border-radius: 0;
}

/* Efecto lento tipo "encendido" */
.navbar > ul > li:not(.navbar-cta) > a {
  position: relative;
  isolation: isolate;
  background-color: transparent !important;
  transition: color 0.4s ease-out;
  overflow: visible;
}

.navbar > ul > li:not(.navbar-cta) > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0;
  background: linear-gradient(145deg, var(--sut-primary) 0%, #004ec4 55%, var(--sut-primary-dark) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease-out, box-shadow 0.4s ease-out;
  box-shadow: 0 0 0 rgba(0, 57, 164, 0);
}

.navbar > ul > li:not(.navbar-cta) > a:hover::before,
.navbar > ul > li:not(.navbar-cta) > a.active::before,
.navbar > ul > li:not(.navbar-cta).active > a::before {
  opacity: 1;
  box-shadow: 0 0 22px rgba(0, 57, 164, 0.45), inset 0 1px 0 rgba(142, 200, 255, 0.15);
  transition: opacity 0.85s ease-in, box-shadow 0.9s ease-in;
}

.navbar > ul > li:not(.navbar-cta) > a:hover,
.navbar > ul > li:not(.navbar-cta) > a.active,
.navbar > ul > li:not(.navbar-cta).active > a,
.navbar > ul > li:not(.navbar-cta):hover > a {
  color: var(--sut-nav-hover) !important;
  background-color: transparent !important;
  transition: color 0.7s ease-in 0.12s;
}

.navbar > ul > li:not(.navbar-cta) > a i {
  transition: color 0.7s ease-in 0.18s;
}

.navbar a:hover i,
.navbar .active i,
.navbar > ul > li:not(.navbar-cta):hover > a i {
  color: var(--sut-nav-hover);
}

/* Divisores entre ítems del menú */
.navbar > ul > li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    rgba(255, 255, 255, 0.22) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.navbar > ul > li.navbar-cta::before {
  height: 28px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(142, 200, 255, 0.5) 45%,
    rgba(142, 200, 255, 0.5) 55%,
    transparent 100%
  );
}

.navbar .dropdown ul {
  display: block !important;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  padding: 8px 0;
  background: #fff !important;
  z-index: 1000;
}

.navbar .dropdown ul a {
  display: block !important;
  height: auto !important;
  border-radius: 0;
  color: #1e293b !important;
  background: transparent !important;
  font-weight: 500;
}

.navbar .dropdown ul a span {
  color: inherit !important;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul li:hover > a {
  background: #e8f0fc !important;
  color: #0039A4 !important;
}

.navbar .dropdown ul a:hover i,
.navbar .dropdown ul li:hover > a i {
  color: #0039A4 !important;
}

.navbar-cta {
  margin-left: 8px !important;
}

.navbar-cta > a {
  background: var(--sut-primary) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  transition: background 0.45s ease, color 0.45s ease, transform 0.35s ease, box-shadow 0.55s ease-in !important;
}

.navbar-cta > a:hover {
  background: var(--sut-primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 57, 164, 0.4);
}

.mobile-nav-toggle {
  color: #fff;
}

.scrolled-offset {
  margin-top: 72px;
}

/* ── Hero animations (solo logo y texto) ── */
#hero {
  overflow: hidden;
}

#hero:before {
  z-index: 1;
}

#hero .container {
  z-index: 3;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-bubble {
  position: absolute;
  bottom: -40px;
  display: block;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    rgba(255, 255, 255, 0.39) 0%,
    rgba(160, 210, 255, 0.14) 40%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 1px 1px 4px rgba(255, 255, 255, 0.22),
    0 0 6px rgba(142, 200, 255, 0.1);
  will-change: transform, opacity;
  animation: heroBubbleRise linear infinite;
  opacity: 0;
}

@keyframes heroBubbleRise {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  8% {
    opacity: 0.28;
  }
  85% {
    opacity: 0.22;
  }
  100% {
    transform: translate3d(var(--bubble-drift, 0px), calc(-100vh - 80px), 0) scale(0.8);
    opacity: 0;
  }
}

#hero .hero-modern__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
@keyframes heroLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes heroLogoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes heroGlowPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    letter-spacing: 0.35em;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: normal;
  }
}

@keyframes heroTitleShine {
  0%, 100% {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    text-shadow:
      0 2px 24px rgba(0, 0, 0, 0.25),
      0 0 36px rgba(142, 200, 255, 0.28);
  }
}

.hero-animate {
  opacity: 0;
}

.hero-animate--logo {
  animation: heroLogoIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate--subtitle {
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.hero-animate--title {
  animation:
    heroTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards,
    heroTitleShine 5s ease-in-out 1.8s infinite;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-logo-glow {
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle, rgba(142, 200, 255, 0.35) 0%, transparent 68%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: heroGlowPulse 4s ease-in-out 1.2s infinite;
}

#hero .hero-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.3));
  animation: heroLogoFloat 5s ease-in-out 1.3s infinite;
  transition: transform 0.5s ease, filter 0.5s ease;
}

#hero .hero-logo:hover {
  transform: scale(1.04) translateY(-4px);
  filter: drop-shadow(0 14px 36px rgba(142, 200, 255, 0.35));
}

/* ── Section titles ── */
.section-title {
  padding: 20px 0 40px;
}

/* Etiqueta pequeña superior (solo en home y secciones nuevas) */
.section-title .section-eyebrow {
  position: static;
  display: block;
  top: auto;
  left: auto;
  right: auto;
  line-height: 1.4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sut-primary);
  margin-bottom: 8px;
  z-index: 2;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-transform: uppercase;
  color: var(--sut-text);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--sut-primary), var(--sut-accent));
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-title p {
  color: var(--sut-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Portfolio / Eventos (galería original) ── */
#portfolio.portfolio {
  background: var(--sut-surface);
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/* ── Year filter (historial) ── */
.year-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.year-filter label {
  font-weight: 600;
  color: var(--sut-text-muted);
  font-size: 14px;
  margin: 0;
}

.year-filter select {
  max-width: 140px;
  border-radius: var(--sut-radius-sm);
  border: 1px solid var(--sut-border);
  padding: 10px 14px;
  font-weight: 600;
  color: var(--sut-primary);
  background: #fff;
  box-shadow: var(--sut-shadow);
}

/* ── About ── */
.about {
  background: #fff;
}

.about .content img,
.about img.img-fluid {
  border-radius: var(--sut-radius);
  box-shadow: var(--sut-shadow-hover);
}

.about .content h3 {
  color: var(--sut-primary);
  font-size: 1.5rem;
}

.about .content p {
  color: var(--sut-text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

/* ── Why Us / Quick access ── */
.why-us {
  background: var(--sut-surface);
  padding: 80px 0;
}

.why-us .box {
  background: #fff;
  border-radius: 0;
  border: 1px solid var(--sut-border);
  box-shadow: var(--sut-shadow);
  padding: 36px 28px;
  height: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s ease-out, box-shadow 0.45s ease-out;
}

.why-us .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sut-primary), var(--sut-accent));
  z-index: 2;
}

.why-us .box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--sut-primary) 0%, #004ec4 55%, var(--sut-primary-dark) 100%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.45s ease-out;
}

.why-us .box:hover::after {
  opacity: 1;
  transition: opacity 0.95s ease-in;
}

.why-us .box > * {
  position: relative;
  z-index: 1;
}

.why-us .box .box-icon {
  width: 52px;
  height: 52px;
  background: var(--sut-surface);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--sut-primary);
  font-size: 24px;
  transition: color 0.45s ease-out, background 0.45s ease-out;
}

.why-us .box span,
.why-us .box h4,
.why-us .box p,
.why-us .box .btn-learn-more {
  transition: color 0.45s ease-out, border-color 0.45s ease-out;
}

.why-us .box span {
  font-size: 13px;
  font-weight: 700;
  color: var(--sut-primary);
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.why-us .box h4 {
  font-size: 1.25rem;
  margin: 8px 0 12px;
  color: var(--sut-text);
}

.why-us .box p {
  color: var(--sut-text-muted);
  line-height: 1.7;
}

.why-us .box:hover {
  background: #fff;
  padding: 36px 28px;
  transform: translateY(-4px);
  box-shadow: var(--sut-shadow-hover);
  transition: transform 0.55s ease-in 0.08s, box-shadow 0.7s ease-in 0.1s;
}

.why-us .box:hover .box-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: color 0.8s ease-in 0.2s, background 0.8s ease-in 0.12s;
}

.why-us .box:hover span,
.why-us .box:hover h4,
.why-us .box:hover p {
  color: #fff;
  transition: color 0.8s ease-in 0.18s;
}

.why-us .box:hover .btn-learn-more {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transition: color 0.8s ease-in 0.25s, border-color 0.8s ease-in 0.25s;
}

/* ── Clients / Aliados ── */
.clients {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--sut-border);
  border-bottom: 1px solid var(--sut-border);
}

.clients img {
  filter: grayscale(30%);
  opacity: 0.8;
  transition: var(--sut-transition);
}

.clients img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

/* ── Services / Transparencia ── */
.services {
  background: var(--sut-surface);
}

.services .icon-box {
  background: #fff;
  border-radius: 0;
  border: 1px solid var(--sut-border);
  box-shadow: var(--sut-shadow);
  padding: 36px 24px;
  height: 100%;
  width: 100%;
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s ease-out, box-shadow 0.45s ease-out;
}

.services .icon-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--sut-primary) 0%, #004ec4 55%, var(--sut-primary-dark) 100%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.45s ease-out;
}

.services .icon-box:hover::after {
  opacity: 1;
  transition: opacity 0.95s ease-in;
}

.services .icon-box > * {
  position: relative;
  z-index: 1;
}

.services .icon-box:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--sut-shadow-hover);
  border-color: rgba(0, 57, 164, 0.2);
  transition: transform 0.55s ease-in 0.08s, box-shadow 0.7s ease-in 0.1s;
}

.services .icon-box .icon {
  margin: 0 auto;
  border-radius: 0;
  background: linear-gradient(135deg, var(--sut-primary), var(--sut-primary-light));
  transition: background 0.45s ease-out;
}

.services .icon-box .icon::before {
  display: none;
}

.services .icon-box .icon i {
  transition: color 0.45s ease-out;
}

.services .icon-box:hover .icon {
  background: #fff;
  transition: background 0.8s ease-in 0.15s;
}

.services .icon-box:hover .icon i {
  color: var(--sut-primary);
  transition: color 0.8s ease-in 0.22s;
}

.services .icon-box h4,
.services .icon-box h4 a,
.services .icon-box p,
.services .icon-box .btn-learn-more {
  transition: color 0.45s ease-out, border-color 0.45s ease-out;
}

.services .icon-box h4,
.services .icon-box h4 a {
  color: var(--sut-text);
}

.services .icon-box h4 a {
  pointer-events: none;
}

.services .icon-box p {
  color: var(--sut-text-muted);
  line-height: 1.7;
}

.services .icon-box:hover h4,
.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: #fff;
  transition: color 0.8s ease-in 0.18s;
}

.services .icon-box:hover .btn-learn-more {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transition: color 0.8s ease-in 0.25s, border-color 0.8s ease-in 0.25s;
}

/* ── Buttons ── */
.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--sut-primary);
  border: 1.5px solid var(--sut-primary);
  transition: var(--sut-transition);
}

.btn-learn-more:hover {
  background: var(--sut-primary);
  color: #fff;
}

.btn-learn-more::after {
  content: "→";
  transition: transform 0.2s;
}

.btn-learn-more:hover::after {
  transform: translateX(3px);
}

/* ── Contact ── */
.contact {
  background: #fff;
  padding-bottom: 0;
}

.contact-page {
  background: #f8fafc;
}

.contact-page .contact-info-card {
  background: #fff;
  border: 1px solid var(--sut-border);
  border-radius: var(--sut-radius);
  box-shadow: var(--sut-shadow);
}

.contact-page .contact-info-card:hover {
  border-color: var(--sut-primary-light);
  box-shadow: var(--sut-shadow-hover);
}

.contact-page .contact-form-box {
  border-radius: var(--sut-radius);
  box-shadow: var(--sut-shadow-hover);
}

.contact .info-box {
  background: var(--sut-surface);
  border-radius: var(--sut-radius);
  border: 1px solid var(--sut-border);
  padding: 28px 20px;
  transition: var(--sut-transition);
}

.contact .info-box:hover {
  border-color: var(--sut-primary);
  box-shadow: var(--sut-shadow);
}

.contact .info-box i {
  color: var(--sut-primary);
  font-size: 28px;
}

.contact .php-email-form .form-control {
  border-radius: var(--sut-radius-sm);
  border: 1px solid var(--sut-border);
  padding: 14px 16px;
  transition: var(--sut-transition);
}

.contact .php-email-form .form-control:focus {
  border-color: var(--sut-primary);
  box-shadow: 0 0 0 3px rgba(0, 57, 164, 0.12);
}

.contact .php-email-form button[type="submit"] {
  background: var(--sut-primary);
  border: none;
  border-radius: var(--sut-radius-sm);
  padding: 14px 36px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--sut-transition);
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--sut-primary-dark);
  transform: translateY(-1px);
}

.contact-map-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--sut-radius);
  box-shadow: var(--sut-shadow);
}

.contact-map-full {
  width: 100%;
  overflow: hidden;
  margin: 48px 0 0;
  line-height: 0;
}

.contact-map-full iframe,
.contact-map-wrap iframe,
.contact iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 767px) {
  .contact-map-full iframe,
  .contact-map-wrap iframe,
  .contact iframe {
    height: 320px;
  }
}

/* ── Organización ── */
.org-page > .org-section:nth-child(3) {
  background: var(--sut-surface);
}

.org-page .org-content {
  max-width: 860px;
  margin: 0 auto;
}

.org-page .org-content p {
  color: var(--sut-text-muted);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.org-page .org-banner {
  background: linear-gradient(135deg, var(--sut-primary-dark) 0%, var(--sut-primary) 50%, var(--sut-primary-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.org-page .org-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.org-page .org-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.org-page .org-banner .logoP {
  max-width: 200px;
  max-height: 200px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.org-page .org-banner h3 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 20px 0 12px;
}

.org-page .org-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

.org-timeline-box {
  background: #fff;
  border: 1px solid var(--sut-border);
  border-radius: var(--sut-radius);
  box-shadow: 0 8px 32px rgba(0, 57, 164, 0.12);
  padding: 36px 40px;
  margin: 0 auto 48px;
  max-width: 820px;
}

.org-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid var(--sut-primary);
}

.org-timeline li {
  position: relative;
  padding: 0 0 22px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}

.org-timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sut-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--sut-primary-light);
}

.org-timeline li:last-child {
  padding-bottom: 0;
}

.org-year {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--sut-primary);
  font-size: 0.95rem;
  min-width: 72px;
}

.org-achievement {
  color: var(--sut-text-muted);
  line-height: 1.6;
}

.org-page .org-mv-cards {
  margin-bottom: 16px;
}

.org-card {
  background: #fff;
  border: 1px solid var(--sut-border);
  border-radius: var(--sut-radius);
  padding: 32px 28px;
  height: 100%;
  box-shadow: 0 8px 32px rgba(0, 57, 164, 0.12);
  transition: var(--sut-transition);
}

.org-card:hover {
  box-shadow: 0 14px 40px rgba(0, 57, 164, 0.18);
  transform: translateY(-4px);
  border-color: rgba(0, 57, 164, 0.2);
}

.org-card-icon,
.org-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 57, 164, 0.08);
  border: 1px solid rgba(0, 57, 164, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.org-card-icon i,
.org-value-icon i {
  font-size: 1.75rem;
  color: var(--sut-primary);
  line-height: 1;
}

.org-card h3 {
  color: var(--sut-primary-dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.org-card p {
  color: var(--sut-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.org-card p:last-child {
  margin-bottom: 0;
}

.org-values {
  margin-bottom: 16px;
}

.org-value-item {
  background: #fff;
  border: 1px solid var(--sut-border);
  border-radius: var(--sut-radius);
  box-shadow: 0 6px 24px rgba(0, 57, 164, 0.1);
  padding: 28px 24px;
  height: 100%;
  transition: var(--sut-transition);
}

.org-value-item:hover {
  box-shadow: 0 12px 36px rgba(0, 57, 164, 0.16);
  transform: translateY(-3px);
  border-color: rgba(0, 57, 164, 0.2);
}

.org-value-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sut-primary-dark);
  margin-bottom: 8px;
}

.org-value-text p {
  font-size: 0.92rem;
  color: var(--sut-text-muted);
  line-height: 1.65;
  margin: 0;
}

.org-politics {
  background: #fff;
  border-radius: var(--sut-radius);
  border: 1px solid var(--sut-border);
  border-left: 4px solid var(--sut-primary);
  box-shadow: 0 8px 32px rgba(0, 57, 164, 0.1);
  padding: 32px 36px;
  margin-bottom: 8px;
}

/* Galería organización */
.org-gallery {
  background: linear-gradient(180deg, var(--sut-surface-alt) 0%, rgba(0, 57, 164, 0.06) 100%);
  padding: 80px 0;
}

.org-gallery .section-title p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--sut-text-muted);
}

.org-gallery-item {
  position: relative;
  border-radius: var(--sut-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sut-primary-dark);
  box-shadow: var(--sut-shadow);
  border: 2px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.org-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.org-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--sut-shadow-hover);
  border-color: var(--sut-primary-light);
}

.org-gallery-item:hover img {
  transform: scale(1.06);
}

.org-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 34, 102, 0.92) 0%, rgba(0, 57, 164, 0.45) 45%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.org-gallery-item:hover .org-gallery-overlay {
  opacity: 1;
}

.org-gallery-overlay h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.org-gallery-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin: 0 0 12px;
}

.org-gallery-link {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sut-primary);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 57, 164, 0.4);
}

.org-gallery-item:hover .org-gallery-link {
  opacity: 1;
  transform: scale(1);
}

.org-gallery-link:hover {
  background: var(--sut-primary-light);
  color: #fff !important;
}

@media (max-width: 767px) {
  .org-page .org-banner {
    padding: 56px 0;
  }

  .org-gallery-item {
    aspect-ratio: 16 / 10;
  }

  .org-gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 34, 102, 0.88) 0%, transparent 70%);
    padding: 14px;
  }

  .org-gallery-link {
    opacity: 1;
    transform: scale(1);
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }

  .org-politics {
    padding: 20px;
  }

  .org-timeline-box {
    padding: 24px 20px;
  }

  .org-card,
  .org-value-item {
    padding: 22px 18px;
  }
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  background: var(--sut-surface);
  border-bottom: 1px solid var(--sut-border);
  padding: 20px 0;
  min-height: auto;
}

.breadcrumbs h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sut-text);
}

.breadcrumbs ol li a {
  color: var(--sut-primary);
}

/* ── Footer ── */
#footer {
  background: #191919;
}

#footer .footer-top {
  padding: 60px 0 40px;
}

#footer .footer-info img {
  max-width: 160px;
  margin-bottom: 16px;
}

#footer .footer-info p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

#footer .footer-links h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

#footer .footer-links h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--sut-accent);
  border-radius: 2px;
}

#footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: color 0.45s ease;
}

#footer .footer-links ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--sut-nav-hover);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s ease;
}

#footer .footer-links ul a:hover {
  color: #fff;
}

#footer .footer-links ul a:hover::after {
  transform: scaleX(1);
}

#footer .footer-links ul i {
  color: var(--sut-accent);
}

#footer .social-links a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--sut-transition);
}

#footer .social-links a:hover {
  background: var(--sut-primary-light);
}

#footer .copyright,
#footer .credits {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

#footer .credits a {
  color: var(--sut-accent);
  position: relative;
  text-decoration: none;
  transition: color 0.45s ease;
}

#footer .credits a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--sut-nav-hover);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s ease;
}

#footer .credits a:hover::after {
  transform: scaleX(1);
}

/* ── Back to top ── */
.back-to-top {
  border-radius: 12px;
  box-shadow: var(--sut-shadow);
}

/* ── Event detail page ── */
.portfolio-details {
  background: var(--sut-surface);
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider {
  border-radius: var(--sut-radius);
  overflow: hidden;
  box-shadow: var(--sut-shadow-hover);
  background: #fff;
}

.portfolio-details .portfolio-details-slider img {
  border-radius: var(--sut-radius);
  width: 100%;
  object-fit: contain;
  max-height: 520px;
}

.portfolio-details .portfolio-info {
  background: #fff;
  border-radius: var(--sut-radius);
  border: 1px solid var(--sut-border);
  box-shadow: var(--sut-shadow);
  padding: 28px;
}

.portfolio-details .portfolio-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sut-text);
  margin-bottom: 16px;
}

.portfolio-details .portfolio-info ul li {
  color: var(--sut-text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--sut-border);
}

.portfolio-details .portfolio-description {
  background: #fff;
  border-radius: var(--sut-radius);
  border: 1px solid var(--sut-border);
  padding: 24px;
  margin-top: 20px;
  line-height: 1.8;
  color: var(--sut-text-muted);
}

/* ── Responsive ── */
@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .hero-animate--logo,
  .hero-animate--title,
  .hero-animate--subtitle {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    letter-spacing: normal !important;
  }

  #hero .hero-logo,
  .hero-logo-glow {
    animation: none !important;
  }

  .hero-bubbles {
    display: none;
  }
}

@media (max-width: 991px) {
  #header {
    height: 64px;
  }

  .navbar > ul > li + li::before,
  .navbar > ul > li.navbar-cta::before {
    display: none;
  }

  .navbar-mobile ul {
    border-radius: var(--sut-radius);
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
}
