/* ============================================
   Página Nosotros
   Paleta alineada con inicio / especialidades / médicos
   ============================================ */

.nos-hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(72px + 2.5rem);
  padding-bottom: 4rem;
  color: #ffffff;
  overflow: hidden;
}

/* Curva inferior del hero — SVG proporcionado (fill #F9FAFB) */
.nos-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(48px, 5.5vw, 72px);
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' width='1440' height='64' preserveAspectRatio='none'%3E%3Cpath fill='%23F9FAFB' d='M0 64L60 53.3C120 43 240 21 360 16C480 11 600 21 720 26.7C840 32 960 32 1080 26.7C1200 21 1320 11 1380 5.3L1440 0V64H1380C1320 64 1200 64 1080 64C960 64 840 64 720 64C600 64 480 64 360 64C240 64 120 64 60 64H0Z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
}

/* Línea celeste fina al terminar el hero */
.nos-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6dd4ff 15%, #6dd4ff 85%, transparent 100%);
  z-index: 2;
  box-shadow: 0 0 6px rgba(109, 212, 255, 0.35);
}

.nos-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a5f9e;
  background-image: linear-gradient(
      180deg,
      rgba(0, 18, 45, 0.28) 0%,
      rgba(0, 18, 45, 0.38) 100%
    ),
    url("../imagenes/fondo-hero-nosotros-sincurba.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 100px rgba(0, 15, 40, 0.2);
  z-index: -2;
}

.nos-hero-content {
  position: relative;
  z-index: 1;
}

.nos-hero-left {
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.nos-hero-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: rgba(109, 212, 255, 0.28);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(109, 212, 255, 0.55);
}

.nos-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #6dd4ff;
  flex-shrink: 0;
}

.nos-hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.nos-hero-title-highlight {
  display: block;
  color: #6dd4ff;
}

.nos-hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 26rem;
}

/* Línea de tiempo */

.nos-timeline {
  position: relative;
  margin-top: 1.5rem;
  padding-left: 1.75rem;
}

.nos-timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(109, 212, 255, 0.15),
    rgba(109, 212, 255, 0.75)
  );
}

.nos-timeline-item {
  position: relative;
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.nos-timeline-item:last-child {
  margin-bottom: 0;
}

.nos-timeline-year {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  height: 2rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d8ce8 0%, #0669b8 100%);
  border: 1px solid rgba(109, 212, 255, 0.55);
  box-shadow: 0 4px 14px rgba(5, 42, 89, 0.35);
}


.nos-timeline-content h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.nos-timeline-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* Panel derecho tarjeta fachada */

/* Columna central: imagen de fachada */
.nos-hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.nos-hero-image-frame {
  position: relative;
  max-width: 420px;
  width: 100%;
  border-radius: 24px;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.45) 0%, rgba(5, 42, 89, 0.92) 100%);
  box-shadow: 0 22px 50px rgba(5, 42, 89, 0.35);
  border: 1px solid rgba(109, 212, 255, 0.35);
}

.nos-hero-image-frame .nos-hero-years-badge {
  position: absolute;
  right: 1.1rem;
  top: -0.9rem;
}

/* ============================================
   Sección Nuestra Historia (debajo del hero)
   ============================================ */

.nos-history-section {
  background-color: #ffffff;
}

.nos-history-text {
  max-width: 560px;
}

.nos-history-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #052a59;
  margin-bottom: 1rem;
}

.nos-history-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #4fc3f7, #0d8ce8);
}

.nos-history-text p {
  font-size: 0.95rem;
  color: #4a6d8c;
  line-height: 1.7;
}

.nos-history-image-placeholder {
  width: 100%;
  min-height: 260px;
  border-radius: 20px;
  background: linear-gradient(145deg, #f0f8ff 0%, #e5f2fc 100%);
  border: 1px solid rgba(77, 163, 224, 0.22);
  box-shadow: 0 18px 45px rgba(5, 42, 89, 0.08);
}

@media (max-width: 767.98px) {
  .nos-history-section {
    padding-top: 2.5rem !important;
    padding-bottom: 3rem !important;
  }

  .nos-history-title {
    font-size: 1.4rem;
  }
}

/* ============================================
   Nuestros Valores
   ============================================ */

.nos-valores-section {
  background-color: #f8f9fa;
}

.nos-valores-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: #052a59;
  margin-bottom: 0.5rem;
}

.nos-valores-subtitle {
  font-size: 0.95rem;
  color: #4a6d8c;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.nos-valor-card {
  padding: 1.5rem 1rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(77, 163, 224, 0.2);
  box-shadow: 0 4px 24px rgba(5, 42, 89, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nos-valor-card:hover {
  box-shadow: 0 12px 40px rgba(13, 107, 184, 0.12);
  border-color: rgba(79, 195, 247, 0.45);
  transform: translateY(-2px);
}

.nos-valor-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d8ce8 0%, #0669b8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 22px rgba(13, 140, 232, 0.3);
}

.nos-valor-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #052a59;
  margin-bottom: 0.5rem;
}

