.btn-glow {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  opacity: 0;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.55);
  transition: opacity 0.25s ease;
}

.btn-glow:hover,
.btn-glow:focus {
  transform: translateY(-3px);
}

.btn-glow:hover::after,
.btn-glow:focus::after {
  opacity: 1;
}

.hero-cta {
  position: relative;
  overflow: hidden;
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: -120% 0 0 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cta:hover::after {
  opacity: 1;
}

.hero-cta-outline {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(11, 61, 145, 0.3);
}

.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0px));
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.card-hover {
  border: none;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 20px 45px rgba(11, 61, 145, 0.12);
}

.card-hover:hover {
  --lift: -12px;
  box-shadow: 0 30px 55px rgba(11, 61, 145, 0.2);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid transparent;
}

.card-hover:hover {
  border-color: rgba(244, 124, 32, 0.35);
}


.about-section .about-description {
  max-width: 860px;
}

.about-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
  border: 1px solid rgba(11, 61, 145, 0.12);
  box-shadow: 0 18px 34px rgba(8, 47, 107, 0.12);
}

.about-card-title {
  color: var(--brand-blue-dark);
}

.about-values-title {
  margin-bottom: 24px;
  color: var(--brand-blue-dark);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-values-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.about-value-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(8, 47, 107, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease, background 0.28s ease;
  position: relative;
  overflow: hidden;
}

.about-value-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  opacity: 0;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.82);
  transition: opacity 0.28s ease;
}

.about-value-pill:hover,
.about-value-pill:focus-visible {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #1c5cbc, var(--brand-blue));
  box-shadow: 0 16px 30px rgba(8, 47, 107, 0.34), 0 0 0 3px rgba(255, 255, 255, 0.48);
  filter: brightness(1.06) saturate(1.04);
}

.about-value-pill:hover::after,
.about-value-pill:focus-visible::after {
  opacity: 1;
}

.stats {
  background: linear-gradient(120deg, #082f6b, #0b3d91, #0f4db5);
  background-size: 200% 200%;
  color: #fff;
  animation: gradientShift 12s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.stats .container {
  position: relative;
  z-index: 2;
}

.stats-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.stats .stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 24px;
  height: 100%;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stats .stat-card:hover {
  --lift: -10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.stat-number {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.process-special {
  position: relative;
  overflow: hidden;
}

.process-special .container {
  position: relative;
  z-index: 2;
}

.process-character {
  position: absolute;
  right: -10px;
  bottom: -4px;
  width: min(32vw, 320px);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 18px 36px rgba(3, 18, 48, 0.25));
}

.process-character__media,
.process-character img {
  width: 100%;
  height: auto;
  display: block;
}

.stats-special::after {
  content: "";
  position: absolute;
  left: clamp(12px, 4vw, 28px);
  top: clamp(12px, 4vw, 24px);
  width: min(18vw, 140px);
  height: min(18vw, 140px);
  background: url("../img/especialSiempre/Simbolo.png") no-repeat center / contain;
  
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.stats-special .container {
  position: relative;
  z-index: 2;
}

.carousel-item img {
  height: 540px;
  object-fit: cover;
  border-radius: 20px;
}

.carousel-wipe .carousel-item {
  position: relative;
  overflow: hidden;
}

.carousel-wipe .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-blue);
  opacity: 0;
  transform: translateX(-110%);
  border-radius: 20px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wipe .carousel-item img {
  position: relative;
  z-index: 1;
}

.carousel-wipe .carousel-item.is-revealed::after {
  animation: carousel-wipe 1.6s ease-in-out;
}

.carousel-wipe .carousel-item.is-revealed img {
  animation: carousel-flash 1.6s ease-in-out;
}

.equipment-section {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.85), rgba(244, 247, 251, 0.35));
}

.equipment-carousel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(3, 18, 48, 0.18);
}

.equipment-carousel .carousel-item img {
  height: 640px;
  object-fit: cover;
  border-radius: 0;
}

.equipment-carousel.carousel-wipe .carousel-item::after {
  border-radius: 0;
}

.equipment-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.equipment-carousel-controls .carousel-control-prev,
.equipment-carousel-controls .carousel-control-next {
  position: static;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: var(--brand-blue);
  border: 1px solid rgba(3, 18, 48, 0.15);
  box-shadow: 0 12px 24px rgba(3, 18, 48, 0.18);
  opacity: 1;
}

.equipment-carousel-controls .carousel-control-prev:hover,
.equipment-carousel-controls .carousel-control-next:hover {
  background: var(--brand-blue-dark);
}

.equipment-carousel-controls .carousel-control-prev:focus-visible,
.equipment-carousel-controls .carousel-control-next:focus-visible {
  outline: 3px solid rgba(244, 124, 32, 0.6);
  outline-offset: 4px;
}

