* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: #111827;
}

/* HEADER */
.nova-nos-header {
  width: 100%;
  background: #ffffff;
  position: relative;
  z-index: 99999;
  box-shadow: 0 4px 18px rgba(0, 31, 84, 0.08);
}

.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 img {
  width: 210px;
  display: block;
}

.nova-nos-menu {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nova-nos-menu a {
  text-decoration: none;
  color: #101010;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 0;
}

.nova-nos-menu a.active,
.nova-nos-menu a:hover {
  color: #0b52c0;
}

.nova-nos-menu-toggle {
  display: none;
}

/* MENU MOBILE */
@media (max-width: 950px) {
  .nova-nos-header {
    background: #061b33 !important;
  }

  .nova-nos-header-inner {
    max-width: 100%;
    padding: 14px;
    background: #061b33;
    display: grid;
    grid-template-columns: 1fr 48px;
    align-items: center;
    gap: 12px;
  }

  .nova-nos-logo img {
    width: 230px;
    filter: brightness(0) invert(1);
  }

  .nova-nos-menu-toggle {
    display: flex;
    width: 48px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 3px solid rgba(255,255,255,.75);
    border-radius: 9px;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
  }

  .nova-nos-menu {
    grid-column: 1 / -1;
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
    background: #061b33;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: max-height .4s ease, opacity .3s ease;
  }

  .nova-nos-menu.open-menu {
    max-height: 900px;
    opacity: 1;
    visibility: visible;
  }

  .nova-nos-menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .nova-nos-menu a.active {
    background: #0b5c93;
  }
}

/* HERO */
.nova-servicios-hero {
  position: relative;
  height: 370px;
  overflow: hidden;
  background: #002b5c;
}

.nova-servicios-hero-slider,
.nova-servicios-hero-slide {
  position: absolute;
  inset: 0;
}

.nova-servicios-hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 5s ease;
}

.nova-servicios-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.nova-servicios-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,42,92,.96), rgba(0,62,132,.80), rgba(0,0,0,.25));
}

.nova-servicios-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nova-servicios-hero-content h1 {
  font-size: 58px;
  margin: 0 0 16px;
  font-weight: 800;
}

.nova-servicios-hero-content p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
}

/* PAGE */
.nova-servicios-page {
  max-width: 1400px;
  margin: auto;
  padding: 60px 35px 85px;
}

.nova-servicios-intro,
.nova-section-title {
  max-width: 900px;
  margin: 0 auto 45px;
  text-align: center;
}

.nova-servicios-intro span,
.nova-section-title span,
.nova-servicios-cta span,
.nova-servicio-feature-info span {
  color: #0b52c0;
  font-size: 14px;
  font-weight: 800;
}

.nova-servicios-intro h2,
.nova-section-title h2,
.nova-servicios-cta h2,
.nova-servicio-feature-info h2 {
  color: #002b5c;
  font-size: 40px;
  line-height: 1.15;
  margin: 12px 0 18px;
  font-weight: 800;
}

.nova-servicios-intro p,
.nova-section-title p,
.nova-servicios-cta p,
.nova-servicio-feature-info p {
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
}

/* SERVICIO PRINCIPAL */
.nova-servicios-main {
  margin-bottom: 55px;
}

.nova-servicio-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #f8fbff;
  border: 1px solid #e8edf5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0,31,84,.12);
}

.nova-servicio-feature-img {
  min-height: 520px;
  overflow: hidden;
}

.nova-servicio-feature-img img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  transition: .5s ease;
}

.nova-servicio-feature:hover img {
  transform: scale(1.05);
}

.nova-servicio-feature-info {
  padding: 58px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nova-servicio-feature-list {
  margin: 10px 0 25px;
}

.nova-servicio-feature-list p {
  margin: 10px 0;
  font-size: 15px;
}

.nova-servicio-feature-list i {
  color: #0b52c0;
  margin-right: 8px;
}

.nova-servicio-feature-info a {
  width: fit-content;
  background: #18a84a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 13px;
  transition: .3s ease;
}

.nova-servicio-feature-info a:hover {
  transform: translateY(-3px);
}

/* CARDS */
.nova-servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 70px;
}

.nova-servicio-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,31,84,.10);
  transition: .35s ease;
}

.nova-servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(0,31,84,.16);
}

.nova-servicio-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  background: #0b52c0;
  color: #ffffff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  z-index: 2;
  box-shadow: 0 12px 25px rgba(0,31,84,.25);
}

.nova-servicio-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
}

.nova-servicio-card div:last-child {
  padding: 26px;
}

.nova-servicio-card span {
  color: #0b52c0;
  font-size: 13px;
  font-weight: 800;
}

.nova-servicio-card h3 {
  color: #002b5c;
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 0 12px;
  font-weight: 800;
}

