* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

:root {
  --color-primary: #7a77e0;
  --color-secundary: #a9073e;
  --color-three: #09a699;
}

:root {
  --color-primario: #7a77e0;
  --color-secundario: #a9073e;
  --color-fondo-card: #09a699;
  --color-texto: #333333;
}

@import url("https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap");

section {
  margin: 120px 0;
}

@media screen and (max-width: 995px) {
  section {
    margin: 50px 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
i,
span {
  font-family: "Fira Sans", sans-serif;
}

a {
  text-decoration: none;
}

header {
  background-color: var(--color-primary);
}

.container-header {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: auto;
}

.header-title p {
  font-size: 18px;
  font-weight: 600;
  color: white;
  font-style: italic;
  margin: 0;
}

.header-buttons .btn.btn-header {
  background-color: var(--color-secundary);
  color: white;
  font-weight: 600;
  border-radius: 20px;
  font-style: italic;
}

@media screen and (max-width: 995px) {
  .container-header {
    display: block;
  }

  .header-title p {
    font-size: 16px;
    text-align: center;
  }

  .header-buttons {
    margin-top: 10px;
    text-align: center;
  }

  .header-buttons .btn.btn-header {
    font-size: 14px;
  }
}

.navbar {
  background-color: white;
}

.collapse {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.collapse .container-nav-logo {
  display: flex;
  align-items: center;
}

.collapse .container-nav-logo img {
  width: 50px;
}

.collapse .container-nav-logo h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  margin-left: 10px;
}

.collapse .navbar-nav .nav-link {
  color: black;
  font-size: 18px;
  font-weight: 600;
}

.collapse .navbar-nav .nav-link.link-aule {
  color: white;
  background-color: var(--color-primary);
  border-radius: 40px;
}

.collapse .navbar-nav .nav-link.link-aule:hover {
  color: white;
  background-color: var(--color-three);
}

.nav-img-phone {
  display: none;
}

@media screen and (max-width: 995px) {
  .collapse {
    display: block;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .nav-fa-phone {
    color: white;
    background-color: var(--color-primary);
    padding: 10px 15px;
    border-radius: 5px;
  }

  .nav-text-phone {
    font-size: 20px;
    font-weight: 600;
  }

  .nav-img-phone {
    display: block;
    max-width: 100%;
    width: 60px;
  }

  .collapse .container-nav-logo img,
  .collapse .container-nav-logo h1 {
    display: none;
  }

  .collapse .navbar-nav .nav-link.link-aule {
    text-align: center;
  }
}

.coverpage {
  width: 100%;
  margin: 0;
}

.coverpage img {
  max-width: 100%;
  width: 100%;
}

.container-btn-inscription {
  position: absolute;
  left: 36%;
  bottom: 35%;
}

.btn.btn-inscription-coverpage {
  background-color: var(--color-three);
  border-radius: 5px;
  color: white;
  font-weight: 600;
}

@media screen and (max-width: 995px) {
  .container-btn-inscription {
    display: none;
  }
}

.cards-direct .img-cards-direct {
  display: block;
  width: 180px;
  margin: auto;
  transition: transform 0.3s;
}

.cards-direct .img-cards-direct:hover {
  transition: transform 0.3s;
  transform: scale(1.1);
}

.cards-direct .title-cards-direct {
  padding-top: 10px;
  font-size: 20px;
  text-align: center;
  font-weight: 600;
}

@media screen and (max-width: 995px) {
  .cards-direct .img-cards-direct {
    width: 90px;
  }

  .cards-direct .title-cards-direct {
    font-size: 18px;
  }
}

/* Ganadores de Votaciones */
.contenedor-principal {
  max-width: 1000px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2.5rem;
  box-shadow: 0 25px 45px -18px rgba(0, 40, 70, 0.25);
  overflow: hidden;
  padding: 2.2rem 2.2rem 2.5rem 2.2rem;
  /* GARANTÍA: márgenes automáticos para centrar en navegadores antiguos */
  margin-left: auto;
  margin-right: auto;
}

/* === ENCABEZADO === */
.header-ganadores {
  text-align: center;
  margin-bottom: 2.2rem;
  border-bottom: 2px solid #dee9f2;
  padding-bottom: 1.8rem;
}

.header-ganadores h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0b2b44; /* Azul profundo institucional */
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-ganadores h1 i {
  color: var(--color-secundario); /* Dorado/ámbar de acento */
  font-size: 2.4rem;
}

.badge-fecha {
  background: #e3ecf5;
  color: #1f4b6e;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.4rem 2rem;
  border-radius: 40px;
  display: inline-block;
  margin-top: 0.5rem;
}

.badge-fecha i {
  margin-right: 8px;
  color: var(--color-secundario);
}

/* === TARJETAS DE GANADORES (FIEL A LA IMAGEN) === */
.grid-ganadores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0 2.5rem 0;
}

.tarjeta-ganador {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 2rem;
  padding: 2rem 1.8rem 1.8rem 1.8rem;
  box-shadow: 0 8px 16px -8px rgba(0, 45, 70, 0.12);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  
}

.tarjeta-ganador:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 24px -10px rgba(15, 60, 100, 0.2);
}

/* FOTO CIRCULAR - elemento clave que pediste */
.foto-candidato {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e6f0f8, #cddeee);
  margin: 0 auto 1.2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid white;
  outline: 2px solid var(--color-fondo-card);
  box-shadow: 0 10px 15px -8px rgba(0, 0, 0, 0.2);
}

.foto-candidato img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.8;
}

