:root {
  --narro-blue: #1b2c73;
  --narro-blue-dark: #15235f;
  --narro-red: #f74a23;
  --narro-light: #f1f1f3;
  --narro-text: #2e3350;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--narro-text);
  background: #ffffff;
}

.text-narro-blue {
  color: var(--narro-blue) !important;
}

.text-narro-blue-dark {
  color: var(--narro-blue-dark) !important;
}

.text-narro-red {
  color: var(--narro-red) !important;
}

.list-bullets-red li::marker {
  color: var(--narro-red);
}

.bg-narro-light {
  background: var(--narro-light) !important;
}

.bg-narro-blue-dark {
  background: var(--narro-blue-dark) !important;
}

.bg-narro-blue-soft {
  background: #e8f0fc !important;
}

.surface-soft {
  background: #f7f7f9;
}

.promotoria-eye-card {
  overflow: visible;
}

.promotoria-eye-image {
  position: absolute;
  right: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  max-width: none;
}

.presence-card {
  position: relative;
  overflow: hidden;
}

.presence-row {
  min-height: 300px;
}

.presence-title {
  font-size: clamp(1.35rem, 1.6vw, 2rem);
  line-height: 1.12;
}

.presence-copy {
  font-size: clamp(1.04rem, 1.18vw, 1.58rem);
  line-height: 1.22;
}

.presence-map-pane {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  background-image: url("../images/MapaPresenciamx.svg");
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.presence-right-copy {
  position: absolute;
  top: 0;
  right: 2.6rem;
  width: min(30%, 295px);
  z-index: 2;
}

.header-wrap {
  background: linear-gradient(136deg, #f9bca5 0%, #f58964 44%, #f74a23 100%);
}

.nav-transparent {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.nav-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(7, 13, 41, 0.12);
}

.nav-solid .nav-link {
  color: var(--narro-blue);
}

.nav-solid .navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(0.25);
}

.navbar .nav-link {
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--narro-blue);
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--narro-red);
}

.navbar .nav-link.nav-active {
  color: var(--narro-red);
}

.navbar .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.navbar .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.navbar .dropdown-toggle::after {
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.custom-solutions-menu {
  margin-top: 0.5rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 0 10px 10px !important;
  min-width: 17rem !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px rgba(7, 13, 41, 0.28) !important;
  background: transparent !important;
}

/* Todos los elementos por defecto en ROJO */
.custom-solutions-menu .dropdown-item {
  background-color: var(--narro-red) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.4rem !important;
  font-size: 1.02rem !important;
  line-height: 1.25 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  transition: background-color 0.2s ease, padding-left 0.2s ease !important;
  border-radius: 0 !important;
}

.custom-solutions-menu li:first-child .dropdown-item {
  border-top: none !important;
}

.custom-solutions-menu .dropdown-item:hover,
.custom-solutions-menu .dropdown-item:focus {
  background-color: #d63712 !important;
  color: #ffffff !important;
  padding-left: 1.65rem !important;
}

/* ÚNICAMENTE la página activa lleva el fondo AZUL OSCURO */
.custom-solutions-menu .dropdown-item.active,
.custom-solutions-menu .dropdown-item:active {
  background-color: var(--narro-blue-dark) !important;
  color: #ffffff !important;
  padding-left: 1.4rem !important;
}

.custom-solutions-menu .dropdown-item.active:hover,
.custom-solutions-menu .dropdown-item.active:focus {
  background-color: #0c1743 !important;
  color: #ffffff !important;
  padding-left: 1.65rem !important;
}

/* Custom Creative Hamburger Toggler (shown only when collapsed on mobile < 991.98px) */
.custom-toggler {
  width: 44px;
  height: 44px;
  border-radius: 12px !important;
  background: var(--narro-blue-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(21, 35, 95, 0.25);
}

.custom-toggler:hover {
  background: #0e1948 !important;
  transform: scale(1.04);
}

.hamburger-bars {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
}

.hamburger-bars .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #ffffff !important;
  border-radius: 4px;
  transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.25s ease, background-color 0.3s ease;
}

.custom-toggler[aria-expanded="true"] {
  background: var(--narro-red) !important;
  border-color: var(--narro-red) !important;
  box-shadow: 0 6px 20px rgba(247, 74, 35, 0.35) !important;
}

.custom-toggler[aria-expanded="true"] .bar-1 {
  transform: translateY(6.75px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.custom-toggler[aria-expanded="true"] .bar-3 {
  transform: translateY(-6.75px) rotate(-45deg);
}

.navbar-toggler-icon {
  width: 1.25em;
  height: 1.25em;
  filter: invert(12%) sepia(20%) saturate(2777%) hue-rotate(196deg) brightness(0.72) contrast(1.08);
}

.brand-logo {
  border-radius: 2px;
}

.hero-section {
  height: clamp(540px, 88vh, 760px);
  position: relative;
  background: var(--narro-blue-dark);
  overflow: hidden;
}

.hero-swiper {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: relative;
  height: 100%;
}

.hero-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 188, 165, 0.88) 0%, rgba(248, 129, 89, 0.38) 47%, rgba(247, 74, 35, 0.52) 100%);
  z-index: 1;
}