.nova-servicio-card p {
  color: #444444;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.nova-servicio-card button {
  border: none;
  background: #eef6ff;
  color: #0b52c0;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: .3s ease;
}

.nova-servicio-card button:hover {
  background: #0b52c0;
  color: #ffffff;
}

/* PROCESO */
.nova-servicios-process {
  margin-bottom: 70px;
}

.nova-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.nova-process-grid article {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: 0 14px 34px rgba(0,31,84,.08);
  overflow: hidden;
}

.nova-process-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #0b52c0;
}

.nova-process-grid strong {
  color: rgba(11,82,192,.16);
  font-size: 48px;
  font-weight: 900;
}

.nova-process-grid h3 {
  color: #002b5c;
  font-size: 21px;
  margin: 4px 0 10px;
  font-weight: 800;
}

.nova-process-grid p {
  color: #333333;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* SECTORES */
.nova-servicios-sectores {
  margin-bottom: 70px;
}

.nova-sectores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.nova-sectores-grid article {
  position: relative;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(0,31,84,.14);
}

.nova-sectores-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,43,92,.12), rgba(0,43,92,.88));
}

.nova-sectores-grid h3 {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

/* CTA */
.nova-servicios-cta {
  background: linear-gradient(135deg, #002b5c, #0b52c0);
  border-radius: 28px;
  padding: 58px 45px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(0,31,84,.20);
}

.nova-servicios-cta span {
  color: #a9d1ff;
}

.nova-servicios-cta h2 {
  color: #ffffff;
  max-width: 900px;
  margin: 12px auto 18px;
}

.nova-servicios-cta p {
  color: #eaf3ff;
  max-width: 760px;
  margin: 0 auto 28px;
}

.nova-servicios-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nova-servicios-cta-actions a {
  background: #ffffff;
  color: #0b52c0;
  text-decoration: none;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 13px;
  transition: .3s ease;
}

.nova-servicios-cta-actions a:hover {
  transform: translateY(-3px);
}

/* MODAL */
.nova-service-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.nova-service-modal.is-open {
  display: block;
}

.nova-service-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,16,38,.78);
  backdrop-filter: blur(6px);
}

.nova-service-modal-card {
  position: relative;
  z-index: 2;
  width: min(1050px, calc(100% - 36px));
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  margin: 25px auto;
  background: #ffffff;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.30);
}

.nova-service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #061b33;
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  cursor: pointer;
  z-index: 4;
}

.nova-service-modal-img {
  min-height: 560px;
}

.nova-service-modal-img img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.nova-service-modal-info {
  padding: 48px 42px;
}

.nova-service-modal-info span {
  color: #0b52c0;
  font-size: 13px;
  font-weight: 800;
}

.nova-service-modal-info h2 {
  color: #002b5c;
  font-size: 34px;
  line-height: 1.15;
  margin: 10px 0 16px;
  font-weight: 800;
}

.nova-service-modal-info p {
  color: #333333;
  font-size: 15px;
  line-height: 1.8;
}

.nova-service-modal-info ul {
  padding: 0;
  list-style: none;
  margin: 20px 0 24px;
}

.nova-service-modal-info li {
  font-size: 14px;
  line-height: 1.65;
  color: #1f2937;
  margin-bottom: 9px;
  display: flex;
  gap: 10px;
}

.nova-service-modal-info li::before {
  content: "✓";
  color: #0b52c0;
  font-weight: 900;
}

.nova-service-modal-info label {
  display: block;
  color: #002b5c;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
}

.nova-service-modal-info select {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border: 1px solid #d8e3f1;
  border-radius: 12px;
  padding: 0 12px;
  font-family: inherit;
}

#novaServiceWhatsapp {
  display: inline-block;
  background: #18a84a;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  transition: .3s ease;
}

#novaServiceWhatsapp:hover {
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nova-servicio-feature {
    grid-template-columns: 1fr;
  }

  .nova-servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nova-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nova-sectores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nova-service-modal-card {
    grid-template-columns: 1fr;
  }

  .nova-service-modal-img,
  .nova-service-modal-img img {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .nova-servicios-hero {
    height: 310px;
  }

  .nova-servicios-hero-content h1 {
    font-size: 38px;
  }

  .nova-servicios-hero-content p {
    font-size: 15px;
  }

  .nova-servicios-page {
    padding: 42px 18px 60px;
  }

  .nova-servicios-intro h2,
  .nova-section-title h2,
  .nova-servicios-cta h2,
  .nova-servicio-feature-info h2 {
    font-size: 30px;
  }

  .nova-servicio-feature-info {
    padding: 38px 24px;
  }

  .nova-servicios-grid,
  .nova-process-grid,
  .nova-sectores-grid {
    grid-template-columns: 1fr;
  }

  .nova-servicios-cta {
    padding: 38px 22px;
  }

  .nova-service-modal-info {
    padding: 34px 24px;
  }
}