.nos-valor-desc {
  font-size: 0.9rem;
  color: #4a6d8c;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================
   Misión y Visión
   ============================================ */

.nos-mision-vision-section {
  background-color: #ffffff;
}

.nos-mision-vision-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: 24px;
  min-height: 100%;
  background: linear-gradient(155deg, #052a59 0%, #0d4a8c 42%, #0d6bb8 100%);
  box-shadow: 0 16px 44px rgba(5, 42, 89, 0.28);
  border: 1px solid rgba(109, 212, 255, 0.22);
}

.nos-mision-vision-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.nos-mision-vision-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.nos-mision-vision-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================
   Nuestras Instalaciones (carrusel)
   ============================================ */

.nos-instalaciones-section {
  background-color: #f8f9fa;
}

.nos-instalaciones-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d6bb8;
  background: rgba(109, 212, 255, 0.2);
  border: 1px solid rgba(42, 140, 196, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 0.75rem;
}

.nos-instalaciones-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: #052a59;
  margin-bottom: 0.5rem;
}

.nos-instalaciones-subtitle {
  font-size: 0.95rem;
  color: #4a6d8c;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.nos-instalaciones-carousel-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(77, 163, 224, 0.22);
  box-shadow: 0 20px 50px rgba(5, 42, 89, 0.12);
  margin-bottom: 1.25rem;
}

.nos-instalaciones-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(42, 140, 196, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #052a59;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 16px rgba(5, 42, 89, 0.12);
}

.nos-instalaciones-arrow:hover {
  background: #f0f8ff;
  color: #0d6bb8;
  border-color: #2a8cc4;
}

.nos-instalaciones-prev {
  left: 1rem;
}

.nos-instalaciones-next {
  right: 1rem;
}

.nos-instalaciones-slides {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 320px;
}

.nos-instalaciones-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nos-instalaciones-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.nos-instalaciones-image-wrap {
  position: absolute;
  inset: 0;
}

.nos-instalaciones-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nos-instalaciones-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.75rem;
  background: linear-gradient(0deg, rgba(5, 42, 89, 0.94) 0%, rgba(5, 42, 89, 0.55) 58%, transparent 100%);
  color: #ffffff;
}

.nos-instalaciones-overlay h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.nos-instalaciones-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  max-width: 520px;
}

.nos-instalaciones-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.nos-instalaciones-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #355570;
  background: #ffffff;
  border: 1px solid rgba(42, 140, 196, 0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nos-instalaciones-tab:hover {
  background: #f0f8ff;
  color: #052a59;
  border-color: #2a8cc4;
}

.nos-instalaciones-tab.active {
  background: linear-gradient(135deg, #0d8ce8 0%, #0669b8 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(13, 140, 232, 0.3);
}

.nos-instalaciones-tab i {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .nos-instalaciones-slides {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }

  .nos-instalaciones-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .nos-instalaciones-overlay {
    padding: 1.25rem 1rem;
  }

  .nos-instalaciones-overlay h3 {
    font-size: 1.1rem;
  }

  .nos-instalaciones-overlay p {
    font-size: 0.85rem;
  }

  .nos-instalaciones-tab {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }
}

/* ============================================
   Nuestro Equipo Directivo
   ============================================ */

.nos-equipo-section {
  background-color: #ffffff;
}

.nos-equipo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d6bb8;
  background: rgba(109, 212, 255, 0.2);
  border: 1px solid rgba(42, 140, 196, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 0.75rem;
}

.nos-equipo-badge i {
  font-size: 0.95rem;
  color: #0d8ce8;
}

.nos-equipo-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: #052a59;
  margin-bottom: 0.5rem;
}

.nos-equipo-subtitle {
  font-size: 0.95rem;
  color: #4a6d8c;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.nos-equipo-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(77, 163, 224, 0.2);
  box-shadow: 0 4px 24px rgba(5, 42, 89, 0.06);
  padding-bottom: 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nos-equipo-card:hover {
  box-shadow: 0 12px 40px rgba(13, 107, 184, 0.12);
  border-color: rgba(79, 195, 247, 0.4);
  transform: translateY(-3px);
}

.nos-equipo-image-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f8ff;
}

.nos-equipo-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.nos-equipo-badge-role {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d6bb8;
  background: rgba(79, 195, 247, 0.2);
  border: 1px solid rgba(42, 140, 196, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin: 1rem 1.25rem 0.5rem;
}

.nos-equipo-badge-role i {
  font-size: 0.85rem;
}

.nos-equipo-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #052a59;
  margin-bottom: 0.25rem;
  padding: 0 1.25rem;
}

.nos-equipo-desc {
  font-size: 0.9rem;
  color: #4a6d8c;
  line-height: 1.4;
  margin-bottom: 0;
  padding: 0 1.25rem;
}

@media (max-width: 767.98px) {
  .nos-equipo-title {
    font-size: 1.5rem;
  }
}

/* ============================================
   Nuestro Compromiso — azul medio (se diferencia del footer oscuro)
   ============================================ */

.nos-compromiso-section {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  /* Línea sutil antes del footer */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nos-compromiso-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0a5cad 0%, #1373c9 40%, #1d8fe8 100%);
  z-index: -2;
}

.nos-compromiso-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Brillo suave; sin velo oscuro tipo footer */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 42%,
    rgba(5, 42, 89, 0.12) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.nos-compromiso-left {
  max-width: 520px;
}

.nos-compromiso-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #052a59;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(109, 212, 255, 0.55);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.nos-compromiso-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.nos-compromiso-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.65;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.nos-compromiso-cards {
  max-width: 520px;
  margin-left: auto;
}

