/* ======================================================
   BASE PREMIUM
====================================================== */
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  padding-top: 96px;
  color: #2b2f33;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h4, h5 {
  color: #0d3b66;
  font-weight: 500;
  letter-spacing: -0.3px;
}

h1 { font-size: 2.7rem; }
h2 { font-size: 2rem; }

p {
  line-height: 1.75;
  color: #4b5563;
  font-size: 1rem;
}

/* ======================================================
   NAVBAR PREMIUM
====================================================== */
.navbar-premium {
  min-height: 96px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.navbar-premium .navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-premium .navbar-brand img {
  height: 68px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-premium .navbar-brand:hover img {
  transform: scale(1.03);
}

/* Links menú */
.nav-custom {
  color: #0d3b66;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 22px;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #1d6fa5;
  transition: width 0.3s ease;
}

.nav-custom:hover::after,
.nav-custom.active::after {
  width: 100%;
}

.nav-custom:hover {
  color: #1d6fa5;
}

/* CTA Contacto */
.btn-header {
  margin-left: 20px;
  padding: 10px 28px;
  border-radius: 40px;
  font-weight: 600;
  background-color: #0d3b66;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-header:hover {
  background-color: #0a2a43;
  transform: translateY(-1px);
}

/* ======================================================
   SWITCH DE IDIOMA
====================================================== */
.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switch .lang {
  color: #6b7280;
  text-decoration: none;
  padding: 4px 6px;
  transition: color .25s ease;
}

.lang-switch .lang:hover {
  color: #1d6fa5;
}

.lang-switch .lang.active {
  color: #0d3b66;
}

.lang-switch .divider {
  color: #9ca3af;
}

/* ======================================================
   HERO PREMIUM
====================================================== */
.hero-premium {
  position: relative;
}

.hero-img {
  height: 90vh;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(13, 59, 102, 0.85),
    rgba(13, 59, 102, 0.45),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

.hero-content {
  z-index: 2;
  max-width: 720px;
  margin: auto;
  padding: 48px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  animation: heroFadeUp 1.1s ease;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e0f2ff;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #e5e7eb;
}

/* Botón hero */
.btn-hero-premium {
  margin-top: 26px;
  padding: 14px 40px;
  border-radius: 50px;
  background: #ffffff;
  color: #0d3b66;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  transition: all 0.35s ease;
}

.btn-hero-premium:hover {
  background: #0d3b66;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ======================================================
   SECCIÓN DISTRIBUIDORES / NOSOTROS
====================================================== */
.section-title {
  font-size: 2.1rem;
  font-weight: 600;
  color: #0d3b66;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto 16px;
}

.section-divider {
  display: inline-block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #0d3b66, #1d6fa5);
  border-radius: 4px;
}

/* Cards corporativas */
.bg-light .bg-white {
  border-radius: 24px;
  border: 1px solid rgba(13,59,102,0.08);
  transition: all 0.35s ease;
}

.bg-light .bg-white:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(13,59,102,0.18);
}

.bg-light h4 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.bg-light .btn-outline-primary {
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
}

/* ======================================================
   SECCIONES GENERALES
====================================================== */
section {
  padding: 90px 0;
}

.bg-light {
  background-color: #f7f9fb !important;
}

/* ======================================================
   FOOTER
====================================================== */
footer {
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* ======================================================
   ANIMACIONES
====================================================== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 768px) {

  body {
    padding-top: 82px;
  }

  .navbar-premium {
    min-height: 82px;
  }

  .navbar-premium .navbar-brand img {
    height: 56px;
  }

  .btn-header {
    width: 100%;
    text-align: center;
    margin-top: 12px;
  }

  .lang-switch {
    justify-content: center;
    margin-top: 10px;
  }

  .hero-img {
    height: 65vh;
  }

  .hero-content {
    padding: 26px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }
}


