/* =====================================================
   LÚMINA - Hoja de estilos personalizada
   Se carga DESPUÉS de Bootstrap para poder sobrescribirlo
   ===================================================== */

/* --- Colores globales del tema Kubio original (variables) --- */
:root {
  --kubio-color-1: 66, 99, 190;    /* azul principal */
  --kubio-color-2: 234, 147, 116;  /* naranja/coral acento */
  --kubio-color-3: 128, 136, 144;  /* gris */
  --kubio-color-4: 43, 66, 123;    /* azul oscuro */
  --kubio-color-5: 255, 255, 255;  /* blanco */
  --kubio-color-6: 18, 19, 21;     /* casi negro */
}

.navbar .nav-link {
  font-weight: 500;
  color: #2b2b2b;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #dd574d;
}

.navbar .nav-link.active {
  color: #6f42c1;
}

.search-bar {
  min-width: 260px;
  max-width: 320px;
}

.search-bar .form-control:focus {
  box-shadow: none;
  border-color: #6f42c1;
}

.search-bar .input-group-text {
  border-color: #dee2e6;
  color: #6c757d;
}

/* --- Header / Navegación fija --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  transition: background-color 0.3s ease;
  background-color: transparent;
}

.site-nav.scrolled {
  background-color: rgba(74, 30, 25, 0.95);
}

.site-nav .nav-link {
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}

.site-nav .nav-link.active {
  color: #df5736 !important;
  font-weight: 700;
  
  border-bottom: 2px solid #df5736;
}



.site-header {
  position: relative;
}

/* --- Hero --- */
.hero-section {
  min-height: 100vh;
  background-image: url('https://lumina.covao.dev/wp-content/uploads/2026/05/pixabay-10200252.png');
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--kubio-color-6), 0.55);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 5.5rem;
}

@media (max-width: 767px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }
}

/* --- Divisores estilo Kubio --- */
.kubio-divider {
  border-top: 3px solid rgba(var(--kubio-color-2), 1);
  width: 25%;
  margin-bottom: 1.5rem;
}

.kubio-divider.centered {
  margin-left: auto;
  margin-right: auto;
}

.kubio-divider.wide {
  width: 200px;
}

/* --- Secciones con fondo tintado --- */
.section-tinted {
  background-color: rgba(var(--kubio-color-4), 0.05);
}

.section-tinted-blue {
  background-color: rgba(var(--kubio-color-1), 0.1);
}

/* --- Tarjetas "Lo que lograrás" --- */
.result-card {
  min-height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  border-radius: 0.5rem;
  overflow: hidden;
}

.result-card .result-label {
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  padding: 1rem;
  text-align: center;
}

/* --- Testimonios --- */
.testimonial-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

/* --- CTA --- */
.cta-section {
  background-color: rgba(var(--kubio-color-2), 1);
  color: #fff;
}

/* --- Contacto --- */
.contact-section {
  background-image: url('https://lumina.covao.dev/wp-content/uploads/2026/05/istockphoto-1158825778-612x612-1.jpg');
  background-size: cover;
  background-position: center;
}

.contact-card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 3rem;
}



/* --- Tipografía general heredada del tema --- */
body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  color: rgba(var(--kubio-color-6), 1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
}

.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 16px;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.contact-section {
  background: linear-gradient(135deg, #f6f9ff, #eef4ff);
}

.contact-card {
  border-radius: 20px;
}

.contact-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  font-size: 1.2rem;
}

.contact-card .form-control:focus {
  box-shadow: none;
  border-color: #0d6efd;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background-color: #c3623f;
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: rgba(var(--kubio-color-2), 1);
}

#hero {
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(195, 98, 63, 0.30);
  backdrop-filter: blur(3px);
}

#hero > div {
  position: relative;
  z-index: 1;
}

#serviciosCarousel .carousel-indicators {
  bottom: -45px;
}

#serviciosCarousel {
  padding-bottom: 45px;
}