.clients-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 251, 0.6));
}

.clients-marquee {
  display: flex;
  gap: 32px;
  overflow: hidden;
  padding: 16px 0 6px;
  position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f7f9fc 0%, rgba(247, 249, 252, 0) 100%);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f7f9fc 0%, rgba(247, 249, 252, 0) 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  min-width: max-content;
  animation: clients-scroll 28s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

.client-card {
  min-width: 280px;
  padding: 16px 26px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-card img {
  max-width: 250px;
  max-height: 92px;
  width: auto;
  height: auto;
  display: block;
}

.client-card img.logo-ruta27 {
  max-width: 180px;
  max-height: 62px;
}

@keyframes clients-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery-card {
  position: relative;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(11, 61, 145, 0.15);
  background: transparent;
  padding: 0;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}


.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(244, 124, 32, 0.6);
  outline-offset: 4px;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 61, 145, 0) 0%, rgba(11, 61, 145, 0.92) 100%);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-modal .modal-content {
  border-radius: 28px;
  border: none;
  overflow: hidden;
  background: #f7f9fc;
  box-shadow: 0 25px 60px rgba(3, 18, 48, 0.2);
}

.project-modal .modal-header {
  border-bottom: none;
  padding: 28px 32px 12px;
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.18), rgba(11, 61, 145, 0.05));
}

.project-modal .modal-title {
  font-weight: 700;
}

.project-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  font-weight: 700;
}

.project-modal .modal-body {
  padding: 20px 32px 32px;
}

.project-modal__carousel .carousel-item img {
  height: 420px;
  border-radius: 18px;
  object-fit: cover;
}

.project-modal__carousel .carousel-indicators [data-bs-target] {
  background-color: rgba(11, 61, 145, 0.5);
}

.project-modal__description {
  font-size: 1.02rem;
}

.before-after {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(11, 61, 145, 0.12);
}

.before-after__frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e9edf5;
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}

.before-after__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.before-after__overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.before-after__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #0b3d91, #74a7ff);
  box-shadow: 0 0 12px rgba(11, 61, 145, 0.6);
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  box-shadow: 0 12px 25px rgba(3, 18, 48, 0.25);
  cursor: ew-resize;
  touch-action: none;
}

.before-after__range {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--brand-blue);
}

.before-after__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #5c6c86;
  font-weight: 600;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-blue);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.timeline-item:hover {
  transform: translateX(6px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--brand-orange);
  border-radius: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  inset: 0;
  left: 22px;
  background: var(--brand-blue);
  opacity: 0;
  transform: translateX(-110%);
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}

.timeline-item > * {
  position: relative;
  z-index: 1;
}

.timeline-item.is-revealed::after {
  animation: timeline-wipe 1.8s ease-in-out;
}

.timeline-item.is-revealed h5,
.timeline-item.is-revealed p {
  animation: timeline-flash 1.8s ease-in-out;
}

