/* ========= IDENTIDAD ========= */
:root {
  --primary: #1f5faa;
  --dark: #0b0f16;
}

/* ========= HEADER ========= */
.header-techopanel {
  background: linear-gradient(180deg, #0d1624, #0b0f16);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-techopanel .nav-link {
  color: #fff;
  font-weight: 500;
  position: relative;
}

.header-techopanel .nav-link:hover {
  color: var(--primary);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  aspect-ratio: 4 / 3; /* CLAVE */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-info {
  background: linear-gradient(135deg, #1f5faa, #174a86);
  color: #fff;
}

.gallery-info h3 {
  font-size: 3rem;
  font-weight: 700;
}

.gallery-info p {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.header-techopanel .nav-link.active {
  color: var(--primary);
}

.header-techopanel .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

/* Logo pequeño header */
.logo-header {
  height: 38px;
  width: auto;
}

/* ========= HERO ========= */
.hero-techopanel {
  background-color: #f4f6f8;
}

/* Logo grande hero */
.logo-hero {
  height: 130px;
  width: auto;
}

/* Botón */
.btn-primary {
  background-color: var(--primary);
  border: none;
}

.btn-primary:hover {
  background-color: #174a86;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-hero {
    height: 110px;
  }
}
