:root {
  --bbk-blue: #0b1c2d;
  --bbk-blue-2: #102b46;
  --bbk-red: #c4161c;
  --bbk-red-dark: #9f1116;
  --bbk-white: #ffffff;
  --bbk-light: #f4f6f8;
  --bbk-gray: #7c8794;
  --bbk-dark: #07111d;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, .12);
  --shadow-strong: 0 30px 80px rgba(0, 0, 0, .25);
  --transition: all .28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: var(--bbk-blue);
  color: var(--bbk-white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* TOP BAR */
.top-bar {
  background: var(--bbk-red);
  color: white;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 7px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1045;
}

/* NAVBAR */
.navbar {
  top: 31px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  padding: 10px 0;
  z-index: 1040;
}

.navbar-brand img {
  height: 88px;
  object-fit: contain;
}

.nav-link {
  color: var(--bbk-blue);
  font-weight: 800;
  font-size: .84rem;
  padding: 10px 13px !important;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-link:hover {
  color: white;
  background-color: var(--bbk-blue);
}

.language-switch {
  background: var(--bbk-light);
  padding: 7px 9px;
  border-radius: 999px;
  display: flex;
  gap: 8px;
  margin-left: 12px;
}

.lang-flag {
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition);
}

.lang-flag:hover {
  transform: scale(1.15);
}

/* BOTÓN COTIZAR NAV */
.nav-quote-btn,
.mobile-quote-btn {
  background: linear-gradient(135deg, var(--bbk-red), var(--bbk-red-dark));
  color: white;
  border-radius: 999px;
  font-weight: 900;
  padding: 10px 20px;
  box-shadow: 0 12px 28px rgba(196,22,28,.25);
  transition: var(--transition);
}

.nav-quote-btn:hover,
.mobile-quote-btn:hover {
  color: white;
  transform: translateY(-2px);
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-quote-btn {
  font-size: .74rem;
  padding: 9px 15px;
}

/* HAMBURGER */
.custom-toggler {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--bbk-blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
}

.custom-toggler:focus {
  box-shadow: none;
}

.custom-toggler span {
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: var(--transition);
}

.custom-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* BACKDROP MOBILE */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 29, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1035;
}

.menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* HERO */
.hero {
  min-height: 92vh;
  padding-top: 130px;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(120deg, rgba(7, 17, 29, .92), rgba(11, 28, 45, .72), rgba(196, 22, 28, .15)),
    url("../bigbagej.jpg") center/cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -1;
}

.hero-content {
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-badge i {
  color: var(--bbk-red);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .92;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.7;
  max-width: 760px;
  color: rgba(255,255,255,.88);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* BUTTONS */
.btn {
  border-radius: 999px;
  font-weight: 900;
  padding: 13px 28px;
  transition: var(--transition);
  border: none;
}

.btn-bbk-red {
  background: linear-gradient(135deg, var(--bbk-red), var(--bbk-red-dark));
  color: white;
  box-shadow: 0 16px 35px rgba(196, 22, 28, .28);
}

.btn-bbk-red:hover {
  color: white;
  transform: translateY(-3px);
}

.btn-bbk-outline {
  background: rgba(255,255,255,.08);
  color: white;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}

.btn-bbk-outline:hover {
  background: white;
  color: var(--bbk-blue);
}

/* SECTIONS */
.section {
  padding: 95px 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(196, 22, 28, .12), transparent 35%),
    linear-gradient(180deg, var(--bbk-blue), var(--bbk-blue-2));
}

.section-light {
  background: linear-gradient(180deg, #ffffff, #f2f5f8);
  color: var(--bbk-blue);
}

.section-contact {
  background: linear-gradient(180deg, #f2f5f8, #ffffff);
  color: var(--bbk-blue);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.eyebrow {
  display: inline-block;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  font-weight: 900;
  margin-bottom: 12px;
}

.eyebrow.red {
  color: var(--bbk-red);
}

.section-title {
  color: white;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin: 0;
}

.section-title.dark {
  color: var(--bbk-blue);
}

/* ABOUT */
.about-box {
  max-width: 950px;
  margin: 0 auto;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-strong);
}

.about-box p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.85;
}

/* BENEFITS */
.benefit-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 28, 45, .08);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
}

.benefit-card i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bbk-blue);
  color: white;
  border-radius: 18px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--bbk-blue);
}

.benefit-card p {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--bbk-gray);
  margin: 0;
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.industries-grid div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.industries-grid div:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-6px);
}

.industries-grid i {
  color: var(--bbk-red);
  font-size: 2rem;
}

.industries-grid span {
  font-size: .88rem;
  font-weight: 800;
}

/* PRODUCT CARDS */
.product-card {
  height: 100%;
  background: white;
  color: var(--bbk-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 28, 45, .08);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / .82;
  object-fit: cover;
  transition: transform .55s ease;
}

.product-card:hover img {
  transform: scale(1.07);
}

.product-body {
  padding: 18px 14px;
  text-align: center;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-body h5 {
  margin: 0;
  font-size: .88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 1.35;
}

/* LOCATION */
.location-text {
  max-width: 760px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,.82);
  text-align: center;
  line-height: 1.7;
  font-weight: 500;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,.14);
}

/* CONTACT */
.contact-panel {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: 0 30px 80px rgba(11, 28, 45, .16);
}

.contact-panel p {
  color: var(--bbk-gray);
}

.form-control {
  border-radius: 16px;
  border: 1px solid rgba(11, 28, 45, .14);
  padding: 14px 16px;
  font-weight: 600;
}

.form-control:focus {
  border-color: var(--bbk-red);
  box-shadow: 0 0 0 .22rem rgba(196, 22, 28, .14);
}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, var(--bbk-blue-2), var(--bbk-dark));
  color: white;
  text-align: center;
  padding: 55px 20px 30px;
}

.footer-logo {
  height: 64px;
  margin: 0 auto 22px;
  background: white;
  border-radius: 12px;
  padding: 6px 12px;
}

.footer p {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}

.footer-social {
  margin: 22px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: var(--bbk-red);
}

.copy {
  font-size: .8rem !important;
  opacity: .7;
}

/* WHATSAPP */
.wsp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 1100;
  box-shadow: 0 16px 35px rgba(0,0,0,.28);
}

.wsp-float:hover {
  color: white;
  transform: scale(1.08);
}

/* MOBILE */
@media (max-width: 991px) {
  .navbar .container {
    position: relative;
  }

  .navbar-collapse {
    position: fixed;
    top: 96px;
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 30px 90px rgba(0,0,0,.25);
    z-index: 1042;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .navbar-nav {
    gap: 4px;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 16px !important;
    border-radius: 14px;
    font-size: .95rem;
  }

  .language-switch {
    width: fit-content;
    margin: 14px auto 0;
  }

  .hero {
    min-height: 86vh;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .top-bar {
    font-size: .68rem;
  }

  .navbar {
    top: 28px;
    padding: 8px 0;
  }

  .navbar-brand img {
    height: 48px;
  }

  .navbar-collapse {
    top: 88px;
  }

  .hero {
    min-height: 84vh;
    padding-top: 120px;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .about-box,
  .contact-panel {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .product-body h5 {
    font-size: .68rem;
  }

  .benefit-card {
    padding: 24px 16px;
  }

  .benefit-card h3 {
    font-size: .82rem;
  }

  .benefit-card p {
    font-size: .72rem;
  }

  .wsp-float {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}