/* Etiqueta del cargo (Personero / Contralor) */
.cargo-badge {
  background: var(--color-primario);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  width: fit-content;
  margin: 0 auto 0.8rem auto;
  text-transform: uppercase;
}

.nombre-ganador {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secundary);
  text-align: center;
  margin-bottom: 0.25rem;
}

.grado-ganador {
  font-size: 1.2rem;
  color: #4d6b86;
  text-align: center;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

/* === SECCIÓN DE ESTADÍSTICAS (AHORA MÁS LIMPIA, TÚ PONES LOS NÚMEROS) === */
.estadisticas-box {
  background: #f2f7fd;
  border-radius: 1.5rem;
  padding: 1.3rem 1.2rem 1rem 1.2rem;
  margin: 0.5rem 0 1.2rem 0;
  border: 1px solid #d1e0ee;
}

.fila-estadistica {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.fila-estadistica .label {
  font-weight: 500;
  color: #1f3e5c;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fila-estadistica .label i {
  color: var(--color-fondo-card);
  width: 1.5rem;
  font-size: 1.1rem;
}

.fila-estadistica .valor {
  font-weight: 700;
  background: white;
  padding: 0.2rem 1.2rem;
  border-radius: 40px;
  color: #0b2b44;
  border: 1px solid #b9d0e7;
  font-size: 1.1rem;
}

.nota-actualiza {
  font-size: 0.8rem;
  color: #6a8aaa;
  text-align: right;
  margin-top: 0.4rem;
  border-top: 1px dashed #c1d6ec;
  padding-top: 0.4rem;
}

.nota-actualiza i {
  color: var(--color-primary);
  font-size: 0.7rem;
}

/* Botón "Ver Propuestas" - exactamente como en tu imagen */
.accordion-custom .accordion-item {
  border: 1px solid var(--color-fondo-card);
  border-radius: 30px !important;
  overflow: hidden;
  margin-bottom: 0.8rem;
  background-color: transparent;
}

.accordion-custom .accordion-button {
  background-color: rgba(28, 188, 156, 0.08);
  color: var(--color-primario);
  font-weight: 600;
  padding: 1rem 1.4rem;
  border-radius: 12px !important;
  font-size: 1rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: var(--color-secundario);
  color: white;
  box-shadow: none;
}
/* === PIE DE PÁGINA (IGUAL AL DISEÑO ORIGINAL) === */
.footer-votacion {
  margin-top: 2.8rem;
  background: #eaf0f8;
  border-radius: 2rem;
  padding: 1.8rem 1.5rem;
  text-align: center;
  border: 1px solid #c5d8ec;
}

.footer-votacion p:first-child {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0b2b44;
  margin-bottom: 0.4rem;
}

.footer-votacion p:first-child i {
  color: var(--color-primary);
  margin-right: 8px;
}

.footer-votacion .fecha-eleccion {
  font-size: 1.1rem;
  color: #1f4b6e;
  background: white;
  padding: 0.4rem 1.8rem;
  border-radius: 40px;
  display: inline-block;
  margin: 0.8rem 0;
  font-weight: 500;
  border: 1px solid #adc9ea;
}

.footer-votacion .mensaje-seguro {
  font-size: 1rem;
  color: #2c5778;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-votacion .mensaje-seguro i {
  color: #1f3e5c;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #b6cfec, transparent);
  margin: 0.8rem 0;
}

/* responsive */
@media (max-width: 700px) {
  .grid-ganadores {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .header-ganadores h1 {
    font-size: 2rem;
  }
  .nombre-ganador {
    font-size: 1.8rem;
  }
  .foto-candidato {
    width: 100px;
    height: 100px;
  }


}

/* welcome */
.welcome {
  background-color: #ebf2f5;
}

.container-welcome {
  padding: 30px;
}

.figure-rectagle {
  background-color: var(--color-primary);
  width: 35%;
  height: 15px;
  margin-bottom: 30px;
}

.container-welcome h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 15px;
}

.container-welcome p {
  font-size: 20px;
}

.container-welcome img {
  display: block;
  margin: auto;
  background-color: #51799b;
  max-width: 100%;
}

@media screen and (max-width: 995px) {
  .container-welcome h2 {
    font-size: 30px;
  }

  .container-welcome p {
    font-size: 18px;
  }

  .container-welcome img {
    display: block;
    margin: auto;
    background-color: #51799b;
    max-width: 80%;
  }
}

/* us */
.container-us {
  background-color: var(--color-primary);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgb(33, 33, 33);
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.131);
}

.container-us h2 {
  color: white;
  margin-bottom: 0;
  font-size: 65px;
  font-weight: 600;
}

.container-us h3 {
  color: white;
  font-size: 35px;
  font-weight: 600;
}

.container-us p {
  color: white;
  font-size: 20px;
  text-align: justify;
}

.container-us .logo-us {
  max-width: 100%;
  width: 70px;
  margin-right: 10px;
}

.container-us i {
  font-size: 15px;
}

.figure-circles {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.figure-circles .circles {
  background: white;
  width: 20px;
  height: 20px;
  border-radius: 50px;
  margin: 0 10px;
}

.container-us-info {
  background: white;
  margin: 20px 10px;
  border-radius: 20px;
  padding: 20px;
}

.container-us .container-us-info h3 {
  color: var(--color-primary);
  font-size: 35px;
  font-weight: 600;
}

.container-us .container-us-info p {
  color: black;
}

.container-us .container-us-info img {
  display: block;
  margin: auto;
  width: 50%;
}

@media screen and (max-width: 995px) {
  .container-us {
    padding: 30px;
  }

  .container-us h2 {
    font-size: 45px;
  }

  .container-us p {
    font-size: 18px;
  }

  .container-us-info {
    margin: 20px 0px;
  }

  .container-us .container-us-info img {
    width: 90px;
    display: block;
    margin: auto;
  }
}

/* values */
.values h2 {
  margin-bottom: 1.2em;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}

.values .card.card-values {
  /* background-color: var(--color-four); */
  height: 100%;
  border-radius: 20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.061);
}

.values .card.card-values.card-v1 {
  background-color: var(--color-primary);
}

.values .card.card-values.card-v2 {
  background-color: var(--color-secundary);
}

.values .card.card-values.card-v3 {
  background-color: var(--color-three);
}

.values .card.card-values.card-v4 {
  background-color: var(--color-secundary);
}

.values .card.card-values .body {
  padding: 30px;
}

.values .card.card-values .body h3 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.values .card.card-values .body img {
  width: 80px;
  display: block;
  margin: 25px auto;
}

/* .values .card.card-values .body p {
  color: rgb(244, 244, 244);
} */

@media screen and (max-width: 995px) {
  .values .card.card-values .body {
    padding: 20px;
  }

  .values .card.card-values .body h3 {
    font-size: 20px;
  }

  .values .card.card-values .body img {
    width: 80px;
  }

  /* .values .card.card-values .body p {
    font-size: 16px;
  } */
}

/* shield */
.shield {
  background-color: var(--color-secundary);
}

.shield .container-shield {
  padding: 80px;
}

.container-info-shield {
  position: relative;
  background-color: white;
  padding: 50px;
  height: 100%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.container-info-shield .img-shield {
  position: absolute;
  bottom: 0px;
  left: -90px;
}

.container-info-shield img {
  max-width: 100%;
  width: 300px;
}

.container-info-shield h2,
.container-info-shield p {
  width: 70%;
  float: right;
}

.container-info-shield h2 {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-primary);
}

.container-info-shield p {
  text-align: justify;
  font-size: 20px;
}

.container-logo-shield img {
  width: 80%;
  display: block;
  margin: auto;
}

.container-logo-shield h4 {
  color: white;
  padding-top: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 30px;
}

@media screen and (max-width: 995px) {
  .shield .container-shield {
    padding: 20px;
  }

  .container-info-shield {
    padding: 30px;
  }

  .order-phone-1 {
    order: 2;
  }

  .container-info-shield .img-shield {
    display: none;
  }

  .container-info-shield h2,
  .container-info-shield p {
    width: 100%;
    float: none;
  }

  .container-info-shield h2 {
    font-size: 30px;
  }

  .order-phone-2 {
    order: 1;
  }

  .container-info-shield p {
    font-size: 18px;
    margin-bottom: 0px;
  }

  .container-logo-shield img {
    width: 50%;
  }

  .container-logo-shield h4 {
    font-size: 25px;
  }
}

/* gallery pagina principal */

.gallery h2 {
  font-weight: 800;
  font-size: calc(2rem + 1vw);
}

.container-see-more {
  background-color: var(--color-three);
  width: 100%;
  height: 350px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 5px solid var(--color-secundary);
  transform: scale(1);
  transition: transform 0.3s;
}

.container-see-more:hover {
  transition: transform 0.3s;
  transform: scale(1.03);
}

.container-see-more i {
  font-size: 30px;
  color: #fff;
}

.container-see-a {
  text-decoration: none;
  font-size: 25px;
  color: #fff;
}

.container-see-a:hover {
  color: #fff;
}

@media screen and (max-width: 580px) {
  .gallery {
    margin-right: 15px;
  }
}

/* gallery subpagina */

.gallery-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
  position: relative;
}

