/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header and Navigation */
nav {
    background: #131c46;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    z-index: 2;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 150px;
    width: auto;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 95%;
    font-weight: 400;
    padding: 4px 8px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #131c46
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #131c46;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
    background-color: #fff;
    color: #131c46;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Navigation */
.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #131c46;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }
}

/* Roadmap Section */
/* ==========================
   ROADMAP SECTION - MEJORADO
========================== */
/* ==========================
   ROADMAP SECTION - MEJORADO
========================== */
.roadmap-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.roadmap-title {
  font-size: 3rem;
  color: #131c46;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Grid Container Mejorado */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: center;
}

/* Diseño de las Tarjetas */
.roadmap-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Numeración con Círculo */
.roadmap-card::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background: #131c46;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Títulos de los Pasos */
.roadmap-card h3 {
  font-size: 1.5rem;
  color: #131c46;
  font-weight: bold;
}

/* Contenido del Paso */
.roadmap-card p, .roadmap-card ul {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Listas en los Pasos */
.roadmap-card ul {
  padding-left: 20px;
}

/* Responsive Mejorado */
@media (max-width: 768px) {
  .roadmap-title {
      font-size: 2rem;
  }

  .roadmap-card {
      padding: 25px;
  }

  .roadmap-card::before {
      width: 35px;
      height: 35px;
      font-size: 1rem;
  }

  .roadmap-card h3 {
      font-size: 1.3rem;
  }

  .roadmap-card p, .roadmap-card ul {
      font-size: 0.95rem;
  }
}

/* ==========================
 BOTÓN DE VOLVER ATRÁS
========================== */
.btn-back {
  display: block;
  width: fit-content;
  margin: 40px auto;
  padding: 12px 24px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background-color: #131c46;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-back:hover {
  background-color: #0e1733;
  transform: scale(1.05);
}


/* Footer */
.footer {
    background-color: #131c46;
    color: white;
    padding: 40px 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-logo {
    width: 250px;
    margin-bottom: 10px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-navigation,
.footer-social {
    flex: 1;
}

.footer-navigation h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin: 5px 0;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ddd;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 30px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-navigation,
    .footer-social {
        margin-top: 20px;
    }
}



 /* Menu */
 #menuglobal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-image: url(assets/purificacion.JPG);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #183889;
    color: #fff !important;
    width: 100%;
    min-height: 100vh;
    z-index: 8888;
  }
  
  .globalmenu_telemergencia {
    position: absolute;
    top: 25px;
    right: 100px;
    width: 400px;
    height: 96px;
    border: 1px solid white;
  }
  
  .ico_emergencia {
    width: 38px;
    height: 38px;
    background-image: url(../images/icons/icon_telefono.png);
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
  }
  
  .globalmenu_telemergencia div {
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    float: left;
    border: 1px solid white;
  }
  
  .globalmenu_telemergencia div h3 {
    font-size: 10pt;
    color: #fff;
  }
  
  .globalmenu_btn_close {
    position: absolute;
    top: 25px;
    right: 75px;
    width: 48px;
    height: 48px;
    background-image: url(assets/ico_menu_btn_close.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 94%;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    z-index: 99;
  }
  
  .globalmenu_btn_close:hover {
    border-bottom: 4px solid #3B8DD1;
  }
  
  #menuglobal-scrollarea {
    position: relative;
    width: 100% !important;
    height: 100vh !important;
    overflow: auto;
  }
  
  #menuglobal-cont {
    position: relative;
    width: 70% !important;
    height: auto;
    padding-right: 17px;
    margin: auto !important;
    padding-top: 90px;
  }
  
  .menuglobal-contlst {
    width: 100%;
    height: auto;
  }
  
  .menuglobal-listas {
    position: relative;
    height: auto;
    padding-top: 25px !important;
  }
  
  .menuglobal-listas-small {
    width: 50%;
    min-height: 20vh;
  }
  
  .menuglobal-listas-large {
    width: 100%;
    min-height: 20vh;
  }
  
  .menuglobal-lista {
    float: left;
  }
  
  .menuglobal-lista hr {
    width: 90%;
    height: 2px;
    border: none;
    background-color: #fff;
    margin-top: 8px;
  }
  
  .menuglobal-lista a {
    color: #fff !important;
    background-image: linear-gradient(#fff, #fff);
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: .6s;
    padding-left: 2px;
    padding-right: 2px;
    text-shadow: 1px 1px 1px #000;
  }
  
  .menuglobal-lista a:hover {
    background-size: 100% 100%;
    color: black !important;
    text-shadow: none;
  }
  
  .menulst-dos {
    width: 50%;
  }
  
  .menulst-dos div {
    width: 50%;
    float: left;
  }
  
  .menulst-uno {
    width: 100%;
  }
  
  .menulst-uno div {
    width: 50%;
    float: left;
  }
  
  .menuglobal-lista h2 {
    font-size: 24pt;
    color: #fff !important;
  }
  
  .menuglobal-lista ul {
    list-style: none;
    padding-left: 33px;
  }
  
  .menuglobal-lista ul li {
    font-size: 14pt;
    font-weight: 400;
    word-spacing: 1px;
    padding-top: 8px !important;
    cursor: pointer;
  }
  
  #menuglobal-info {
    width: 50%;
    height: auto;
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #menuglobal-info div {
    text-align: center;
  }
  
  #menuglobal-info div h3 {
    font-size: 11pt;
    font-weight: 400;
    color: #fff !important;
  }
  
  #menuglobal-info div h3 a {
    color: #fff;
    background-image: linear-gradient(#8574a5, #1000e9);
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: .4s;
    padding-left: 2px;
    padding-right: 2px;
  }
  
  #menuglobal-info div h3 a:hover {
    background-size: 100% 100%;
    color: black !important;
  }
  
  #menuglobal-info div img {
    width: 340px;
  }
  
  .menuglobal-cont-div {
    float: left;
  }
  
  #menuglobal-destacadas {
    width: 100%;
    min-height: 34vh;
    height: auto;
  }
  
  #menuglobal-destacadas hr {
    width: 95%;
    height: 2px;
    border: none;
    background-color: #fff;
    margin-bottom: 25px;
  }
  
  .destacadaGroup {
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 4px;
    float: left;
  }
  
  .destacadaGroup h2 {
    color: #fff;
    font-size: 18pt !important;
    margin-bottom: 12px;
  }
  
  .group-cuatro {
    width: 30%;
    max-width: 30%;
  }
  
  .group-tres {
    width: 40%;
    max-width: 40%;
  }
  
  .group-dos {
    width: 30%;
  }
  
  .group-border {
    border-right: 1px solid #c1c1c1;
  }
  
  .menuglobal-destacada {
    width: 150px;
    height: 112px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    float: left;
  }
  
  .menuglobal-destacada:hover {
    color: #33ccff;
  }
  
  .destacada-bg {
    margin: 0 auto;
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 8px;
  }
  
  .menuglobal-destacada span {
    font-size: 11pt;
  }
  
  .globalnav-vermas {
    color: #fff;
    background-size: 0%;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .globalnav-vermas span {
    transition: all 0.6s;
  }
  
  .globalnav-vermas:hover span {
    color: transparent;
    cursor: pointer;
  }
  
  .globalnav-vermas:hover {
    background-size: 26px;
  }
  
  
  @media only screen and (max-width: 1500px) {
    #menuglobal-cont {
        width: 90% !important;
    }
  }
  
  @media only screen and (max-width: 700px) {
    #menuglobal-cont {
        position: absolute;
        width: 98% !important;
        top: 0;
        bottom: 0;
        left: 0;
        right: -15px;
    }
  
    .globalmenu_btn_close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 48px;
        height: 48px;
        background-size: cover;
        border-bottom: none;
    }
  
    .globalmenu_btn_close:hover {
        border-bottom: none;
    }
  
    .menuglobal-listas {
        width: 100%;
        height: auto;
        padding-top: 25px;
    }
  
    .menulst-dos {
        width: 100%;
        margin-top: 25px;
    }
  
    .menuglobal-lista h2 {
        font-size: 16pt;
    }
  
    .menuglobal-lista hr {
        width: 100%;
        margin-top: 5px;
        margin-bottom: 12px;
    }
  
    .menuglobal-lista ul li {
        font-size: 13pt;
    }
  
    #menuglobal-destacadas {
        height: auto;
        margin-top: 20px;
        margin-bottom: 25px;
    }
  
    .menuglobal-destacada {
        width: 33%;
        height: 98px;
        font-size: 10pt;
        padding: 5px;
    }
  
    .destacada-bg {
        width: 38px;
        height: 38px;
    }
  
    .destacadaGroup h2 {
        font-size: 16pt !important;
        margin-top: 10px;
    }
  
    .group-cuatro {
        width: 100%;
        max-width: 100%;
    }
  
    .group-tres {
        width: 100%;
        max-width: 100%;
    }
  
    .group-dos {
        width: 100%;
        max-width: 100%;
    }
  
    .group-border {
        border-right: 0px solid #c1c1c1;
    }
  }
  
  .sticky-container {
    padding: 0px;
    margin: 0px;
    position: fixed;
    right: -150px;
    top: 230px;
    width: 210px;
    z-index: 1100;
  }
  
  .sticky li {
    list-style-type: none;
    background-color: #ffffff00;
    color: transparent;
    height: 43px;
    padding: 0px;
    margin: 0px 0px 1px 0px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
  }
  
  .sticky li:hover {
    margin-left: -30px;
  }
  
  .sticky li img {
    float: left;
    margin: 5px 4px;
    margin-right: 5px;
  }
  
  .sticky li p {
    padding-top: 5px;
    margin: 0px;
    line-height: 16px;
    font-size: 11px;
  }
  
  .sticky li p a {
    text-decoration: none;
    color: #2C3539;
  }
  
  .sticky li p a:hover {
    text-decoration: underline;
  }
  
  