.hero-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(238, 243, 250, 0.95) 0%,
      rgba(238, 243, 250, 0.85) 50%,
      rgba(238, 243, 250, 0.25) 80%,
      rgba(238, 243, 250, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 2;
}

.hero-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 3;
  text-align: center;
}

.hero-pagination .swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  opacity: 1;
  background: rgba(255, 255, 255, 0.45);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}

.hero-title {
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-title-blue {
  color: var(--narro-blue);
  font-weight: 800;
  font-size: clamp(2.85rem, 6.4vw, 5.45rem);
}

.hero-title-red {
  color: var(--narro-red);
  font-weight: 800;
  font-size: clamp(2.85rem, 6.4vw, 5.45rem);
}

.hero-title-white {
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(2.25rem, 5.8vw, 4.9rem);
}

.hero-subtitle {
  max-width: 510px;
  font-size: clamp(1rem, 1.12vw, 1.28rem);
  font-weight: 400;
  line-height: 1.45;
}

.hero-subtitle-white {
  color: #f4f6ff;
}

.hero-subtitle-dark {
  color: var(--narro-text);
}


.events-strip {
  background: #ffffff;
}

.events-swiper {
  width: 100%;
}

.events-swiper .swiper-slide {
  height: auto;
}

.event-card {
  background: #f4f6fb;
  overflow: hidden;
  border-radius: 0;
}

.event-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: none;
  transition: filter 0.01s ease, transform 0.35s ease;
}

.event-card:hover .event-image,
.event-card:focus-within .event-image {
  /* filter: grayscale(1) sepia(0.74) hue-rotate(171deg) saturate(1.28) brightness(0.96) contrast(1.02); */
  filter: sepia(100%) hue-rotate(193deg) saturate(1.5);
  transform: scale(1.03);
}

.event-caption {
  margin: 0;
  padding: 8px 12px;
  color: #8d94a9;
  font-weight: 600;
  background: #ffffff;
}

.event-caption-active {
  color: var(--narro-red);
}

.promo-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

.promo-img {
  min-height: 360px;
  object-fit: cover;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: #ffffff;
  background: none;
}

.promo-overlay-bottom {
  justify-content: flex-end;
  padding-bottom: 1.75rem;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.58rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--narro-red);
  color: #ffffff;
  border: 0;
}

.btn-pill:hover,
.btn-pill:focus {
  color: #ffffff;
  background: #ff5d37;
}

.btn-blue {
  background: #17318a;
}

.btn-blue:hover,
.btn-blue:focus {
  background: #2342ab;
}

.why-section {
  background: #efeff1;
}

