* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: #1b1b1b;
}

/* HEADER */
.nova-nos-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e8ef;
}

.nova-nos-header-inner {
  max-width: 1180px;
  margin: auto;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nova-nos-logo img {
  width: 210px;
  display: block;
}

.nova-nos-menu {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nova-nos-menu a {
  text-decoration: none;
  color: #151515;
  font-size: 13px;
  font-weight: 800;
  position: relative;
  padding-bottom: 8px;
}

.nova-nos-menu a.active,
.nova-nos-menu a:hover {
  color: #0b52c0;
}

.nova-nos-menu a.active::after,
.nova-nos-menu a:hover::after {
  content: "";
  width: 100%;
  height: 3px;
  background: #0b52c0;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 10px;
}

/* HERO CARRUSEL */
.nova-about-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #002b5c;
}

.nova-about-hero-slider,
.nova-about-hero-slide {
  position: absolute;
  inset: 0;
}

.nova-about-hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 5s ease;
}

.nova-about-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.nova-about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 42, 92, 0.96) 0%, rgba(0, 62, 132, 0.86) 38%, rgba(0, 0, 0, 0.25) 100%);
}

.nova-about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.nova-about-hero-content h1 {
  margin: 0 0 16px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.nova-about-hero-content p {
  margin: 0;
  max-width: 650px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
}

/* CONTENIDO GENERAL */
.nova-about-page {
  max-width: 1180px;
  margin: auto;
  padding: 60px 25px 75px;
}

/* PRESENTACIÓN */
.nova-about-main {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 45px;
  align-items: center;
}

.nova-about-main-text span,
.nova-about-clients-text span {
  color: #0b52c0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.nova-about-main-text h2,
.nova-about-clients-text h2 {
  color: #002b5c;
  font-size: 38px;
  line-height: 1.15;
  margin: 12px 0 22px;
  font-weight: 800;
}

.nova-about-main-text p {
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 500;
}

.nova-about-main-img img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 31, 84, 0.18);
}

/* ESTADÍSTICAS */
.nova-about-stats {
  margin: 55px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.nova-about-stats article {
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 14px 32px rgba(0, 31, 84, 0.08);
  transition: 0.3s ease;
}

.nova-about-stats article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 31, 84, 0.14);
}

.nova-about-stats i {
  color: #0b52c0;
  font-size: 34px;
}

.nova-about-stats h3 {
  color: #0b52c0;
  margin: 14px 0 5px;
  font-size: 22px;
  font-weight: 800;
}

.nova-about-stats p {
  margin: 0;
  color: #202020;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

/* MISIÓN Y VISIÓN */
.nova-mv-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 65px;
}

.nova-mv-card {
  position: relative;
  padding-top: 120px;
}

.nova-mv-card img {
  position: absolute;
  top: 0;
  left: 28px;
  width: 270px;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
  z-index: 2;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.nova-mv-card div {
  background: #f7f9fc;
  border-radius: 18px;
  padding: 90px 42px 42px;
  border-bottom: 4px solid #0b52c0;
  min-height: 315px;
}

.nova-mv-card h3 {
  color: #002b5c;
  font-size: 26px;
  margin: 0 0 18px;
  font-weight: 800;
}

.nova-mv-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #222222;
  margin: 0;
}

/* TESTIMONIOS */
.nova-about-testimonials {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 35px;
  align-items: stretch;
  margin-bottom: 70px;
}

.nova-test-img-slider {
  position: relative;
  min-height: 390px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 31, 84, 0.16);
}

.nova-test-img-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.3s ease, transform 4s ease;
}

.nova-test-img-slider img.active {
  opacity: 1;
  transform: scale(1);
}

.nova-about-test-box {
  min-height: 390px;
  border-radius: 20px;
  position: relative;
  background: #ffffff;
  border: 1px solid #e8edf5;
  box-shadow: 0 16px 40px rgba(0, 31, 84, 0.12);
}

.nova-about-test-box h3 {
  color: #002b5c;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 22px;
}

/* CLIENTES */
.nova-about-clients {
  background: #f5f7fa;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.nova-about-clients-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin: 0;
}

.nova-about-clients-text a {
  display: inline-block;
  margin-top: 24px;
  background: #0b52c0;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 800;
  transition: 0.3s ease;
}

.nova-about-clients-text a:hover {
  background: #003c91;
  transform: translateY(-3px);
}

.nova-about-client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.nova-about-client-grid div {
  background: #ffffff;
  height: 130px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.nova-about-client-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 31, 84, 0.12);
}

.nova-about-client-grid img {
  max-width: 100%;
  max-height: 75px;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 950px) {
  .nova-nos-header-inner {
    flex-direction: column;
    gap: 20px;
  }

  .nova-nos-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .nova-about-main,
  .nova-about-testimonials,
  .nova-about-clients,
  .nova-mv-section {
    grid-template-columns: 1fr;
  }

  .nova-about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nova-about-hero-content h1 {
    font-size: 42px;
  }
}

@media (max-width: 560px) {
  .nova-about-page {
    padding: 40px 18px;
  }

  .nova-about-hero {
    height: 310px;
  }

  .nova-about-hero-content h1 {
    font-size: 36px;
  }

  .nova-about-hero-content p {
    font-size: 15px;
  }

  .nova-about-main-text h2,
  .nova-about-clients-text h2 {
    font-size: 30px;
  }

  .nova-about-main-img img {
    height: 280px;
  }

  .nova-about-stats,
  .nova-about-client-grid {
    grid-template-columns: 1fr;
  }

  .nova-about-clients {
    padding: 32px 22px;
  }

  .nova-mv-card {
    padding-top: 105px;
  }

  .nova-mv-card img {
    left: 20px;
    width: 230px;
    height: 150px;
  }

  .nova-mv-card div {
    padding: 78px 25px 32px;
  }

  .nova-test-img-slider {
    min-height: 300px;
  }
}

