.carousel-control-prev,
.carousel-control-next {
  top: 90%;
  transform: translateY(-50%);
  width: 40px;
  height:40px;
  background-color: rgba(107, 96, 96, 0.638); /* más claro para contraste */
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255); /* borde visible */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* añade contorno */
}
.navbar {
  background-color: white;
  backdrop-filter: none;
  width: 100%;
  max-width: none;
  height: 126px;
}

.navbar .nav-link,
.nombre-principal,
.subnombre-elegante,
.titulo-seccion {
  color: black;
}

.navbar .nav-link {
  position: relative;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.2;
  padding: 0.45rem 0.72rem !important;
}

.navbar .nav-link {
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

.navbar .nav-link.active,
.navbar .nav-link.show {
  font-weight: 500;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: black;
  box-shadow: 0 0 2px 1px white;
  transition: width 0.3s ease-in-out;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.nombre-principal {
  font-family: 'EB Garamond', serif;
  font-size: 1.7rem;
}

.subnombre-elegante {
  font-family: "Brush Script MT", cursive;
  font-size: 1.5rem;
  font-weight: normal;
}

.titulo-seccion {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* Utilidad: estilos para páginas secundarias (no index.html) */
.body-secundario .navbar .nav-link,
.body-secundario .nombre-principal,
.body-secundario .subnombre-elegante,
.body-secundario .titulo-seccion {
  color: black;
}

.hero-wrapper {
  position: relative;
  height: 100vh;
}

.hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  z-index: 10;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  font-size: 2rem;
}

body.body-secundario .navbar .nav-link,
body.body-secundario .navbar .nombre-principal,
body.body-secundario .navbar .subnombre-elegante,
body.body-secundario .navbar .titulo-seccion {
  color: black !important;
  font-size: 1.04rem !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  line-height: 1.2 !important;
}


body.body-secundario {
  padding-top: 110px;
}

/* Reforzado: Forzar estilo de navbar en todas las páginas con body-secundario */
body.body-secundario .navbar {
  background-color: white !important;
  backdrop-filter: none !important;
  width: 100% !important;
  max-width: none !important;
  height: 126px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  body.body-secundario .navbar .nav-link,
  body.body-secundario .navbar .nombre-principal,
  body.body-secundario .navbar .subnombre-elegante,
  body.body-secundario .navbar .titulo-seccion {
    color: black !important;
    font-size: 0.98rem !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    text-shadow: none !important;
  }

  .navbar-brand img:not(.navbar-logo-main) {
    height: 50px !important;
  }

  .navbar-brand .text-center {
    margin-top: 0.3rem !important;
  }

  .nombre-principal {
    font-size: 1rem !important;
  }

  .subnombre-elegante {
    font-size: 0.9rem !important;
  }

  .titulo-seccion {
    font-size: 0.75rem !important;
  }
}

.navbar-logo-main {
  height: 110px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .navbar {
    height: 104px;
  }

  body.body-secundario .navbar {
    height: 104px !important;
  }

  .navbar-logo-main {
    height: 88px;
  }
}

@media (max-width: 767px) {
  .navbar {
    height: 88px;
  }

  body.body-secundario .navbar {
    height: 88px !important;
  }

  .navbar-logo-main {
    height: 62px;
  }

  body.body-secundario {
    padding-top: 86px;
  }
}


/* Estilos específicos para la página de contacto */
.contacto-page h2,
.contacto-page p,
.contacto-page label {
  color: white;
  text-shadow:
    0 0 3px #000,
    0 0 6px #000,
    0 0 8px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.7);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
}

.contacto-page h3 {
  color: black;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
}

.contacto-page form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.contacto-page input,
.contacto-page textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contacto-page button {
  background-color: black;
  color: white;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.contacto-page button:hover {
  background-color: #333;
}

/* Animación de entrada suave para la página de contacto */
.contacto-page {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Refuerzo de la estructura visual de la navbar en la página de contacto */

.contacto-page .navbar .nav-link,
.contacto-page .nombre-principal,
.contacto-page .subnombre-elegante,
.contacto-page .titulo-seccion {
  color: white !important;
  font-size: 1.2rem;
  text-shadow:
    0 0 3px #000,
    0 0 6px #000,
    0 0 8px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}


/* Refuerzo de alineación en la barra superior de contacto.html */
.contacto-page .navbar-brand {
  display: flex;
  align-items: center;
}

.contacto-page .navbar-brand .nombre-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  margin-left: 0.5rem;
}

.contacto-page .navbar-brand img {
  height: 60px !important;
}

/* Fijar navbar en contacto.html arriba, sin margen ni desplazamiento */
.contacto-page .navbar {
  background-color: white !important;
  backdrop-filter: none !important;
  width: 100% !important;
  max-width: none !important;
  height: 85px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  z-index: 1000;
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 80px; /* antes era 20px */
  right: 20px;
  z-index: 1000;
  animation: float 2.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}
/* Estilos específicos para la página de promociones */
.promociones-page .navbar .nav-link {
  font-family: 'EB Garamond', serif !important;
  color: white !important;
  font-size: 0.9rem !important;
  text-shadow:
    0 0 3px #000,
    0 0 6px #000,
    0 0 8px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}

.promociones-page .navbar {
  background-color: white !important;
  backdrop-filter: none !important;
  width: 100% !important;
  max-width: none !important;
  height: 85px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  z-index: 1000;
}

/* Preload de fuentes personalizadas */
@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EBGaramond-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Great Vibes';
  src: url('fonts/GreatVibes-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel';
  src: url('fonts/Cinzel-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Estilos de navbar para página de promociones: tipografía y subrayado coherente */
.promociones-page .navbar .nav-link {
  font-family: 'EB Garamond', serif !important;
}

.promociones-page .navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: black;
  box-shadow: 0 0 2px 1px white;
  transition: width 0.3s ease-in-out;
}

.promociones-page .navbar .nav-link:hover::after,
.promociones-page .navbar .nav-link.active::after {
  width: 100%;
}
.promociones-claro h2,
.promociones-claro p,
.promociones-claro strong {
  color: black !important;
  text-shadow: none !important;
}
.logo-animado {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpLogo 1.4s ease-out forwards;
}

@keyframes fadeUpLogo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulso suave para la esfera roja del logo */
.logo-esfera {
  animation: pulseEsfera 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes pulseEsfera {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1.2);
  }
}
/* Estilo específico para el texto principal del carrusel en index.html */
.hero-overlay-text h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 3rem;
  transform: translateY(-260px);
  transition: all 0.4s ease-in-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilo para el subtítulo del carrusel en index.html */
.hero-overlay-text h2 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight:330;
  font-size: 1.8rem;
  transform: translateY(-260px);
  transition: all 0.4s ease-in-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  border: #000;
}

/* Estilo para los elementos h4 dentro del carrusel */
.hero-overlay-text h4 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight:330;
  font-size: 1.65rem;
  transform: translateY(-260px);
  transition: all 0.4s ease-in-out;
  border: #000;
}
/* Espaciado entre imágenes */
.img-espaciada {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Estilo para encabezado de proyectos en proyectos-page */
.proyectos-page .section-header h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.masonry {
  column-count: 2;
  column-gap: 1rem;
}

.masonry img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 1rem;
  aspect-ratio: 4/3;
  background-color: #eee;
  transition: opacity 0.5s ease-in-out;
  min-height: 250px;
}