.nos-compromiso-card {
  padding: 1.25rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.42);
  height: 100%;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(5, 42, 89, 0.15);
}

.nos-compromiso-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.nos-compromiso-card-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.nos-compromiso-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.45;
  margin-bottom: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
  .nos-compromiso-cards {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .nos-compromiso-title {
    font-size: 1.5rem;
  }
}

.nos-hero-card {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: rgba(5, 42, 89, 0.88);
  border-radius: 28px;
  padding: 1.6rem 1.6rem 1.8rem;
  box-shadow: 0 22px 60px rgba(5, 42, 89, 0.4);
  border: 1px solid rgba(109, 212, 255, 0.4);
}

.nos-hero-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.nos-hero-years-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #052a59;
  background: linear-gradient(135deg, #ffffff 0%, #c8ebff 100%);
  box-shadow: 0 4px 14px rgba(5, 42, 89, 0.2);
}

.nos-hero-image-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(109, 212, 255, 0.65);
}

.nos-hero-image-wrap-click {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nos-hero-image-wrap-click:hover {
  box-shadow: 0 0 0 4px rgba(109, 212, 255, 0.45);
  transform: scale(1.02);
}

.nos-hero-image-wrap-click:focus {
  outline: 2px solid rgba(109, 212, 255, 0.85);
  outline-offset: 2px;
}

.nos-hero-image-zoom-hint {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0.9;
}

.nos-hero-image-wrap-click:hover .nos-hero-image-zoom-hint {
  background: rgba(0, 0, 0, 0.7);
}

.nos-hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nos-hero-image-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  background-color: rgba(5, 42, 89, 0.94);
  color: #e8f4fc;
  border: 1px solid rgba(109, 212, 255, 0.55);
}

/* Modal fachada a pantalla completa */
.nos-fachada-modal-content {
  background: rgba(0, 0, 0, 0.92);
  border: none;
}

.nos-fachada-modal-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border: none;
  padding: 1rem 1.5rem;
  z-index: 10;
  justify-content: flex-end;
}

.nos-fachada-modal-body {
  min-height: 100vh;
}

.nos-fachada-modal-img {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.nos-hero-card-highlights {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.nos-hero-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(109, 212, 255, 0.16), transparent 55%);
  border: 1px solid rgba(109, 212, 255, 0.32);
}

.nos-hero-highlight-main {
  grid-column: 1 / -1;
  background: #ffffff;
  color: #052a59;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(5, 42, 89, 0.08);
}

.nos-hero-highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d8ce8 0%, #0669b8 100%);
  color: #ffffff;
  flex-shrink: 0;
}

.nos-hero-highlight-main .nos-hero-highlight-icon {
  background: #052a59;
  color: #6dd4ff;
}

.nos-hero-highlight-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.nos-hero-highlight-text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(231, 241, 255, 0.9);
}

.nos-hero-highlight-main .nos-hero-highlight-text {
  color: #42516a;
}

/* Columna derecha: tarjetas en pila */
.nos-hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Responsive */

@media (max-width: 991.98px) {
  .nos-hero {
    min-height: auto;
    padding-top: calc(72px + 1.8rem);
    padding-bottom: 3rem;
  }

  .nos-hero-center {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .nos-hero-card-highlights {
    grid-template-columns: 1fr;
  }

  .nos-hero-image {
    height: 230px;
  }
}

@media (max-width: 575.98px) {
  .nos-hero {
    padding-inline: 0.5rem;
  }

  .nos-hero-card {
    padding: 1.3rem 1.1rem 1.4rem;
    border-radius: 22px;
  }

  .nos-hero-title {
    font-size: 2rem;
  }

  .nos-timeline {
    padding-left: 1.4rem;
  }

  .nos-timeline-year::before {
    left: -0.1rem;
  }
}
