* {
  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-contact-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: #002b5c;
}

.nova-contact-hero-slider,
.nova-contact-hero-slide {
  position: absolute;
  inset: 0;
}

.nova-contact-hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 5s ease;
}

.nova-contact-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.nova-contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,42,92,.96), rgba(0,62,132,.82), rgba(0,0,0,.25));
}

.nova-contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nova-contact-hero-content h1 {
  font-size: 56px;
  margin: 0 0 16px;
  font-weight: 800;
}

.nova-contact-hero-content p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
}

/* PAGE */
.nova-contact-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.nova-contact-intro {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 65px 25px 35px;
}

.nova-contact-intro span {
  color: #0b52c0;
  font-weight: 800;
  font-size: 14px;
}

.nova-contact-intro h2 {
  color: #002b5c;
  font-size: 38px;
  line-height: 1.15;
  margin: 12px 0 18px;
  font-weight: 800;
}

.nova-contact-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* CONTACTOS ARRIBA */
.nova-contact-layout {
  max-width: 1180px;
  margin: 0 auto 55px;
  padding: 0 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.nova-contact-info-card,
.nova-advisers-contact {
  background: #ffffff;
  border: 1px solid rgba(232,237,245,.95);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(0,31,84,.12);
}

.nova-contact-info-card h3,
.nova-advisers-contact h3 {
  color: #002b5c;
  font-size: 25px;
  margin: 0 0 26px;
  font-weight: 800;
}

.nova-contact-item-pro {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.nova-contact-item-pro i {
  width: 46px;
  height: 46px;
  background: #eef6ff;
  color: #0b52c0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 19px;
  flex-shrink: 0;
}

.nova-contact-item-pro strong {
  color: #002b5c;
  font-size: 15px;
  font-weight: 800;
}

.nova-contact-item-pro p,
.nova-contact-item-pro a {
  margin: 5px 0 0;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  line-height: 1.55;
}

/* ASESORES */
.nova-adviser-contact-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
  background: #f7f9fc;
  margin-bottom: 20px;
  min-height: 185px;
}

.nova-adviser-contact-card img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.nova-adviser-contact-card h4 {
  margin: 0;
  color: #002b5c;
  font-size: 18px;
  font-weight: 800;
}

.nova-adviser-contact-card small {
  display: block;
  color: #555;
  margin: 4px 0 10px;
  font-weight: 600;
}

.nova-adviser-contact-card a {
  display: block;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  margin: 6px 0;
  word-break: break-word;
}

.nova-adviser-contact-card a i {
  color: #0b52c0;
}

.nova-adviser-contact-card .wa {
  color: #159947;
  font-weight: 800;
}

/* FORMULARIO */
.nova-form-overlay {
  position: relative;
  z-index: 3;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 70px 58px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 31, 84, 0.28);
  border-radius: 22px;
  backdrop-filter: blur(9px);
}

.nova-form-overlay h2 {
  margin: 0 0 12px;
  color: #002b5c;
  font-size: 36px;
  font-weight: 800;
}

.nova-form-overlay p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.nova-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.nova-form-overlay input,
.nova-form-overlay select,
.nova-form-overlay textarea {
  width: 100%;
  border: 1px solid #cfd7e2;
  background: #ffffff;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  border-radius: 0;
}

.nova-form-overlay input,
.nova-form-overlay select {
  height: 54px;
}

.nova-form-overlay textarea {
  min-height: 150px;
  resize: vertical;
  margin-bottom: 24px;
}

.nova-form-overlay input:focus,
.nova-form-overlay select:focus,
.nova-form-overlay textarea:focus {
  border-color: #0b52c0;
  box-shadow: 0 0 0 4px rgba(11, 82, 192, 0.1);
}

.nova-form-overlay button {
  border: none;
  background: #061b33;
  color: #ffffff;
  padding: 15px 42px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.nova-form-overlay button:hover {
  background: #0b52c0;
  transform: translateY(-3px);
}

#novaContactMsg {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 700;
}

/* OCULTAR MAPA ANTIGUO SI QUEDÓ EN HTML */
.nova-map-section {
  display: none !important;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nova-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nova-contact-hero {
    height: 310px;
  }

  .nova-contact-hero-content h1 {
    font-size: 38px;
  }

  .nova-contact-hero-content p {
    font-size: 15px;
  }

  .nova-contact-intro {
    padding: 45px 18px 30px;
  }

  .nova-contact-intro h2 {
    font-size: 30px;
  }

  .nova-contact-layout {
    padding: 0 18px;
    margin-bottom: 40px;
  }

  .nova-contact-info-card,
  .nova-advisers-contact {
    padding: 28px 22px;
  }

  .nova-adviser-contact-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .nova-full-map-contact {
    min-height: 780px;
    padding: 45px 18px;
  }

  .nova-form-overlay {
    padding: 35px 22px;
    border-radius: 18px;
  }

  .nova-form-overlay h2 {
    font-size: 30px;
  }

  .nova-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .nova-nos-logo img {
    width: 200px;
  }

  .nova-full-map-contact {
    min-height: 820px;
  }
}