/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid white;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* AOS: punto de partida opaco para animaciones */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}
.vintage-filter {
  filter: sepia(0.5) contrast(1) brightness(1.05) saturate(0.85);
  transition: filter 0.3s ease;
}


/* ===== Estilos para encabezado y texto de contacto ===== */
.contacto-frase {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.2rem;
  color: black !important;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: none !important;
}

.contacto-detalles {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: black !important;
  text-align: center;
  text-shadow: none !important;
}

/* ===== Contacto moderno ===== */
.contact-main {
  background:
    radial-gradient(circle at 20% 8%, rgba(70, 110, 145, 0.16) 0%, rgba(246, 248, 250, 0) 42%),
    radial-gradient(circle at 90% 75%, rgba(41, 78, 108, 0.1) 0%, rgba(246, 248, 250, 0) 45%);
}

.contact-panel {
  background: #ffffff;
  border: 1px solid #d9e1e8;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 18px 35px rgba(25, 45, 62, 0.08);
}

.contact-eyebrow {
  margin-bottom: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #4a6479;
}

.contact-title {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #132738;
}

.contact-lead {
  margin-top: 0.9rem;
  color: #4f6070;
  font-size: 1.06rem;
  max-width: 56ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.contact-item {
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  padding: 1rem;
  background: #fbfdff;
}

.contact-item h2 {
  margin: 0 0 0.35rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #536575;
}

.contact-item p {
  margin: 0;
  color: #1b2d3b;
  line-height: 1.45;
}

.contact-item a {
  color: #0d3a5b;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.58rem 1.2rem;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-btn-primary {
  background: #123854;
  border: 1px solid #123854;
  color: #fff;
}

.contact-btn-primary:hover {
  background: #0d2b40;
  color: #fff;
}

.contact-btn-secondary {
  border: 1px solid #123854;
  color: #123854;
  background: #fff;
}

.contact-btn-secondary:hover {
  background: #eff4f8;
  color: #123854;
}

.contact-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d9e1e8;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(25, 45, 62, 0.08);
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.contact-signoff {
  padding: 1.2rem 1rem 0.4rem;
}

.contact-signoff h3 {
  margin: 0;
  color: #202c36;
  font-size: 1.06rem;
  font-weight: 500;
}

.contact-signoff p {
  margin-top: 0.35rem;
  color: #5d6973;
}

@media (max-width: 991px) {
  .contact-panel {
    padding: 1.4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-image {
    min-height: 300px;
  }
}
.carousel-control-prev,
.carousel-control-next {
  top: 90%;
  transform: translateY(-50%);
  width: 40px;
  height:40px;
  background-color: rgba(107, 96, 96, 0.638); /* más claro para contraste */
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255); /* borde visible */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* añade contorno */
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(0); /* vuelve íconos oscuros para fondo claro */
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
}


@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
      top: 50%;
      transform: translateY(-50%);
      z-index: 1;
    }

  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
  }
  .carousel-control-prev,
  .carousel-control-next {
    z-index: 10000 !important;
  }

  .hero-overlay-text {
    pointer-events: none;
  }
}
.parallax-section {
  height: 80vh;
  overflow: hidden;
  position: relative;
}

