:root {
  --azul: #215167;
  --gris: #F5F5F5;
  --crema: #F4E1D2;
  --font-titulo: "Rubik Dirt", system-ui, sans-serif;
  --font-ui: "Faculty Glyphic", system-ui, sans-serif;
  --bs-primary: var(--azul);
}

/* --- ESTRUCTURA STICKY FOOTER --- */
html, body {
  height: 100%; /* Necesario para que el cálculo de altura funcione */
}

body {
  margin: 0;
  background-color: var(--crema);
  font-family: var(--font-ui);
  display: flex;
  flex-direction: column; /* Apila los elementos verticalmente */
  overflow-x: hidden;
}

/* El main crecerá para ocupar todo el espacio disponible empujando al footer */
main {
  flex: 1 0 auto;
}

/* --- NAVBAR Y HEADER --- */
.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%;
}
.brand-logo { width: clamp(36px, 8vw, 64px); height: auto; }
.brand-text { font-family: var(--font-titulo); font-size: clamp(20px, 6vw, 40px); color: #fff; }
.nav-link { font-family: var(--font-titulo); font-size: clamp(14px, 1.2vw + 10px, 22px); }

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(rgba(30, 58, 95, 0.6), rgba(30, 58, 95, 0.6)), url('/static/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero-section h1 { 
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 10vw, 3.5rem); 
}

.bg-primary {
    background-color: var(--azul) !important;
}

/* --- SECCIONES Y CARDS --- */
.section-padding { padding: 60px 0; }
.img-studio {
  width: 100%;
  object-fit: cover;
  border-radius: 25px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.img-studio:hover { transform: scale(1.02); }

/* --- FOOTER Y WHATSAPP --- */
footer { 
  background-color: var(--gris); 
  padding: 30px 0; 
  flex-shrink: 0; /* Evita que el footer se achique */
}
.contacto-pie { display: flex; justify-content: center; gap: 40px; }
.contacto-pie .icono { width: 25px; height: 25px; }

.whatsapp-float {
  position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px;
  background-color: #25D366; color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; z-index: 100;
  text-decoration: none;
}
