@import url("https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap");
:root {
  --azul-oscuro: #0a2342;
  --blanco: #fff;
  --negro: #111;
  --naranja: #ff7300;
}
body {
  font-family: "Roboto", Arial, sans-serif;
  margin: 0;
  background: var(--blanco);
  color: var(--negro);
  overflow-x: hidden;
}
/* BANNER SUPERIOR */
.banner-superior {
  background: var(--azul-oscuro);
  color: var(--blanco);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.18rem 0.7rem;
  font-size: 0.82rem;
  animation: aparecerArriba 1s;
}
.banner-superior .izquierda {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.banner-superior .derecha a {
  color: var(--blanco);
  margin-left: 0.5rem;
  font-size: 1.05rem;
  transition: color 0.3s;
}
.banner-superior .derecha a:hover {
  color: var(--naranja);
}
/* BANNER PRINCIPAL */
.banner-principal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.05rem 0.5rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-height: 0px;
  position: relative;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.logo-titulo {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0 !important;
  padding: 0.05rem 0 !important;
}
.logo-grande {
  width: 110px;
  height: 110px;
  margin: -35px !important;
  padding: 0px 0px 0px 40px;
  object-fit: contain;
}
.titulo-grande {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a2342;
  letter-spacing: 1px;
  white-space: pre-line;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
}
.menu-hamburguesa {
  margin-left: auto;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  z-index: 102;
}
.menu-hamburguesa span {
  width: 22px;
  height: 3px;
  margin: 3px 0;
  background: #0a2342;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-desplegable {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #0a2342;
  box-shadow: -4px 0 24px rgba(10, 35, 66, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 3.5rem 1.5rem 1.5rem 1.5rem;
  gap: 2.1rem;
  z-index: 200;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
  border-radius: 18px 0 0 18px;
}
.menu-desplegable.abierto {
  right: 0;
  opacity: 1;
  pointer-events: all;
  animation: slideInMenu 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
@keyframes slideInMenu {
  from {
    right: -260px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}
.menu-desplegable a {
  background: #0a2342 !important;
  color: #fff !important;
  border-radius: 16px !important;
  padding: 1.1rem 1.5rem !important;
  font-size: 1.18rem !important;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.1);
  border: none;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 170px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none !important;
  position: relative;
}
.menu-desplegable a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 0;
  height: 3px;
  background: var(--naranja);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.77, 0, 0.18, 1),
    left 0.3s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 2;
}
.menu-desplegable a:hover {
  background: #fff !important;
  color: #0a2342 !important;
  box-shadow: 0 4px 16px rgba(10, 35, 66, 0.18);
  transform: scale(1.06);
}
.menu-desplegable a:hover::after {
  width: 80%;
  left: 10%;
}
.menu-desplegable a i {
  font-size: 1.3rem;
  margin-right: 1.1rem;
  color: inherit !important;
}
.menu-desplegable .menu-titulo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  margin-left: 0.2rem;
  opacity: 0.7;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  padding-bottom: 0.7rem;
  line-height: 1;
}
.fondo-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 35, 66, 0.18);
  z-index: 101;
}
.menu-desplegable.abierto ~ .fondo-menu {
  display: block;
}
.cerrar-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  position: absolute;
  top: 3.5rem;
  right: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.7rem;
  box-shadow: none;
  border-radius: 50%;
  z-index: 201;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.cerrar-menu:hover {
  background: #fff;
  color: #0a2342;
}
/* LINEA DIVISORIA */
.linea-divisoria {
  width: 100%;
  height: 4px;
  background: var(--azul-oscuro);
  border: none;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* FOOTER */
footer {
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  text-align: center;
  margin-top: 0rem;
  border-radius: 16px 16px 0 0;
  animation: aparecerAbajo 1.2s 0.7s backwards;
  font-size: 0.6rem;
}
.pie-logo {
  width: 95px;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pie-logo img {
  width: 100%;
  height: auto;
  max-width: 95px;
  object-fit: contain;
  display: block;
}
.footer-powered {
  font-size: 0.5rem;
  color: #b0c4d8;
  margin-top: 0.2rem;
  text-align: center;
}
.footer-textos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
/* WHATSAPP FLOTANTE */
.whatsapp-flotante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.whatsapp-flotante a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(10, 35, 66, 0.18);
  font-size: 1.5rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-flotante a:hover {
  background: #1ebe57;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(10, 35, 66, 0.25);
}
/* BLOQUE ANIMADO DE INFORMACIÓN DEL SERVICIO */
/* ANCHO COMPLETO PARA EL BLOQUE PRINCIPAL */
.servicio-main-ancho {
  max-width: 100vw;
  margin: 0;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}
.servicio-espacio-ancho {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
}
.servicio-info-animada {
  width: 100%;
  max-width: 1100px;
  margin: 2.5rem auto 2.5rem auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(10, 35, 66, 0.1),
    0 1.5px 8px rgba(10, 35, 66, 0.08);
  padding: 3.2rem 3.5rem 2.5rem 3.5rem;
  animation: fadeInPop 1.1s cubic-bezier(0.77, 0, 0.18, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.servicio-titulo-animado {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--azul-oscuro);
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
  animation: fadeInUp 1.2s 0.2s backwards;
}
.servicio-subtitulo-animado {
  font-size: 1.35rem;
  color: var(--naranja);
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: center;
  animation: fadeInUp 1.2s 0.3s backwards;
}
.servicio-texto-animado {
  font-size: 1.18rem;
  color: #222;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.3s 0.4s backwards;
}
.servicio-lista-ventajas {
  list-style: none;
  padding: 0;
  margin: 0 0 1.7rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 2.5rem;
  animation: fadeInUp 1.3s 0.5s backwards;
}
.servicio-lista-ventajas li {
  font-size: 1.08rem;
  color: var(--azul-oscuro);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #f7f7fa;
  border-radius: 12px;
  padding: 0.7rem 1.3rem;
  box-shadow: 0 1px 4px rgba(10, 35, 66, 0.06);
}
.servicio-lista-ventajas i {
  color: var(--naranja);
  font-size: 1.1rem;
}
.servicio-cta {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
}
.servicio-boton-cta {
  background: var(--naranja);
  color: #fff;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 22px;
  font-weight: 800;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 115, 0, 0.1);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.5px;
}
.servicio-boton-cta:hover {
  background: var(--azul-oscuro);
  color: #fff;
  transform: scale(1.06);
}
@keyframes fadeInPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
  }
  80% {
    opacity: 1;
    transform: scale(1.04) translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* BLOQUES DE ÁREAS EN SERVICIOS ADMINISTRATIVOS */
.servicio-bloques {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem 3.5rem;
  margin: 2.2rem 0 1.5rem 0;
  width: 100%;
}
.servicio-bloque {
  background: #f7f7fa;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.06);
  padding: 1.5rem 2.2rem;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInPop 1.1s cubic-bezier(0.77, 0, 0.18, 1);
}
.servicio-bloque-titulo {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.servicio-bloque p {
  font-size: 1.05rem;
  color: #222;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .servicio-bloques {
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
  }
  .servicio-bloque {
    min-width: 0;
    max-width: 98vw;
    padding: 1.2rem 0.7rem;
  }
  .servicio-bloque-titulo {
    font-size: 1rem;
  }
  .servicio-bloque p {
    font-size: 0.98rem;
  }
}
@media (max-width: 700px) {
  .banner-principal {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    min-height: 70px;
  }
  .logo-titulo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .logo-grande {
    width: 60px;
    height: 60px;
  }
  .titulo-grande {
    font-size: 1.2rem;
  }
  .banner-principal .logo {
    width: 110px;
    height: 110px;
  }
  .banner-principal .titulo {
    font-size: 1.1rem;
  }
  .banner-principal nav a {
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
  }
  .whatsapp-flotante a {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  .pie-logo img {
    width: 60px;
    max-width: 60px;
  }
  .servicio-info-animada {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    max-width: 98vw;
  }
  .servicio-titulo-animado {
    font-size: 1.5rem;
  }
  .servicio-subtitulo-animado {
    font-size: 1.1rem;
  }
  .servicio-texto-animado {
    font-size: 1rem;
  }
  .servicio-lista-ventajas li {
    font-size: 0.98rem;
    padding: 0.5rem 0.7rem;
  }
  .servicio-boton-cta {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
}
@keyframes aparecerArriba {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes aparecerAbajo {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