.parallax-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}
.parallax-section {
  height: 80vh;
  overflow: hidden;
  position: relative;
}

.parallax-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 100vh;
    object-fit: cover;
    object-position: center;
  }

  .hero-overlay-text h1,
  .hero-overlay-text h2,
  .hero-overlay-text h4 {
    font-size: 1.3rem !important;
    text-align: center;
    padding: 0 1rem;
    transform: translateY(-50%) !important;
  }

  .hero-overlay-text {
    top: 50% !important;
    left: 0 !important;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
  }

  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
  }

  .parallax-image {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
    height: 60vh !important;
  }

  .contador-visitas-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 2rem auto 1rem auto;
  }
}
/* ================== Estilos para el contador de visitas ================== */
.contador-visitas {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #333;
  background: linear-gradient(135deg, #f0f0f0, #ffffff);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 220px;
  margin: 2rem auto 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.contador-visitas:hover {
  transform: scale(1.03);
}

/* ================== Estilo flotante para el contador de visitas sobre la imagen ================== */
.overlay-bg {
  z-index: 99;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Refuerzo de visibilidad del contador en todos los dispositivos */
.contador-visitas-overlay {
  position: static;
  margin: 2rem auto 1rem auto;
  font-size: 1.35rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background-color: #f1f1f1;
  color: #222;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.section-imagen-intermedia {
  width: 100%;
  background-color: white;
}

.imagen-intermedia {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  padding: 20px;
}

.home-separator {
  height: 14px;
  width: 100%;
  background: linear-gradient(90deg, #0e2538 0%, #506d83 50%, #0e2538 100%);
}

.home-credito {
  text-align: center;
  color: #2b2b2b;
  font-size: 0.95rem;
  padding: 1rem 1rem 0.2rem;
  line-height: 1.5;
  background-color: #fff;
}

/* ===== Home refresh: hero estilo NSG + sección estilo Guardian ===== */
.nsg-hero-wrapper {
  margin-top: 0;
}

.nsg-hero-carousel .carousel-item {
  position: relative;
}

.nsg-hero-carousel .overlay-bg {
  background: linear-gradient(95deg, rgba(0, 0, 0, 0.65) 18%, rgba(0, 0, 0, 0.25) 48%, rgba(0, 0, 0, 0.08) 78%);
  pointer-events: none;
}

.nsg-slide-copy {
  position: absolute;
  left: 7%;
  top: 56%;
  transform: translateY(-50%);
  z-index: 100;
  color: #fff;
  max-width: 620px;
  text-align: left;
  animation: nsgFadeIn 0.8s ease;
}

.nsg-slide-copy-center {
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(760px, 88%);
  max-width: none;
  text-align: center;
}

.nsg-slide-kicker {
  margin-bottom: 0.8rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c8d7e0;
}

.nsg-slide-copy-center .nsg-slide-kicker {
  display: inline-block;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 1px 6px rgba(0, 0, 0, 0.85);
  -webkit-text-stroke: 0.2px rgba(0, 0, 0, 0.9);
}

.nsg-slide-copy h2 {
  margin: 0 0 1.4rem 0;
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: 0.01em;
}

.nsg-slide-logo {
  display: block;
  width: min(360px, 68%);
  max-width: 100%;
  height: auto;
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.4));
}

.nsg-slide-logo-small {
  width: min(230px, 46%);
  margin-left: auto;
  margin-right: auto;
}

.nsg-corporate-name {
  text-transform: uppercase;
  letter-spacing: 0.06em !important;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem) !important;
  font-weight: 400 !important;
}

.nsg-slide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 40px;
  padding: 0.7rem 1.3rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
}

