/*
Theme Name: Bosnia Online Delivery
Theme URI: https://bosniaonline.delivery
Author: BosniaOnline.Digital
Author URI: https://bosniaonline.digital
Description: Vlastita WordPress tema za Bosniaonline.delivery MVP Banja Luka s integrisanim BosniaOnline.Delivery brandom.
Version: 1.0.10
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: bosnia-delivery-theme
*/

:root {
  --bd-theme-bg: #F8FAFC;
  --bd-theme-card: #FFFFFF;
  --bd-theme-dark: #111827;
  --bd-theme-muted: #475569;
  --bd-theme-border: #DCE8F6;
  --bd-theme-accent: #0057B8;
  --bd-theme-accent-dark: #002F6C;
  --bd-theme-lime: #FECB00;
  --bd-theme-gold-dark: #DCA400;
  --bd-theme-soft: #EAF3FF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0,87,184,.10), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(254,203,0,.16), transparent 24%),
    var(--bd-theme-bg);
  color: var(--bd-theme-dark);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.admin-bar .bd-site-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.bd-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,250,252,.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(220,232,246,.90);
}
.bd-site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.bd-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  font-size: 19px;
  letter-spacing: -.045em;
  color: var(--bd-theme-dark);
  white-space: nowrap;
}
.bd-logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #07130d;
  background: linear-gradient(135deg, var(--bd-theme-lime), var(--bd-theme-accent));
  box-shadow: 0 10px 28px rgba(24,180,107,.26);
}
.bd-logo span:last-child { color: var(--bd-theme-accent-dark); }
.bd-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(220,232,246,.96);
}
.bd-nav a {
  text-decoration: none;
  color: #344054;
  font-weight: 850;
  font-size: 14px;
  padding: 10px 13px;
  border-radius: 999px;
}
.bd-nav a:hover { background: var(--bd-theme-soft); color: var(--bd-theme-accent-dark); }
.bd-nav .bd-nav-cta { background: var(--bd-theme-dark); color: #fff; }
.bd-nav .bd-nav-cta:hover { background: var(--bd-theme-accent-dark); color: #fff; }

.bd-site-footer {
  margin-top: 70px;
  color: rgba(255,255,255,.76);
  background:
    radial-gradient(circle at 10% 0%, rgba(254,203,0,.22), transparent 24%),
    linear-gradient(135deg, #002F6C, #07152F);
}
.bd-site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
.bd-footer-brand { max-width: 580px; }
.bd-footer-brand strong { display: block; color: #fff; font-size: 26px; letter-spacing: -.045em; margin-bottom: 8px; }
.bd-footer-brand p { margin: 0; line-height: 1.6; }
.bd-footer-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.bd-footer-links a { color: var(--bd-theme-lime); font-weight: 850; text-decoration: none; }

.bd-page-wrap {
  max-width: 1050px;
  margin: 42px auto 70px;
  padding: 0 20px;
}
.bd-page-wrap article {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--bd-theme-border);
  border-radius: 34px;
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 20px 60px rgba(17,20,18,.08);
}
.bd-page-wrap h1, .bd-page-wrap h2, .bd-page-wrap h3 { letter-spacing: -.04em; }

@media (max-width: 900px) {
  body.admin-bar .bd-site-header { top: 46px; }
  .bd-site-header__inner { align-items: flex-start; flex-direction: column; }
  .bd-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; border-radius: 22px; }
  .bd-site-footer__inner { grid-template-columns: 1fr; }
  .bd-footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .bd-logo { font-size: 16px; }
  .bd-nav a { font-size: 13px; padding: 9px 10px; }
}


/* v0.7 theme polish */
.bd-site-header { box-shadow: 0 10px 34px rgba(17,20,18,.06); }
.bd-logo-mark { position: relative; overflow: hidden; }
.bd-logo-mark::after { content: ""; position: absolute; inset: -40% auto auto -40%; width: 80%; height: 80%; background: rgba(255,255,255,.34); transform: rotate(25deg); }
.bd-nav { box-shadow: 0 10px 30px rgba(17,20,18,.05); }
.bd-nav a { transition: background .16s ease, color .16s ease, transform .16s ease; }
.bd-nav a:hover { transform: translateY(-1px); }
@media (max-width: 900px) {
  .bd-nav { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .bd-nav::-webkit-scrollbar { display: none; }
  .bd-nav a { white-space: nowrap; }
}


/* BosniaOnline.Delivery brandpack integration */
.bd-logo-img { display:block; width:min(270px, 62vw); height:auto; max-height:58px; object-fit:contain; }
.bd-site-header .bd-logo { min-height: 50px; }
.bd-logo-mark { display: none; }
.bd-nav .bd-nav-cta { background: var(--bd-theme-accent); color: #fff; box-shadow: 0 12px 30px rgba(0,87,184,.18); }
.bd-nav .bd-nav-cta:hover { background: var(--bd-theme-accent-dark); }
.bd-footer-logo { display:block; width:min(310px, 72vw); height:auto; margin-bottom:14px; }
.bd-footer-links a { color: var(--bd-theme-lime); }
@media (max-width: 520px) { .bd-logo-img { width: 220px; } }


/* v1.0.5 professional footer */
.bd-site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 88px;
  color: rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 8% 0%, rgba(254,203,0,.22), transparent 26%),
    radial-gradient(circle at 92% 14%, rgba(0,87,184,.38), transparent 26%),
    linear-gradient(135deg, #06122B 0%, #002F6C 58%, #04142C 100%);
  border-top: 1px solid rgba(255,255,255,.12);
}
.bd-footer-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent),
    radial-gradient(circle at 50% 110%, rgba(254,203,0,.18), transparent 42%);
  opacity: .86;
}
.bd-site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 20px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}
.bd-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 18px;
  align-items: stretch;
}
.bd-footer-card {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.bd-footer-card--brand { padding: 28px; max-width: none; }
.bd-footer-logo { display:block; width:min(330px, 76vw); height:auto; margin-bottom:18px; }
.bd-footer-brand p { margin: 0; max-width: 720px; color: rgba(255,255,255,.78); line-height: 1.72; font-size: 16px; }
.bd-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.bd-footer-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.bd-footer-cta {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(254,203,0,.18), rgba(0,87,184,.18)),
    rgba(255,255,255,.08);
}
.bd-footer-eyebrow {
  color: var(--bd-theme-lime);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 950;
}
.bd-footer-cta strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.bd-footer-cta p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.62; }
.bd-footer-button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--bd-theme-lime);
  color: #07152F !important;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(254,203,0,.20);
}
.bd-footer-button:hover { transform: translateY(-1px); }
.bd-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bd-footer-column {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}
.bd-footer-column h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  letter-spacing: -.02em;
}
.bd-footer-column a,
.bd-footer-column .bd-footer-muted {
  display: block;
  color: rgba(255,255,255,.72);
  font-weight: 760;
  text-decoration: none;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.bd-footer-column a:first-of-type { border-top: 0; }
.bd-footer-column a:hover { color: var(--bd-theme-lime); }
.bd-footer-muted { color: rgba(255,255,255,.48) !important; font-size: 13px; }
.bd-footer-contact p {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.bd-footer-contact p:first-of-type { border-top: 0; }
.bd-footer-contact span {
  display: block;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 3px;
}
.bd-footer-contact strong {
  display: block;
  color: #fff;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.bd-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}
.bd-footer-bottom p { margin: 0; }
.bd-footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.bd-footer-bottom-links span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 980px) {
  .bd-footer-top { grid-template-columns: 1fr; }
  .bd-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-footer-bottom { align-items: flex-start; flex-direction: column; }
  .bd-footer-bottom-links { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .bd-site-footer { margin-top: 54px; }
  .bd-site-footer__inner { padding: 28px 14px 18px; }
  .bd-footer-card--brand, .bd-footer-cta, .bd-footer-column { border-radius: 24px; padding: 20px; }
  .bd-footer-grid { grid-template-columns: 1fr; }
  .bd-footer-logo { width: min(280px, 78vw); }
  .bd-footer-badges span { font-size: 12px; }
}


/* v1.0.6 professional header + mobile navigation */
.bd-header-strip {
  color: rgba(255,255,255,.82);
  background: linear-gradient(90deg, #06122B, #002F6C 58%, #06122B);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bd-header-strip__inner {
  max-width: 1240px;
  min-height: 34px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: -.01em;
}
.bd-header-strip strong { color: var(--bd-theme-lime); }
.bd-header-strip__right { color: rgba(255,255,255,.58); }
.bd-site-header__inner { position: relative; }
.bd-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid rgba(0,87,184,.16);
  border-radius: 999px;
  color: var(--bd-theme-accent-dark);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(17,24,39,.08);
}
.bd-menu-toggle__bars { display: grid; gap: 4px; }
.bd-menu-toggle__bars i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--bd-theme-accent-dark);
  transition: transform .18s ease, opacity .18s ease;
}
.bd-menu-open .bd-menu-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bd-menu-open .bd-menu-toggle__bars i:nth-child(2) { opacity: 0; }
.bd-menu-open .bd-menu-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.bd-mobile-bottom-nav { display: none; }
@media (min-width: 901px) {
  .bd-site-header__inner { min-height: 78px; }
  .bd-nav a[href*="bd_partner_panel"] { background: rgba(254,203,0,.16); color: #7A5A00; }
  .bd-nav a[href*="bd_kontakti"] { border: 1px solid rgba(0,87,184,.10); }
}
@media (max-width: 900px) {
  body { padding-bottom: 76px; }
  .bd-header-strip__inner { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 16px; }
  .bd-header-strip__right { display: none; }
  .bd-site-header__inner { flex-direction: row; align-items: center; padding: 12px 14px; }
  .bd-logo-img { width: min(245px, 62vw); max-height: 48px; }
  .bd-menu-toggle { display: inline-flex; margin-left: auto; }
  .bd-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    width: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(220,232,246,1);
    box-shadow: 0 28px 70px rgba(15,23,42,.18);
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    pointer-events: none;
    overflow: visible;
    transition: opacity .18s ease, transform .18s ease;
  }
  .bd-menu-open .bd-nav { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .bd-nav a { display: flex; align-items: center; justify-content: center; min-height: 46px; text-align: center; border-radius: 18px; background: #F8FAFC; }
  .bd-nav .bd-nav-cta { grid-column: span 2; background: linear-gradient(135deg, var(--bd-theme-accent), var(--bd-theme-accent-dark)); }
  .bd-mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: 26px;
    background: rgba(6,18,43,.94);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 70px rgba(0,0,0,.34);
    backdrop-filter: blur(18px);
  }
  .bd-mobile-bottom-nav a {
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255,255,255,.84);
    text-decoration: none;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
  }
  .bd-mobile-bottom-nav a:first-child { background: var(--bd-theme-lime); color: #06122B; }
  .bd-mobile-bottom-nav span { font-size: 17px; line-height: 1; }
  .bd-mobile-bottom-nav strong { font-size: 11px; }
}
@media (max-width: 430px) {
  .bd-menu-toggle__text { display: none; }
  .bd-menu-toggle { width: 44px; justify-content: center; padding: 10px; }
  .bd-logo-img { width: min(220px, 66vw); }
}


/* v1.0.7 — Level Up Pro homepage */
.bd-home-pro { overflow: hidden; }
.bd-hero-pro {
  position: relative;
  min-height: 600px;
  padding: 74px 20px 44px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(254,203,0,.30), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(0,87,184,.55), transparent 30%),
    linear-gradient(135deg, #06122B 0%, #002F6C 55%, #0057B8 100%);
}
.bd-hero-pro__bg {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.bd-hero-pro__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 42px;
  align-items: center;
}
.bd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.bd-eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--bd-theme-lime);
  box-shadow: 0 0 0 7px rgba(254,203,0,.14);
}
.bd-hero-pro h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
  letter-spacing: -.065em;
}
.bd-hero-pro p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 19px;
  line-height: 1.62;
}
.bd-hero-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.bd-btn--primary { background: var(--bd-theme-lime); color: #06122B; }
.bd-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.bd-trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bd-trust-row span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 850;
}
.bd-hero-card {
  position: relative;
  padding: 28px;
  border-radius: 34px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(22px);
}
.bd-hero-card img { width: 250px; max-width: 100%; margin-bottom: 24px; }
.bd-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #06122B;
  background: var(--bd-theme-lime);
  font-weight: 950;
  font-size: 12px;
}
.bd-live-pill i { width: 9px; height: 9px; border-radius: 99px; background: #16a34a; box-shadow: 0 0 0 6px rgba(22,163,74,.18); }
.bd-hero-card h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.04em; }
.bd-hero-card p { font-size: 15px; line-height: 1.55; }
.bd-hero-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.bd-hero-metrics strong {
  display: block;
  font-size: 28px;
  color: var(--bd-theme-lime);
  letter-spacing: -.04em;
}
.bd-hero-metrics span { display: block; color: rgba(255,255,255,.70); font-size: 12px; font-weight: 800; }
.bd-pro-grid {
  max-width: 1240px;
  margin: -34px auto 34px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.bd-pro-tile {
  min-height: 150px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(220,232,246,.95);
  box-shadow: 0 22px 60px rgba(15,23,42,.10);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bd-pro-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(15,23,42,.14); }
.bd-pro-tile span { font-size: 27px; }
.bd-pro-tile strong { display: block; margin-top: 12px; color: var(--bd-theme-accent-dark); font-size: 18px; letter-spacing: -.035em; }
.bd-pro-tile em { display: block; margin-top: 7px; color: var(--bd-theme-muted); font-style: normal; font-size: 13px; line-height: 1.45; }
.bd-app-stage {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 20px;
}
.bd-section-head {
  margin: 20px 0 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.bd-section-head .bd-eyebrow { color: var(--bd-theme-accent-dark); }
.bd-section-head h2 { margin: 9px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.055em; }
.bd-section-head > a {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bd-theme-border);
  text-decoration: none;
  font-weight: 950;
  color: var(--bd-theme-accent-dark);
}
@media (max-width: 980px) {
  .bd-hero-pro { padding-top: 42px; min-height: auto; }
  .bd-hero-pro__inner { grid-template-columns: 1fr; }
  .bd-hero-card { max-width: 560px; }
  .bd-pro-grid { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 16px; }
}
@media (max-width: 600px) {
  .bd-hero-pro { padding: 34px 14px 28px; }
  .bd-hero-pro h1 { font-size: 43px; }
  .bd-hero-pro p { font-size: 16px; }
  .bd-btn { width: 100%; }
  .bd-hero-card { padding: 22px; border-radius: 26px; }
  .bd-hero-metrics { grid-template-columns: 1fr; }
  .bd-pro-grid { grid-template-columns: 1fr; padding: 0 14px; }
  .bd-app-stage { padding: 0 14px; }
  .bd-section-head { align-items: flex-start; flex-direction: column; }
  .bd-section-head > a { width: 100%; text-align: center; }
}


/* v1.0.8 — Hero layout hardening: no horizontal overflow, cleaner mobile/desktop */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.bd-home-pro,
.bd-hero-pro,
.bd-hero-pro__inner,
.bd-hero-pro__copy,
.bd-hero-card,
.bd-app-stage,
.bd-pro-grid { min-width: 0; }
.bd-hero-pro {
  min-height: auto;
  padding: clamp(42px, 6vw, 82px) 20px 52px;
}
.bd-hero-pro__inner {
  width: 100%;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .78fr);
  gap: clamp(24px, 4vw, 52px);
}
.bd-hero-pro__copy { max-width: 760px; }
.bd-hero-pro h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.15vw, 70px);
  line-height: .98;
  overflow-wrap: break-word;
}
.bd-hero-pro p {
  max-width: 660px;
  font-size: clamp(16px, 1.55vw, 19px);
}
.bd-hero-card {
  width: 100%;
  max-width: 480px;
  justify-self: end;
  overflow: hidden;
}
.bd-hero-card h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  overflow-wrap: break-word;
}
.bd-hero-card img { width: min(250px, 72%); }
.bd-hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bd-hero-metrics strong,
.bd-hero-metrics span { min-width: 0; overflow-wrap: anywhere; }
.bd-pro-grid,
.bd-app-stage { width: 100%; }
@media (max-width: 1100px) {
  .bd-hero-pro__inner { grid-template-columns: minmax(0, 1fr); }
  .bd-hero-card { justify-self: stretch; max-width: 100%; }
  .bd-hero-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
  .bd-hero-card img { grid-column: 1 / -1; margin-bottom: 0; width: min(250px, 70vw); }
  .bd-live-pill { width: fit-content; margin-bottom: 0; }
  .bd-hero-card h2, .bd-hero-card p { grid-column: 1 / -1; }
  .bd-hero-metrics { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .bd-site-header { position: sticky; }
  .bd-hero-pro { padding: 30px 16px 34px; }
  .bd-hero-pro__inner { gap: 24px; }
  .bd-hero-pro h1 {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.02;
    letter-spacing: -.055em;
  }
  .bd-hero-pro p { font-size: 16px; line-height: 1.55; }
  .bd-hero-pro__actions { margin-top: 24px; }
  .bd-trust-row { margin-top: 22px; }
  .bd-hero-card {
    display: block;
    max-width: none;
    padding: 22px;
    border-radius: 28px;
  }
  .bd-hero-card img { width: min(230px, 74vw); margin-bottom: 18px; }
  .bd-hero-card h2 { font-size: 32px; }
  .bd-hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bd-hero-pro { padding: 26px 14px 28px; }
  .bd-hero-pro h1 { font-size: clamp(34px, 10.5vw, 44px); }
  .bd-hero-pro__actions { gap: 10px; }
  .bd-btn { min-height: 52px; border-radius: 20px; }
  .bd-trust-row { display: grid; grid-template-columns: 1fr; }
  .bd-trust-row span { text-align: center; }
  .bd-hero-card h2 { font-size: 30px; }
  .bd-hero-metrics { grid-template-columns: 1fr; }
  .bd-hero-metrics strong { font-size: 24px; }
  .bd-pro-grid { margin-top: 14px; }
}
@media (max-width: 390px) {
  .bd-logo-img { width: min(190px, 62vw); }
  .bd-hero-pro h1 { font-size: 32px; }
  .bd-hero-card h2 { font-size: 27px; }
}

/* v1.0.9 — final hero card clamp: prevent clipping on phones and small laptops */
.bd-hero-pro, .bd-hero-pro * { max-width: 100%; }
.bd-hero-card {
  contain: layout paint;
  isolation: isolate;
}
.bd-hero-card > * {
  position: static !important;
  float: none !important;
  transform: none !important;
}
.bd-hero-card h2,
.bd-hero-card p,
.bd-hero-metrics {
  width: 100% !important;
  max-width: 100% !important;
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (min-width: 901px) {
  .bd-hero-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 14px;
    min-height: 0 !important;
  }
  .bd-hero-card img { margin: 0 0 6px; }
  .bd-hero-card h2 { margin-top: 2px; }
  .bd-hero-metrics { margin-top: 10px; }
}
@media (max-width: 900px) {
  .bd-home-pro { overflow-x: clip; }
  .bd-hero-pro {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .bd-hero-pro__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
  }
  .bd-hero-pro__copy,
  .bd-hero-card {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: auto !important;
  }
  .bd-hero-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 18px !important;
    border-radius: 24px !important;
  }
  .bd-hero-card img {
    width: min(210px, 70vw) !important;
    height: auto !important;
    margin: 0 !important;
    flex: 0 0 auto;
  }
  .bd-live-pill {
    margin: 2px 0 0 !important;
    align-self: flex-start !important;
  }
  .bd-hero-card h2 {
    margin: 0 !important;
    font-size: clamp(24px, 7.4vw, 34px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
  }
  .bd-hero-card p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  .bd-hero-metrics {
    margin-top: 4px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .bd-hero-metrics strong { font-size: 21px !important; }
  .bd-hero-metrics span { font-size: 11px !important; }
}
@media (max-width: 520px) {
  .bd-hero-pro { padding-top: 22px !important; }
  .bd-hero-pro h1 { font-size: clamp(32px, 11vw, 42px) !important; }
  .bd-hero-card {
    margin-top: 2px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.08)) !important;
  }
  .bd-hero-card p { display: none !important; }
  .bd-hero-metrics { display: none !important; }
}
