*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
    font-family: 'Rubik', sans-serif;
    background-color: white;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header{
  padding: 0;
}

.servicios-dropdown {
  position: relative;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #003f80;
  padding: 30px;
  width: 90vw;
  max-width: 1000px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 10px;
  display: none;
}

.servicios-dropdown:hover .dropdown-menu-custom {
  display: block;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.servicio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px;
  background-color: #004a99;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.servicio-item:hover {
  background-color: #F4A01D;
  color: #000;
}

.servicio-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  filter: invert(1);
}

.servicio-item p {
  margin: 0;
  font-size: 14px;
  color: white;
}

.navbar {
    background-color: #ffffff;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    top: 0;
    width: 100%;
    position: fixed;
    z-index: 9999;
    display: flex;             
    justify-content: center;     
    align-items: center;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
  }

  .navbar-toggler {
    border: none;
  }

.container-fluid {
  max-width: 1300px;       
  margin: 0 auto;         
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  .navbar-nav {
    display: flex;
    justify-content: center;
    align-items:center;
    width: 100%;
    padding: 10px 15px 10px;
    font-weight: 500;
  }
  
  .nav-link {
    color: black;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 15px;
    padding: 8px 15px;
  }

.contact-btn {
  background-color: #F4A01D;
  color: #fff !important;
  border-radius: 20px;
  padding: 8px 16px;
  transition: none;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  border: none;
  text-decoration: none !important;
} 

.contact-btn:hover {
  color: #F4A01D !important;
  background-color: #1F345F;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
  
  .nav-link:hover {
    color: #1F345F;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #1F345F;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-in-out;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .logo-consulta {
    width: 150px;
    padding: auto;
    transition: width 0.3s ease, padding 0.3s ease;
  }

.navbar.shrink {
    padding: 0.4rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  
  
  .navbar.shrink .logo-consulta {
    width: 100px;
    padding-top: 2px;
    padding-bottom: 5px;
  }

  #mainNavbar {
    transition: all 0.3s ease;
  }
  
  #mainNavbar.shrink {
    background-color: rgba(226, 218, 218, 0.8); 
  }


.servicios-section {
  background: linear-gradient(135deg, #002244, #005288);
  padding: 80px 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.contenido-cuadro {
  color: white;
  max-width: 900px;
  padding: 40px;
  position: relative;
  text-align: center;
  border-radius: 8px;
  border-top: none;
  border-left: none;
  overflow: hidden; 
}

.contenido-cuadro::after,
.contenido-cuadro::before {
  content: '';
  position: absolute;
  background-color: #F4A01D;
}


.contenido-cuadro::after {
  height: 10px;
  width: 850px; 
  bottom: 0;
  right: 0;
  border-bottom-right-radius: 8px;
}


.contenido-cuadro::before {
  content: '';
  width: 10px;
  height: 250px; 
  bottom: 0;
  right: 0;
  position: absolute;
  background-color: #F4A01D;
  border-bottom-right-radius: 8px;
}

.contenido-cuadro h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.linea-decorativa {
  width: 80px;
  height: 4px;
  background-color: #F4A01D;
  margin: 0 auto 20px auto;
  border-radius: 2px;
}

.contenido-cuadro p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.boton-experto {
  background-color: #002244;
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.boton-experto:hover{
  background: #002244;
  transform: scale(1.25);
}

.menu-servicios {
  position: sticky;
  top: 100px;
  background-color: #F9F8F9;
  padding: 25px;
  border-left: 4px solid #F4A01D;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 100%; 
  max-width: 400px; 
  border-radius: 8px;
  height: fit-content;
  align-self: flex-start;
  z-index: 10;
  font-style: italic;
  margin-bottom: 20px;
}

.menu-titulo {
  text-align: center;
  margin-bottom: 20px;
}

.menu-titulo img {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

.menu-titulo h3 {
  font-size: 1.5rem;
  color: black;
  font-weight: 700;
  margin: 0;
}

.menu-servicios ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-servicios li {
  margin-bottom: 20px;
}

.menu-servicios a {
  text-decoration: none;
  font-weight: bold;
  color: #1F345F;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0; /* ESPACIO DENTRO DE LOS <a> */
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-servicios a:hover {
  color: #F4A01D;
  transform: translateX(4px);
}

#sistema-sst {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #1F345F;
}

#sistema-sst h2 {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

#sistema-sst h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F4A01D;
}

#sistema-sst .descripcion {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
}

/* Lista con checks */
.lista-sst {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

.lista-sst li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #1F345F;
}

.lista-sst li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #1F70C1;
  font-weight: bold;
}

.lista-otro {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

.lista-otro li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #1F345F;
}

.lista-otro li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: #1F70C1;
  font-weight: bold;
}

.lista-otro2 {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

.lista-otro2 li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #1F345F;
}

.lista-otro2 li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: #1F70C1;
  font-weight: bold;
}

/* Subtítulo pasos */
#sistema-sst h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pasos-sgsst {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.paso {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.paso img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.paso p {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}

/* Hover para destacar */
.paso:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.modal-overlay {
  display: flex; 
  position:fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  display: none; 
  z-index: 999999; 
  overflow-y: auto;
  padding: 1rem; 
}


.modal .row {
  margin: 5px 0; 
}