.nsg-slide-link:hover {
  background-color: #ffffff;
  color: #111;
}

.nsg-hero-indicators {
  justify-content: flex-end;
  gap: 0.2rem;
  margin-right: 1.6rem;
  margin-bottom: 1.6rem;
}

.nsg-hero-indicators [data-bs-target] {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  text-indent: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.8;
}

.nsg-hero-indicators [data-bs-target]::before {
  content: "";
}

.nsg-hero-indicators [data-bs-slide-to="0"]::after { content: "01"; }
.nsg-hero-indicators [data-bs-slide-to="1"]::after { content: "02"; }
.nsg-hero-indicators [data-bs-slide-to="2"]::after { content: "03"; }
.nsg-hero-indicators [data-bs-slide-to="3"]::after { content: "04"; }
.nsg-hero-indicators [data-bs-slide-to="4"]::after { content: "05"; }

.nsg-hero-indicators .active {
  background: #ffffff;
  color: #111;
  opacity: 1;
}

.nsg-control-btn.carousel-control-prev,
.nsg-control-btn.carousel-control-next {
  top: auto;
  bottom: 2rem;
  width: 2.5rem;
  height: 2.5rem;
}

.nsg-control-btn.carousel-control-prev {
  left: 1.6rem;
  right: auto;
}

.nsg-control-btn.carousel-control-next {
  left: 4.9rem;
  right: auto;
}

.guardian-possibilities {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
}

.guardian-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #202a31;
}

.guardian-subtitle {
  color: #50616f;
  max-width: 760px;
  margin: 0 auto;
}

.guardian-cards-row {
  max-width: 1320px;
  margin: 0 auto;
}

.guardian-card {
  background-color: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 24px rgba(23, 41, 55, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guardian-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(23, 41, 55, 0.13);
}

.guardian-card-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 1.2rem !important;
}

.guardian-card h5 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #20303e;
}

.guardian-card p {
  padding: 0 1.2rem;
  color: #5d6a76;
}

.guardian-card-link {
  display: inline-block;
  margin: 0.6rem 0 1.4rem 0;
  color: #0f2d46;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.guardian-card-link:hover {
  border-color: #0f2d46;
}

@keyframes nsgFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 991px) {
  .nsg-slide-copy {
    left: 6%;
    top: 58%;
    max-width: 75%;
  }

  .nsg-slide-copy-center {
    left: 50%;
    top: 53%;
    max-width: none;
  }

  .nsg-hero-indicators {
    margin-right: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .nsg-control-btn.carousel-control-prev {
    left: 1.2rem;
    right: auto;
    bottom: 1rem;
  }

  .nsg-control-btn.carousel-control-next {
    left: 4.2rem;
    right: auto;
    bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .nsg-slide-copy {
    left: 7%;
    right: 7%;
    top: 54%;
    max-width: none;
  }

  .nsg-slide-copy-center {
    left: 50%;
    right: auto;
    top: 53%;
    width: 90%;
  }

  .nsg-slide-kicker {
    font-size: 0.8rem;
  }

  .nsg-slide-link {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .nsg-slide-logo {
    width: min(290px, 80%);
  }

  .nsg-slide-logo-small {
    width: min(180px, 60%);
  }

  .nsg-hero-indicators {
    justify-content: center;
    margin-right: 0;
  }

  .nsg-control-btn.carousel-control-prev,
  .nsg-control-btn.carousel-control-next {
    bottom: 4.1rem;
  }

  .nsg-control-btn.carousel-control-prev {
    left: 1rem;
    right: auto;
  }

  .nsg-control-btn.carousel-control-next {
    right: 1rem;
  }

  .guardian-card-image {
    height: 220px;
  }
}