.why-title {
  color: var(--narro-red);
  font-size: clamp(2.1rem, 2.6vw, 3.35rem);
  line-height: 0.95;
}

.reason-item {
  color: #5c6480;
}

.reason-item p {
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.12;
  font-weight: 600;
}

.reason-icon {
  width: 102px;
  height: 102px;
  border-radius: 50%;
}

.brands-strip {
  background: var(--narro-blue-dark);
}

.brands-marquee {
  overflow: hidden;
}

.brands-marquee-track {
  display: flex;
  width: max-content;
  animation: brands-marquee 42s linear infinite;
}

.brands-marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.brand-item {
  width: auto;
  max-width: 170px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex: 0 0 auto;
}

@keyframes brands-marquee {
  from {
    transform: translateX(0);
  }

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

.section-title {
  color: var(--narro-red);
  font-size: clamp(2.15rem, 3vw, 3.35rem);
}

.testimonials-section {
  background: var(--narro-light);
}

.testimonial-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.7rem 1.6rem 1.45rem;
  box-shadow: 0 10px 24px rgba(20, 31, 80, 0.07);
}

.stars {
  color: var(--narro-red);
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.testimonial-card p {
  min-height: 0;
  font-size: 0.98rem;
  color: #556082;
  line-height: 1.22;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card h4 {
  margin-bottom: 0.05rem;
  color: var(--narro-red);
  font-size: 1.06rem;
  font-weight: 700;
  font-style: italic;
}

.testimonial-card small {
  color: var(--narro-red);
  font-style: italic;
  display: block;
  line-height: 1.05;
}

.testimonial-card .text-body-secondary {
  color: #4e587a !important;
  font-style: normal;
  margin-top: 0.1rem;
}

.talent-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.talent-img {
  min-height: 340px;
  object-fit: cover;
}

.talent-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.2rem;
  color: #ffffff;
  background: none;
}

.talent-overlay h3 {
  font-size: clamp(2rem, 3.25vw, 3.45rem);
  line-height: 1.04;
  max-width: 760px;
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.talent-overlay p {
  font-size: clamp(1.05rem, 1.5vw, 1.6rem);
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.site-footer {
  background: #efeff1;
}

.footer-main h4 {
  color: var(--narro-blue);
  text-transform: uppercase;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-main li,
.footer-main a {
  color: #5c6480;
  font-weight: 500;
  line-height: 1.95;
  text-decoration: none;
}

.footer-main a:hover,
.footer-main a:focus {
  color: var(--narro-red);
}

.footer-bottom {
  background: var(--narro-blue-dark);
  color: #ffffff;
}

.footer-bottom p {
  font-size: 0.93rem;
  opacity: 0.96;
}

.socials a {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--narro-red);
}

.socials a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.socials a:hover,
.socials a:focus {
  color: #ffffff;
  background: #ff5d37;
}

@media (min-width: 992px) {
  .promotoria-eye-card {
    padding-right: 17rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar .nav-link {
    color: #ffffff;
  }

  .navbar .dropdown-menu {
    position: static;
    margin-top: 0.6rem;
    min-width: 100%;
    box-shadow: none;
  }

  .navbar .dropdown-item {
    color: var(--narro-blue-dark);
  }

  .navbar-collapse {
    margin-top: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(20, 35, 95, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 34px rgba(7, 13, 41, 0.18);
    backdrop-filter: blur(12px);
  }

  .hero-section {
    height: clamp(500px, 82vh, 680px);
  }

  .hero-content {
    padding-top: 5.9rem;
  }

  .talent-overlay {
    align-items: center;
    text-align: center;
  }

  .presence-copy {
    font-size: 1.22rem;
  }

  .presence-row {
    min-height: 0;
  }

  .presence-map-pane {
    min-height: 220px;
    background-size: contain;
    background-position: center;
  }

  .presence-right-copy {
    position: static;
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .custom-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .navbar-collapse {
    background: #ffffff !important;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: 0.75rem;
    box-shadow: 0 15px 40px rgba(15, 23, 60, 0.18);
    border: 1px solid rgba(21, 35, 95, 0.12);
  }

  .nav-solid .navbar-collapse {
    background: #ffffff !important;
  }

  .navbar-nav .nav-link {
    color: var(--narro-blue) !important;
    font-size: 1.05rem;
    padding: 0.65rem 0.85rem;
    font-weight: 700;
    background: transparent !important;
    transition: color 0.2s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus,
  .navbar-nav .nav-link.nav-active {
    color: var(--narro-red) !important;
    background: transparent !important;
  }

  .custom-solutions-menu {
    margin-top: 0.5rem !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  }
}

.custom-solutions-menu {
  margin-top: 0.5rem !important;
  border-radius: 10px !important;
}
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    width: 118px;
    height: auto;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-title-blue,
  .hero-title-red {
    font-size: clamp(2.35rem, 9vw, 3.1rem);
  }

  .hero-title-white {
    font-size: clamp(1.95rem, 8vw, 2.8rem);
  }

  .hero-overlay-light {
    background: linear-gradient(180deg,
        rgba(238, 243, 250, 0.92) 0%,
        rgba(238, 243, 250, 0.82) 65%,
        rgba(238, 243, 250, 0.35) 100%);
  }

  .promo-overlay {
    padding: 1.4rem;
  }

  .promo-img {
    min-height: 310px;
  }

  .brands-marquee-group {
    gap: 1.8rem;
    padding-right: 1.8rem;
  }

  .brand-item {
    height: 38px;
    max-width: 130px;
  }

  .presence-title {
    font-size: 1.72rem;
  }

  .presence-copy {
    font-size: 1.12rem;
  }

  .presence-map-pane {
    min-height: 185px;
    background-position: center;
  }

  .presence-map-img {
    min-height: 200px;
  }

  .testimonial-card p {
    min-height: auto;
  }

  .brands-marquee-track {
    animation-duration: 30s;
  }

  .footer-bottom {
    text-align: center;
  }
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(21, 35, 95, 0.12) !important;
}

.pvd-accordion .accordion-button:not(.collapsed) {
  background-color: var(--narro-light) !important;
  color: var(--narro-red) !important;
  box-shadow: none;
}

.beyond-accordion .accordion-item {
  border: 1px solid transparent !important;
  background-color: #f4f6fa;
  transition: all 0.3s ease;
}

.beyond-accordion .accordion-item.is-open,
.beyond-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  background-color: #ffffff !important;
  border: 1px solid #e9ecef !important;
}

.beyond-accordion .accordion-button {
  background-color: transparent !important;
  color: var(--narro-red) !important;
  box-shadow: none !important;
}

.pvd-accordion .accordion-button::after,
.beyond-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f74a23'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2z'/%3e%3c/svg%3e");
}

.beyond-accordion .accordion-button::after {
  width: 2rem;
  height: 2rem;
  background-size: 2rem;
}

.pvd-accordion .accordion-button:not(.collapsed)::after,
.beyond-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f74a23'%3e%3cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8z'/%3e%3c/svg%3e");
  transform: none;
}

@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid #dee2e6 !important;
  }
}

.profile-icon {
  max-height: 100px;
  width: auto;
}

.min-vh-80 {
  min-height: 80vh;
}

.mkt-puzzle-card {
  max-width: 860px;
}

.triaca-realtime-inline {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.triaca-ecg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.1;
  z-index: 1;
}

.triaca-ecg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation: ecg-slide 8s linear infinite;
}

@keyframes ecg-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.triaca-realtime-content {
  position: relative;
  z-index: 2;
}

.triaca-live-pulse {
  width: 12px;
  height: 12px;
  background-color: var(--narro-red);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(247, 74, 35, 0.7);
  animation: pulse-live 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(247, 74, 35, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(247, 74, 35, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(247, 74, 35, 0);
  }
}