.filter-buttons button {
  background-color: var(--color-secundary);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 20px 20px 20px 20px;
  transition: background-color 0.3s;
  margin-bottom: 10px;
}

.filter-buttons button.active {
  background-color: var(--color-primary);
}

.filter-buttons button:hover {
  background-color: var(--color-three);
}

.gallery-item {
  display: none;
  transition:
    transform 0.3s,
    opacity 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: transform 0.3s;
  border: 5px solid var(--color-secundary);
}

.gallery-item iframe {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: transform 0.3s;
  border: 5px solid var(--color-secundary);
}

.gallery-item img:hover {
  transition: transform 0.3s;
  transform: scale(1.03);
}

.gallery-item iframe:hover {
  transition: transform 0.3s;
  transform: scale(1.03);
}

.gallery-item.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.gallery-video {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .gallery-container {
    position: relative;
    left: 3%;
  }

  .filter-buttons {
    flex-direction: column;
    display: flex;
    align-items: center;
    max-width: 500px;
  }

  .filter-buttons button {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 995px) {
  .gallery-item img {
    width: 250px;
    height: 250px;
  }

  .gallery-item iframe {
    width: 250px;
    height: 250px;
  }

  .container-see-more {
    width: 200px;
    height: 250px;
  }
}

/* contact */
.contact h2 {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
}

.contact .container-contact {
  background-color: var(--color-primary);
  padding: 70px;
  border-radius: 20px;
}

.contact .container-contact i {
  background-color: var(--color-secundary);
  color: white;
  padding: 10px;
  width: 38px;
  border-radius: 8px;
  text-align: center;
  margin-right: 10px;
}

.contact .container-contact .container-info-contact {
  background-color: white;
  padding: 70px;
  border-radius: 20px;
}

.contact .container-contact .container-info-contact h3 {
  margin-bottom: 20px;
  font-weight: 500;
}

.contact .container-contact .img-contact {
  height: 100%;
  position: relative;
}

.contact .img-contact img {
  width: 380px;
  position: absolute;
  bottom: -100px;
  right: -50px;
}

@media screen and (max-width: 567px) {
  .contact .container-contact {
    padding: 20px;
  }

  .contact .container-contact .container-info-contact {
    padding: 40px;
  }

  .contact .container-contact i {
    width: 35px;
    margin-right: 3px;
  }
}

@media screen and (max-width: 995px) {
  .contact .container-contact .img-contact {
    display: none;
  }
}

.video h2 {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
}

.video video {
  border-radius: 10px;
  border: 10px solid var(--color-secundary);
}

/* footer */
footer {
  width: 100%;
  height: auto;
  padding: 30px;
  background: linear-gradient(
    90deg,
    rgb(122, 119, 224) 50%,
    rgb(9, 166, 153) 50%
  );
}

.container-footer {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
}

.logo-footer {
  width: 150px;
  display: block;
  margin: auto;
}

.container-footer h5 {
  text-align: center;
  font-size: 18px;
  padding-top: 12px;
  color: white;
}

.container-icon-footer {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.container-icon-footer i {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  padding: 10px;
  text-align: center;
  width: 45px;
  border-radius: 50px;
  border: 1.5px solid white;
}

.container-menu-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container-menu-footer a {
  text-decoration: none;
}

.container-menu-footer p {
  margin: 0;
  color: white;
  font-weight: 600;
}

.container-menu-footer h5 {
  padding-top: 20px;
  font-size: 18px;
}

footer h6 {
  color: white;
  font-weight: 600;
  text-align: center;
}

@media screen and (max-width: 995px) {
  footer {
    background: var(--color-three);
  }

  .logo-footer {
    width: 100px;
  }

  .container-footer h5 {
    font-size: 17px;
  }

  .container-icon-footer i {
    font-size: 16px;
  }
}

/* promotion */
.promotion .container-promotion {
  background-color: var(--color-secundary);
  padding: 3rem;
  border-radius: 2rem;
  color: white;
  text-align: justify;
}

.promotion .container-promotion .title-promotion {
  font-weight: 600;
  font-size: 28px;
}

.promotion .container-promotion a {
  width: max-content;
}

.promotion .container-promotion .btn.btn-promotion {
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  border-radius: 2rem;
}

.promotion .container-promotion picture img {
  border: 3px solid var(--color-primary);
  border-radius: 1rem;
}

/*PROMOTION BOOKS*/
.book-section {
  background-color: var(--color-three);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
}

.book-cover {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

.category-tabs .nav-link {
  font-weight: 600;
  color: #000;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.category-tabs .nav-link.active {
  color: #000;
  background-color: rgba(13, 110, 253, 0.1);
  border-bottom: 3px solid var(--color-secundary);
}

.book-title {
  color: #fff;
  border-left: 4px solid var(--color-three);
  padding-left: 15px;
  margin: 20px 0 15px;
  font-size: 2rem;
}

.book-subtitle {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 20px;
}

.book-text,
.content-highlight p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.book-section .btn.btn-books {
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.book-section .btn.btn-books:hover {
  background-color: var(--color-secundary);
  color: #fff;
}

@media (max-width: 995px) {
  .book-cover {
    margin-bottom: 20px;
    max-width: 90%;
  }

  .book-title {
    font-size: 1.3rem;
  }

  .book-subtitle {
    font-size: 1.1rem;
  }

  .book-text,
  .content-highlight p {
    font-size: 0.95rem;
  }

  .book-section .btn.btn-books {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }
}

.btn-group .fc-prev-button,
.btn-group .fc-next-button {
  background-color: var(--color-primary);
  height: 50px;
  width: 50px;
}

.shortcut {
  right: 40px;
  top: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.shortcut .btn:focus {
  outline: 0;
  box-shadow: none;
}

.shortcut .btn.btn-primary:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .shortcut {
    right: 15px;
  }
}

.shortcut.position-fixed {
  bottom: 20px;
}

/* Boton al costado */
.shortcut .btn.btn-primary {
  width: 50px;
  height: 50px;
  line-height: 36px;
  background: var(--color-secundary);
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  padding: 0;
  border: none;
}

.shortcut .btn.btn-primary:hover {
  color: #fff;
  background-color: var(--color-primary);
}

@media (max-width: 767px) {
  .shortcut .btn.btn-primary {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
  }
}

.shortcut .btn.btn-primary:hover {
  color: #fff;
}

#carouselCondolencias img {
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}

/* popup */

/* Tus estilos originales se mantienen */
.popup-unico-contenedor {
  margin: 0;
  padding: 0;
}

.popup-unico-boton {
  padding: 15px 30px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.popup-unico-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 9999;
}

.popup-unico-ventana {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px 20px 20px 20px;
  border-radius: 8px;
  display: none;
  z-index: 10000;
  max-width: 90%;
  max-height: 90%;
  overflow: visible;
}

.popup-unico-cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
  color: #666;
  background: white;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  z-index: 10002;
}

.popup-unico-cerrar:hover {
  color: #000;
}

.popup-unico-mostrar {
  display: block !important;
}

/* Nuevos estilos para el carrusel */
.carrusel-contenedor {
  position: relative;
  width: 100%;
  min-width: 300px;
  max-width: 500px;
  margin: 0 auto;
}

.carrusel-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.carrusel-slide {
  display: none;
  width: 100%;
  transition: all 0.3s ease;
}

.carrusel-slide.active {
  display: block;
}

.carrusel-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
}

/* Estilos para el popup del Día del Dulce */
.popup-dulce-contenido {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  margin: 0 auto;
}

.popup-dulce-header {
  background: linear-gradient(45deg, #0b3089, #0b3089);
  color: white;
  padding: 15px;
  text-align: center;
}

.popup-dulce-header h2 {
  margin: 0;
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

.popup-dulce-body {
  padding: 25px 20px;
  text-align: center;
}

.dulce-icono {
  font-size: 4rem;
  margin-bottom: 10px;
  animation: rebote 2s infinite;
}

@keyframes rebote {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.popup-dulce-body h3 {
  color: #b3b01d;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.dulce-fecha {
  color: #7f8c8d;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.dulce-descuento {
  background: #e67e22;
  color: white;
  padding: 10px;
  border-radius: 50px;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 15px 0;
  display: inline-block;
  animation: brillo 1.5s infinite;
}

@keyframes brillo {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 15px #e67e22;
  }
}

.dulce-descripcion {
  color: #34495e;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.dulce-destacados {
  margin: 20px 0;
}

.dulce-destacados span {
  font-size: 2rem;
  margin: 0 10px;
  display: inline-block;
  animation: girar 3s infinite;
}

@keyframes girar {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

.dulce-boton {
  background: linear-gradient(45deg, #e67e22, #d35400);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.dulce-boton:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
}

.popup-dulce-footer {
  background: #ecf0f1;
  padding: 10px;
  text-align: center;
  color: #7f8c8d;
  font-size: 0.8rem;
}
.carrusel-slide h1{
  font-family: "Montserrat", "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 3px solid #ffd700;
  display: inline-block;
  padding-bottom: 10px;
}
/* Flechas del carrusel */
.carrusel-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrusel-flecha:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carrusel-flecha-izquierda {
  left: -20px;
}

.carrusel-flecha-derecha {
  right: -20px;
}

/* Indicadores */
.carrusel-indicadores {
  text-align: center;
  margin-top: 15px;
}

.indicador {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.indicador.active {
  background: #e67e22;
}

/* Responsive */
@media (max-width: 768px) {
  .popup-unico-ventana {
    width: 95%;
    padding: 25px 15px 15px 15px;
  }

  .carrusel-flecha {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .carrusel-flecha-izquierda {
    left: -10px;
  }

  .carrusel-flecha-derecha {
    right: -10px;
  }

  .popup-dulce-header h2 {
    font-size: 1.4rem;
  }

  .dulce-descuento {
    font-size: 1.4rem;
  }
}

