:root {
  --azul-cbo: #234c92;
  --gris-claro: #f8f9fa;
  --gris-medio: #6c757d;
  --gris-oscuro: #323e48;
  --blanco: #fff;
}

/* Body general */
/* Body general */
body {
  background: var(--gris-claro);
  color: var(--gris-oscuro);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
  background-color: var(--blanco);
  border-bottom: 2px solid var(--azul-cbo);
}

.navbar-brand img {
  max-height: 50px;
}

.nav-link {
  color: var(--azul-cbo);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gris-medio);
}

.sitios-img {
  object-fit: contain;
  height: 60px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h2, h3, h4 {
  color: var(--azul-cbo);
  font-weight: 700;
}

.carousel9 {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  overflow-x: auto;
  padding: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--azul-cbo) var(--gris-claro);
}
.carousel9::-webkit-scrollbar {
  height: 14px;
}
.carousel9::-webkit-scrollbar-track {
  background: var(--gris-claro);
}
.carousel9::-webkit-scrollbar-thumb {
  background-color: var(--azul-cbo);
  border-radius: 12px;
  border: 2px solid var(--gris-claro);
}

.carousel__face {
  background-color: var(--blanco);
  box-shadow: 3px 2px 8px rgba(35, 76, 146, 0.08);
  padding: 2rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  border-radius: 15px;
  flex-shrink: 0;
  width: 260px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

footer {
  background: var(--blanco);
  color: var(--gris-oscuro);
  border-top: 2.5px solid var(--azul-cbo);
  padding: 1.7rem 0 1rem 0;
  font-size: 1rem;
}
footer a {
  color: var(--azul-cbo);
  text-decoration: none;
}
footer a:hover { text-decoration: underline; color: #1d4075; }
footer address, footer p, footer ul {
  color: var(--gris-medio);
  font-size: 1.03rem;
}
@media (max-width: 720px) {
  .logito, .navbar-brand img {
    height: 46px;
    max-width: 82px;
  }
  .carousel9 {
    gap: 12px;
  }
  .carousel__face {
    width: 200px;
    height: 140px;
    font-size: 0.9rem;
    padding: 1.4rem 1rem;
  }
}

/* Swiper carrusel matemáticas */
#carro .swiper {
  position: relative;
  padding-top: 40px;
  padding-bottom: 64px;
}

#carro .swiper-slide {
  background: linear-gradient(135deg, #fafdff 72%, #e7f0fd 100%);
  border: 2px solid #d9e4fa;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(35,76,146,0.07);
  padding: 2.2rem 1.8rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.20rem;
  color: #1d2943;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.55;
  border-bottom: 5px solid #234c92;
  transition: box-shadow 0.13s;
}

#carro .swiper-slide:hover {
  box-shadow: 0 10px 32px rgba(35,76,146,0.09);
  border-bottom: 7px solid #234c92;
}

#carro .swiper-button-next,
#carro .swiper-button-prev {
  color: #234c92;
  top: 54% !important;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #c8d4f8;
  z-index: 9;
  transform: translateY(-50%);
  border: 2px solid #dde5f7;
}

#carro .swiper-button-next {
  right: -38px;
}

#carro .swiper-button-prev {
  left: -38px;
}

#carro .swiper-pagination-bullet {
  background-color: #234c92;
  opacity: 0.65;
}

#carro .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 900px) {
  #carro .swiper-button-next,
  #carro .swiper-button-prev { width: 32px; height: 32px; right: -12px; left: -12px; }
  #carro .swiper-slide { font-size: 1rem; padding: 1.1rem 0.4rem; }
}

/* swiper de frases*/
#frases .swiper {
  padding-top: 10px;
  padding-bottom: 40px;
}
.frase-slide {
  background: linear-gradient(135deg, #ffeaba, #beeafc 89%, #e5f0ff 100%);
  border-radius: 24px;
  color: #324c6a;
  box-shadow: 0 8px 24px rgba(80,120,160,0.12);
  padding: 2.6rem 1.9rem 2.1rem 1.9rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  position: relative;
  border-bottom: 5px solid #234c92;
  transition: box-shadow .15s, transform .12s;
}
.frase-slide:hover {
  box-shadow: 0 14px 28px rgba(35,76,146,0.14), 0 1.5px 7px #c8d4f8;
  transform: scale(1.04);
  color: #13396d;
}
.frase-slide span {
  display: block;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: 1.07rem;
  color: #185ca4;
  opacity: 0.86;
}



