

@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;
}
.banner-principal .logo {
  order: 1;
  margin: 0;
}
.banner-principal .logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 0;
  background: none;
  display: block;
}
.banner-principal nav {
  order: 2;
  margin-top: 0;
}
.banner-principal nav a {
  position: relative;
  text-decoration: none;
  color: var(--azul-oscuro);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 18px;
  background: var(--blanco);
  border: 2px solid var(--azul-oscuro);
  box-shadow: 0 2px 8px rgba(10,35,66,0.08);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
  z-index: 1;
}
.banner-principal nav 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(.77,0,.18,1), left 0.3s cubic-bezier(.77,0,.18,1);
  z-index: 2;
}
.banner-principal nav a:hover {
  background: var(--azul-oscuro);
  color: var(--blanco);
  box-shadow: 0 6px 24px rgba(10,35,66,0.18);
  transform: translateY(-3px) scale(1.06);
}
.banner-principal nav a:hover::after {
  width: 80%;
  left: 10%;
}

/* MENU HAMBURGUESA */
.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;
}

@media (max-width: 700px) {
  .menu-hamburguesa {
    width: 30px;
    height: 30px;
    margin-left: 0;
    align-self: center;
    flex-shrink: 0;
  }
  .menu-hamburguesa span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
  }
}
.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(.77,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(.77,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.10);
  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(.77,0,.18,1), left 0.3s cubic-bezier(.77,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.60rem;
}
.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);
}

/* SECCIÓN DE SERVICIOS - TARJETAS */
.servicios-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 2.5rem;
  margin: 3.5rem auto 3rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}
.servicio-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(10,35,66,0.10), 0 1.5px 8px rgba(10,35,66,0.08);
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  max-width: 320px;
  flex: 1 1 280px;
  transition: box-shadow 0.3s, transform 0.2s;
  border: 2px solid var(--azul-oscuro);
  position: relative;
  overflow: hidden;
  animation: aparecerAbajo 1.1s;
}
.servicio-card:hover {
  box-shadow: 0 12px 32px rgba(10,35,66,0.18), 0 2px 12px rgba(10,35,66,0.12);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--naranja);
}
.servicio-icono {
  font-size: 3.2rem;
  color: var(--azul-oscuro);
  margin-bottom: 1.2rem;
  background: #f7f7fa;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(10,35,66,0.08);
  border: 2px solid var(--naranja);
  padding: 0;
}
.servicio-icono i {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1em;
}
.servicio-titulo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 0.7rem;
  text-align: center;
  letter-spacing: 0.5px;
}
.servicio-desc {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 1.2rem;
  text-align: center;
  min-height: 48px;
}
.servicio-boton {
  background: var(--naranja);
  color: #fff;
  border: none;
  padding: 0.7rem 1.7rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,115,0,0.10);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.2rem;
}
.servicio-boton:hover {
  background: var(--azul-oscuro);
  color: #fff;
  transform: scale(1.08);
}
@media (max-width: 900px) {
  .servicios-lista {
    gap: 1.2rem 0.7rem;
    padding: 0 0.2rem;
  }
  .servicio-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

@media (max-width: 700px) {
  /* Banner superior - mover iconos sociales a la derecha */
  .banner-superior {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.3rem 1rem;
  }
  .banner-superior .izquierda {
    font-size: 0.7rem;
    gap: 0.5rem;
  }
  .banner-superior .derecha {
    display: flex;
    gap: 0.8rem;
  }
  .banner-superior .derecha a {
    margin-left: 0;
    font-size: 1.2rem;
  }
  
  /* Banner principal - logo y texto en línea horizontal */
  .banner-principal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    min-height: 50px;
  }
  .logo-titulo {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    margin-right: 1rem;
  }
  .logo-grande {
    width: 60px;
    height: 60px;
    margin: 0 !important;
    padding: 0 !important;
  }
  .titulo-grande {
    font-size: 0.65rem;
    line-height: 1.1;
    white-space: normal;
    flex: 1;
  }
  .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;
  }
  .servicios-lista {
    flex-direction: column;
    gap: 1.2rem 0;
    padding: 0 0.2rem;
    max-width: 98vw;
  }
  .servicio-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    margin: 0 auto;
  }
  .servicio-icono {
    width: 54px;
    height: 54px;
    font-size: 2.2rem;
  }
  .servicio-titulo {
    font-size: 1.1rem;
  }
  .servicio-desc {
    font-size: 0.98rem;
  }
  .servicio-boton {
    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); }
}