.modal {
  display: block;
  background: #0056b3;
  background-image: 
    linear-gradient(to bottom right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), 
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.1) 0%, transparent 40%), 
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05) 0%, transparent 50%), 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 10px); 
  background-size: cover, cover, cover, 10px 10px; 
  background-attachment: fixed; 
  padding: 1.2rem 1.5rem; 
  border-radius: 1rem;
  color: white;
  width: 100%;
  position: relative;
  z-index: 99999999; 
  max-width: 550px; 
  max-height: 60vh; 
  overflow-y: auto; 
  box-sizing: border-box;
  position: relative;
}

.modal .row {
  flex-wrap: wrap; 
  display: flex;
  gap: 1rem;
  margin: 10px 0;
}

.modal input,
.modal select,
.modal textarea {
  flex: 1 1 100%;
  padding: 0.7rem;
  margin-top: 5px;
  border: none;
  border-bottom: 2px solid white;
  background: transparent;
  color: white;
  font-size: 1rem;
}

.modal option {
  color: black;
}

.modal ::placeholder{
  color: white;
}

.modal textarea {
  width: 100%;
  height: 100px;
}

.modal button {
  margin-top: 15px;
  width: 100%;
  padding: 0.8rem;
  background: #F4A01D;
  color: white;
  border: none;
  border-radius: 2rem;
  font-weight: bold;
}

.modal-close {
  position: absolute;
  top: 10px; 
  right: -2px;
  padding-right: 10px;
  font-size: 2rem;
  cursor: pointer;
  color: #F4A01D;            
}

@media (min-width: 600px) {
  .modal .row {
    flex-wrap: nowrap;
  }

  .modal input,
  .modal select {
    flex: 1;
  }
}



.footer-main {
  position: relative;
  background-image: url('/IMG/nosotros_vym.webp');  
  background-size: cover;
  background-position: center;
  color: #fff;
  font-size: 15px;
  padding: 50px 0 20px;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 23, 40, 0.952); 
  z-index: 1;
}

.footer-main .container {
  position: relative;
  z-index: 2;
}

.footer-img {
  width: 60%;
  margin-bottom: 15px;
}

.footer-main a {
  color: #ABABAA;
  text-decoration: none;
  margin-right: 10px;
  transition: color 0.3s;
  margin-bottom: 20px;
}

.footer-main a:hover {
  color: white;
}

.footer-main i {
  color: #0b3a97;
}

.footer-1 {
  text-align: center;
  padding-right: 30px;
}

.footer-1 p{
  font-size: 19px;
  color: #ABABAA  ;
}

.footer-2 h6,
.footer-3 h6 {
  font-weight: bold;
  color: white;
  margin-bottom: 15px;
}

.list-unstyled li{
  color: #ABABAA;
}

.footer-servicios {
  display: flex;
  gap: 30px;
}

.servicios-columna {
  display: flex;
  flex-direction: column;
}

/* REDES SOCIALES MÁS GRANDES */
.social-icons a i {
  font-size: 35px; 
  margin: 0 10px;
  color: #ABABAA;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a i:hover {
  transform: scale(1.1);
  color: white;
}

.footer-final {
  width: 100%;
  clear: both;
  display: block;
  text-align: center;
}

.footer-final p {
  text-align: center;
  font-size: 14px;
  margin: 5px 0;
  color: white;
}

.linea-central {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  width: 50%;
  margin: 20px auto;
}

/* Ícono de WhatsApp fijo */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 30px;
  padding: 6px 15px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
  background-color: #2c3e50;
  color: #25d366;
  transform: scale(1.15);
}

@media (min-width: 992px) {
  .navbar-brand {
    margin-right: 2rem;
  }

  .navbar-nav {
    gap: 1rem; /* espacio entre ítems */
  }
}

@media (max-width: 991px) {
  .navbar .navbar-brand {
    margin-right: 0;
  }

  .contact-btn.d-lg-none {
    display: inline-block;
  }

  .navbar-collapse {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .pilares-contenido {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .menu-servicios {
    order: 2 !important;
    width: 100% !important;
    margin-top: 30px !important;
    position: static !important;
  }

  .pilares-texto {
    order: 1 !important;
    width: 100% !important;
  }
}

@media (max-width: 992px) {
  .navbar-toggler {
    display: block;
    position: relative;
    z-index: 10002;
  }

  #navbarNav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    padding-top: 80px;
    z-index: 9998;
    overflow-y: auto;
    transition: top 0.4s ease-in-out;
  }

  #navbarNav.show {
    top: 0;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-item {
    width: auto;
    text-align: center;
  }

  .nav-link,
  .contact-btn {
    color: black;
    font-size: 18px;
  }

  /* 🔵 SERVICIOS CUSTOM DROPDOWN */
  .dropdown-menu-custom {
    position: static;
    transform: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    display: none;
    width: auto;
    max-height: 400px; 
    overflow-y: auto;
    margin-top: 10px;
  }

  .servicios-dropdown.show-services .dropdown-menu-custom {
    display: block;
  }

  .servicios-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .servicio-item {
    flex-direction: row;
    justify-content: center;
    background: none;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
    width: auto;
    text-align: center;
    transition: border-bottom 0.3s;
  }

  .servicio-item:hover,
  .servicio-item:focus {
    border-bottom: 2px solid #007bff; 
    background-color: transparent; 
  }

  .servicio-item img {
    display: none;
  }

  .servicio-item p {
    color: black;
    font-size: 16px;
    margin: 0;
  }
}