.nova-client-card-soft {
  overflow: hidden;
  position: relative;
}

.nova-client-card-soft img {
  transition: opacity 0.7s ease, transform 0.9s ease, filter 0.9s ease;
}

.nova-client-card-soft.is-changing img {
  opacity: 0;
  transform: scale(0.92);
  filter: blur(4px);
}

.nova-client-card-soft.is-entering img {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* MENU HAMBURGUESA DEFINITIVO */

.nova-nos-header {
  width: 100%;
  background: #ffffff;
  position: relative;
  z-index: 99999;
}

.nova-nos-header-inner {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 18px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nova-nos-logo {
  display: flex;
  align-items: center;
}

.nova-nos-logo img {
  width: 210px;
  display: block;
}

.nova-nos-menu {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nova-nos-menu a {
  text-decoration: none;
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.nova-nos-menu-toggle {
  display: none;
}

/* CELULAR Y TABLET */
@media (max-width: 950px) {
  .nova-nos-header-inner {
    padding: 14px 16px;
  }

  .nova-nos-logo img {
    width: 180px;
  }

  .nova-nos-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 46px;
    background: #061b33;
    color: #ffffff;
    border: 2px solid #0b52c0;
    border-radius: 12px;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
    z-index: 999999;
  }

  .nova-nos-menu {
    width: 100%;
    flex-basis: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #061b33;
    border-radius: 14px;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
  }

  .nova-nos-menu.open-menu {
    max-height: 700px !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 14px !important;
  }

  .nova-nos-menu a {
    display: block;
    width: 100%;
    padding: 16px 22px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }

  .nova-nos-menu a.active {
    background: #004f9f;
  }

  .nova-nos-menu a:hover {
    background: rgba(32, 168, 223, 0.35);
  }
}
/* AJUSTE FINAL HEADER MOBILE */
@media (max-width: 950px) {
  .nova-nos-header {
    background: #061b33 !important;
  }

  .nova-nos-header-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px !important;
    background: #061b33 !important;

    display: grid !important;
    grid-template-columns: 1fr 52px !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .nova-nos-logo {
    justify-content: flex-start !important;
  }

  .nova-nos-logo img {
    width: 230px !important;
    max-width: 100% !important;
    filter: brightness(0) invert(1) !important;
  }

  .nova-nos-menu-toggle {
    justify-self: end !important;
    display: flex !important;
    width: 52px !important;
    height: 50px !important;
    background: #004f9f !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,.75) !important;
    border-radius: 12px !important;
    font-size: 30px !important;
  }

  .nova-nos-menu {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    border-radius: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #061b33 !important;
  }

  .nova-nos-menu.open-menu {
    margin-top: 14px !important;
  }

  .nova-nos-menu a {
    padding: 17px 22px !important;
  }
}

@media (max-width: 420px) {
  .nova-nos-logo img {
    width: 200px !important;
  }

  .nova-nos-header-inner {
    grid-template-columns: 1fr 48px !important;
  }

  .nova-nos-menu-toggle {
    width: 48px !important;
    height: 46px !important;
    font-size: 27px !important;
  }
}
/* MENU MOBILE ESTILO SIDEBAR NOVA */
@media (max-width: 950px) {
  .nova-nos-header {
    background: #061b33 !important;
    width: 100% !important;
  }

  .nova-nos-header-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 14px !important;
    background: #061b33 !important;
    display: grid !important;
    grid-template-columns: 1fr 48px !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .nova-nos-logo img {
    width: 230px !important;
    filter: brightness(0) invert(1) !important;
  }

  .nova-nos-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 44px !important;
    background: transparent !important;
    border: 3px solid rgba(255,255,255,.75) !important;
    border-radius: 9px !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
  }

  .nova-nos-menu {
    grid-column: 1 / -1 !important;
    width: calc(100% + 28px) !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
    margin-top: 0 !important;
    background: #061b33 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    transition: max-height .4s ease, opacity .3s ease !important;
  }

  .nova-nos-menu.open-menu {
    max-height: 900px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nova-nos-menu a {
    display: grid !important;
    grid-template-columns: 40px 1fr 20px !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 30px !important;
    background: #061b33 !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  .nova-nos-menu a.active {
    background: #0b5c93 !important;
    box-shadow: inset 4px 0 0 #ffffff !important;
  }

  .nova-nos-menu a::after {
    display: none !important;
  }

  .nova-nos-menu a:hover {
    background: #0b5c93 !important;
  }
}
@media (max-width: 950px) {
  .nova-nos-menu {
    background: #061b33 !important;
  }

  .nova-nos-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    text-align: center !important;
    letter-spacing: .2px !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
  }

  .nova-nos-menu a.active {
    background: #0b5c93 !important;
    box-shadow: inset 5px 0 0 #ffffff !important;
  }

  .nova-nos-menu a b,
  .nova-nos-menu a span {
    display: none !important;
  }
}
/* AGRANDAR IMÁGENES MISIÓN Y VISIÓN */
.nova-mv-card {
  padding-top: 210px !important;
}

.nova-mv-card img {
  width: 430px !important;
  height: 270px !important;
  left: 32px !important;
}

/* CELULAR */
@media (max-width: 768px) {
  .nova-mv-card {
    padding-top: 190px !important;
  }

  .nova-mv-card img {
    width: calc(100% - 40px) !important;
    height: 230px !important;
    left: 20px !important;
  }

  .nova-mv-card div {
    padding-top: 80px !important;
  }
}

