/* ===== VARIABLES Y TIPOGRAFÍAS ===== */
:root {
  --azul: #1E3A5F;
  --gris: #F2F2F2;
  --font-titulo: "Rubik Dirt", system-ui, sans-serif;
  --font-ui: "Faculty Glyphic", system-ui, sans-serif;

  /* Sobreescribir Bootstrap primary */
  --bs-primary: var(--azul);
  --bs-primary-rgb: 30, 58, 95;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  background-color: #F4E1D2;
  font-family: var(--font-ui);
  overflow-x: hidden;
}


/* ===== TOPBAR CONTACTO ===== */
.topbar {
  background: var(--gris);
}
.topbar-link {
  color: #111;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.topbar-link:hover {
  color: var(--azul);
}


/* ===== NAVBAR PRINCIPAL ===== */
.navbar-brand {
  padding: .4rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.brand-logo {
  width: clamp(36px, 8vw, 64px);
  height: auto;
  display: block;
}
.brand-text {
  font-family: var(--font-titulo);
  font-size: clamp(20px, 6vw, 40px);
  line-height: 1;
  color: #fff;
  letter-spacing: .5px;
}

.nav-link {
  padding: .5rem .75rem !important;
  font-family: var(--font-titulo);
  font-size: clamp(14px, 1.2vw + 10px, 22px);
}
.nav-link:hover,
.nav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-radius: .5rem;
}
.navbar a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: .5rem;
}


/* ===== CARDS Y MAIN ===== */
main {
  margin: 40px;
}

.col {
  padding: 20px;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card.mb-3 .card-img-top {
  height: 400px;
}

.card-body {
  background-color: var(--azul);
  font-family: var(--font-ui);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-title {
  color: #fff;
}
.card-text {
  color: #fff;
  flex-grow: 1;
}
.duracion {
  color: rgb(176, 171, 171);
  margin-top: auto;
  padding-top: 10px;
}
.card.mb-3 {
  margin-top: 20px;
}


/* ===== BOTÓN WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float:hover {
  background-color: #128C7E;
  text-decoration: none;
}


/* ===== FOOTER ===== */
footer {
  background-color: var(--gris);
  padding: 20px 0;
  margin-top: 30px;
}

.contacto-footer {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 15px;
}
.contacto-footer .icono {
  width: 25px;
  height: 25px;
}

.contacto-pie {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
}
.contacto-pie a {
  text-decoration: none;
  color: rgb(16, 14, 14);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.contacto-pie a:hover {
color: #6a87fb;
}
.contacto-pie .icono {
  width: 20px;
  height: 20px;
}

.ver-mas-link {
  text-align: center;    
}

.ver-mas-link:hover {
color: #0a58ca;         
text-decoration: underline;
}


/* ===== RESPONSIVE FINO ===== */
@media (max-width: 576px) {
  .topbar .container {
      gap: .5rem;
  }   
}