@keyframes timeline-wipe {
  0% {
    opacity: 0;
    transform: translateX(-110%);
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  85% {
    opacity: 1;
    transform: translateX(110%);
  }
  100% {
    opacity: 0;
    transform: translateX(110%);
  }
}

@keyframes timeline-flash {
  0%,
  15% {
    opacity: 1;
  }
  35% {
    opacity: 0.15;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes carousel-wipe {
  0% {
    opacity: 0;
    transform: translateX(-110%);
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  85% {
    opacity: 1;
    transform: translateX(110%);
  }
  100% {
    opacity: 0;
    transform: translateX(110%);
  }
}

@keyframes carousel-flash {
  0%,
  15% {
    opacity: 1;
  }
  35% {
    opacity: 0.2;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

.contact-section {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(11, 61, 145, 0.12);
  padding: 50px;
}

.form-hint {
  font-size: 0.95rem;
  color: #5c6c86;
}

.required-marker {
  color: var(--brand-orange);
  font-weight: 700;
}

.form-control,
.form-select {
  border-radius: 12px;
  padding: 12px 16px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(11, 61, 145, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 0.15rem rgba(255, 107, 107, 0.2);
}

.form-control.is-valid,
.form-select.is-valid,
.form-check-input.is-valid {
  border-color: #34c38f;
  box-shadow: 0 0 0 0.15rem rgba(52, 195, 143, 0.2);
}

.invalid-feedback {
  font-weight: 600;
}

.form-text {
  color: #6b7c97;
}

#contactForm .col-12.d-flex {
  flex-wrap: wrap;
  gap: 12px;
}

.btn-contact {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-contact:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.whatsapp-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #0f5132;
  font-weight: 600;
  background: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-quick-link:hover,
.whatsapp-quick-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(37, 211, 102, 0.2);
  background: rgba(37, 211, 102, 0.1);
  color: #0f5132;
}

.location-modal .modal-content {
  border-radius: 26px;
  border: none;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(5, 29, 75, 0.25);
}

.location-modal .modal-header {
  border-bottom: 1px solid rgba(3, 18, 48, 0.08);
  padding: 22px 28px 12px;
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.1), rgba(255, 255, 255, 0.95));
}

.location-modal__title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.location-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(244, 124, 32, 0.15);
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.location-modal .modal-body {
  padding: 18px 28px 28px;
}

.location-modal__description {
  color: #2b3e5f;
  font-weight: 600;
  margin-bottom: 16px;
}

.location-modal__frame {
  border-radius: 18px;
  overflow: hidden;
  height: 320px;
  box-shadow: inset 0 0 0 1px rgba(11, 61, 145, 0.08);
}

.location-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



.whatsapp-modal .modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(5, 29, 75, 0.22);
}

.whatsapp-modal .modal-header {
  border-bottom: 1px solid rgba(3, 18, 48, 0.08);
  padding: 22px 28px 12px;
}

.whatsapp-modal .modal-body {
  padding: 18px 28px 28px;
}

.whatsapp-modal__hero {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(255, 255, 255, 0.95));
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.whatsapp-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.2);
  color: #0f5132;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.whatsapp-modal__description {
  margin: 12px 0 0;
  color: #2b3e5f;
  font-weight: 600;
}

.whatsapp-modal__actions {
  display: grid;
  gap: 14px;
}

.whatsapp-modal__cta {
  border-radius: 999px;
  font-weight: 600;
  padding: 12px 24px;
  box-shadow: 0 14px 25px rgba(37, 211, 102, 0.35);
}

.whatsapp-modal__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-modal__features {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.whatsapp-modal__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f3a68;
  font-weight: 600;
}

.whatsapp-modal__feature i {
  color: #25d366;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 102px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.4);
  z-index: 1045;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, width 0.3s ease,
    padding 0.3s ease, gap 0.3s ease;
}

.whatsapp-float__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
}

.whatsapp-float__label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  margin-left: 0;
  transition: max-width 0.3s ease, opacity 0.2s ease, margin-left 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  width: auto;
  padding: 12px 18px 12px 14px;
  gap: 10px;
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus .whatsapp-float__label {
  max-width: 160px;
  opacity: 1;
  margin-left: 4px;
}

.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f47c20, #e1a06f);
  color: #fff;
  box-shadow: 0 18px 30px rgba(11, 61, 145, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  z-index: 1050;
}

.back-to-top:hover,
.back-to-top:focus {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 20px 38px rgba(11, 61, 145, 0.45);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

footer {
  background: var(--brand-blue-dark);
  color: #c8d7ff;
}

.footer-icon {
  color: #86b5ff;
}


.process-character-trigger {
  pointer-events: auto;
  z-index: 4;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.process-character-trigger__hint {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 28, 69, 0.72);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.process-character-trigger:hover .process-character-trigger__hint,
.process-character-trigger:focus-visible .process-character-trigger__hint {
  opacity: 1;
}

.process-character-trigger:focus-visible {
  outline: 3px solid rgba(244, 124, 32, 0.65);
  outline-offset: 6px;
  border-radius: 24px;
}

.siro-modal .modal-content {
  border-radius: 20px;
  border: 1px solid rgba(11, 61, 145, 0.14);
  background: #fff;
}

.siro-modal-story {
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.siro-modal-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 620px;
  background: linear-gradient(145deg, #cfdcff 10%, #edf3ff 92%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 24px 250px;
}

.siro-modal-character-row {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 58px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "main cape"
    "parm parm";
  gap: 14px 18px;
}

.siro-modal-character {
  width: auto;
  max-width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center bottom;
  justify-self: center;
  align-self: end;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.siro-modal-character-row .siro-modal-character:nth-child(1) {
  grid-area: main;
}

.siro-modal-character-row .siro-modal-character:nth-child(2) {
  grid-area: cape;
}

.siro-modal-character-row .siro-modal-character:nth-child(3) {
  grid-area: parm;
  height: 340px;
  width: auto;
}

.siro-modal-villain-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.siro-modal-villain {
  width: min(540px, 125%);
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.6;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35)) saturate(1.1) contrast(1.08);
  transform: translate(8%, -12%) scale(1.03);
}

.siro-modal-info {
  background: #f7f9ff;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: 16px;
  padding: 22px;
}

.siro-modal-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--brand-blue-dark);
}

.siro-modal-powers li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.siro-modal-shadow {
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(10, 42, 95, 0.22);
  background: rgba(255, 255, 255, 0.74);
}

