/* cirKle B2B — Red + Navy + White Theme */

:root {
  --bb-red: #E53935;
  --bb-red-dark: #C62828;
  --bb-red-light: #FEE2E2;
  --bb-navy: #0F172A;
  --bb-navy-mid: #1E293B;
  --bb-blue: #2563EB;
  --bb-blue-dark: #1D4ED8;
  --bb-white: #FFFFFF;
  --bb-section: #F8FAFC;
  --bb-gray-50: #F8FAFC;
  --bb-gray-100: #F1F5F9;
  --bb-gray-200: #E2E8F0;
  --bb-text: #0F172A;
  --bb-text-muted: #475569;
  --bb-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.06);
  --bb-shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.08), 0 16px 40px rgba(15, 23, 42, 0.1);
  --bb-radius: 16px;
  --bb-radius-sm: 10px;
  --bb-transition: 0.25s ease;
  --bb-transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --bb-font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--bb-font);
  color: var(--bb-text);
  background: var(--bb-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.text-muted {
  color: var(--bb-text-muted) !important;
}

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

a {
  color: var(--bb-navy);
  text-decoration: none;
  transition: color var(--bb-transition);
}

a:hover {
  color: var(--bb-red);
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--bb-navy);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.announcement-bar a {
  color: var(--bb-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--bb-transition);
}

.announcement-bar a:hover {
  color: #FF6B6B;
}

/* ── Navbar ── */
.navbar-bb {
  background: var(--bb-white);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--bb-gray-200);
  transition: box-shadow var(--bb-transition), background var(--bb-transition);
  z-index: 1030;
}

.navbar-bb.scrolled {
  box-shadow: var(--bb-shadow);
  background: var(--bb-white);
}

.navbar-bb .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--bb-transition);
}

.navbar-bb .navbar-brand .brand-name {
  height: 48px;
  width: auto;
}

.navbar-bb .nav-link {
  color: var(--bb-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--bb-radius-sm);
  transition: background var(--bb-transition), color var(--bb-transition);
}

.navbar-bb .nav-link:hover {
  color: var(--bb-red);
  background: transparent;
}

.navbar-bb .nav-link.active {
  color: var(--bb-navy);
  background: var(--bb-gray-100);
}

.navbar-bb .navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-bb .navbar-toggler {
  border-color: var(--bb-gray-200);
  padding: 0.4rem 0.6rem;
}

.navbar-bb .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230F172A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Buttons ── */
.btn-primary-bb {
  background: var(--bb-red);
  color: var(--bb-white);
  border: 2px solid var(--bb-red);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  transition: all var(--bb-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-bb:hover {
  background: var(--bb-red-dark);
  border-color: var(--bb-red-dark);
  color: var(--bb-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
}

.btn-primary-bb:active,
.btn-secondary-bb:active,
.btn-yellow-bb:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary-bb {
  background: var(--bb-white);
  color: var(--bb-red);
  border: 2px solid var(--bb-red);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  transition: all var(--bb-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary-bb:hover {
  background: var(--bb-red-light);
  color: var(--bb-red-dark);
  border-color: var(--bb-red);
  transform: translateY(-2px);
}

.btn-yellow-bb {
  background: var(--bb-red);
  color: var(--bb-white);
  border: 2px solid var(--bb-red);
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  transition: all var(--bb-transition);
}

.btn-yellow-bb:hover {
  background: var(--bb-red-dark);
  border-color: var(--bb-red-dark);
  color: var(--bb-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
}

/* ── Section Utilities ── */
.section-padding {
  padding: 5.5rem 0;
}

.section-padding-sm {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--bb-navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--bb-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.bg-yellow-section {
  background: var(--bb-section);
}

.bg-gray-section {
  background: var(--bb-section);
}

/* ── Hero ── */
.hero {
  background: var(--bb-white);
  padding: 5.5rem 0 6.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--bb-section);
  color: var(--bb-red);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--bb-gray-200);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--bb-navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--bb-red);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--bb-text-muted);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bb-navy);
}

.hero-trust-item i {
  font-size: 1.1rem;
  color: var(--bb-red);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img,
.hero-visual .placeholder-img {
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow-lg);
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--bb-navy);
  color: var(--bb-white);
  padding: 3.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  transition: transform var(--bb-transition);
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--bb-red);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ── Feature Cards ── */
.feature-card {
  background: var(--bb-white);
  border-radius: var(--bb-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--bb-shadow);
  border: 1px solid var(--bb-gray-200);
  transition: transform var(--bb-transition-smooth), box-shadow var(--bb-transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bb-shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--bb-section);
  border: 1px solid var(--bb-gray-200);
  border-radius: var(--bb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  color: var(--bb-navy);
  transition: background var(--bb-transition), color var(--bb-transition), border-color var(--bb-transition);
}

.feature-card:hover .feature-icon {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: var(--bb-white);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--bb-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ── Fairdeal-style Section Titles ── */
.section-title-fd {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--bb-text);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.title-accent {
  color: var(--bb-red);
  position: relative;
  display: inline-block;
}

.title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 4px;
  background: var(--bb-red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.visible .title-accent::after,
.fade-in.visible .title-accent::after {
  transform: scaleX(1);
}

.title-accent-sm {
  color: var(--bb-red);
}

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.swiper-nav-btns {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.swiper-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--bb-gray-200);
  background: var(--bb-white);
  color: var(--bb-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--bb-transition);
  font-size: 1.1rem;
}

.swiper-nav-btn:hover {
  background: var(--bb-navy);
  color: var(--bb-white);
  border-color: var(--bb-navy);
  transform: scale(1.08);
}

.swiper-nav-btn:active {
  transform: scale(0.95);
}

/* ── Features Bento Grid ── */
.features-bento-section {
  background: var(--bb-section);
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-cell {
  border-radius: var(--bb-radius);
  overflow: hidden;
  transition: transform var(--bb-transition-smooth), box-shadow var(--bb-transition);
}

.bento-cell:hover {
  transform: translateY(-4px);
}

.bento-text:hover {
  box-shadow: var(--bb-shadow-lg);
}

.bento-image {
  position: relative;
  min-height: 280px;
}

.bento-image img.bb-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--bb-radius);
}

.bento-image img.bb-img.is-error {
  display: none;
}

.bento-image img.bb-img:not(.is-error) + .bento-placeholder,
.bento-image img.bb-img:not(.is-error) + .placeholder-img {
  display: none !important;
}

.bento-placeholder {
  position: absolute;
  inset: 0;
  min-height: 280px;
  border-radius: var(--bb-radius);
}

.bento-text {
  background: var(--bb-white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  border: 1px solid var(--bb-gray-200);
  box-shadow: var(--bb-shadow);
}

.bento-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bb-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.bento-text p {
  color: var(--bb-text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Brands Card Grid ── */
.brands-section {
  background: var(--bb-section);
}

.brands-card {
  background: var(--bb-white);
  border-radius: 20px;
  box-shadow: var(--bb-shadow-lg);
  overflow: hidden;
  padding: 2.5rem 2.5rem 0;
  transition: box-shadow var(--bb-transition-smooth);
}

.brands-card:hover {
  box-shadow: var(--bb-shadow-lg);
}

.brands-card-header {
  margin-bottom: 2rem;
}

.brands-card-sub {
  color: var(--bb-text-muted);
  font-size: 1rem;
  margin: 0;
  max-width: 560px;
}

/* Brands double-row marquee */
.brands-marquee-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.brands-marquee-wrapper::before,
.brands-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.brands-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bb-white) 0%, transparent 100%);
}

.brands-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bb-white) 0%, transparent 100%);
}

.brands-marquee-row {
  overflow: hidden;
  margin-bottom: 1rem;
}

.brands-marquee-row:last-child {
  margin-bottom: 0;
}

.brands-marquee-track {
  display: flex;
  width: max-content;
}

.brands-marquee-track--left {
  animation: marquee-left 35s linear infinite;
}

.brands-marquee-track--right {
  animation: marquee-right 35s linear infinite;
}

.brands-marquee-wrapper:hover .brands-marquee-track {
  animation-play-state: paused;
}

.brands-marquee-content {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
  flex-shrink: 0;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.brand-logo-cell {
  background: var(--bb-white);
  border: 1.5px solid var(--bb-gray-200);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 120px;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--bb-transition), box-shadow var(--bb-transition);
}

.brand-logo-cell:hover {
  border-color: var(--bb-red);
  box-shadow: var(--bb-shadow);
}

.brand-logo-cell img {
  max-height: 48px;
  max-width: 90px;
  object-fit: contain;
}

.brand-logo-cell img.bb-img.is-error {
  display: none;
}

.brand-placeholder {
  display: none;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--bb-text-muted);
  text-align: center;
  word-break: break-all;
  line-height: 1.2;
}

.brand-logo-cell img.bb-img.is-error ~ .brand-placeholder {
  display: block;
}

.brands-cta-banner {
  background: var(--bb-navy);
  color: var(--bb-white);
  text-align: center;
  padding: 1.5rem 2rem;
  margin: 2rem -2.5rem 0;
  border-radius: 0 0 20px 20px;
}

.brands-cta-banner p {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.brands-cta-banner a {
  color: var(--bb-white);
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.95rem;
}

.brands-cta-banner a:hover {
  color: var(--bb-red);
}

/* ── Categories Swiper (Fairdeal style) ── */
.categories-section {
  background: var(--bb-white);
}

.categories-sub {
  color: var(--bb-text-muted);
  font-size: 1rem;
  margin: 0;
  max-width: 560px;
}

.category-swiper {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
}

.category-swiper .swiper-slide {
  height: auto;
}

.category-grid-2row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem 1rem;
}

.category-card-fd {
  text-align: center;
}

.category-card-img-fd {
  background: var(--bb-section);
  border-radius: 14px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.65rem;
  padding: 0.75rem;
}

.category-card-img-fd img.bb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card-img-fd img.bb-img.is-error {
  display: none;
}

.category-card-img-fd img.bb-img:not(.is-error) ~ .category-icon-fallback {
  display: none;
}

.category-card-img-fd .category-icon-fallback {
  font-size: 2rem;
  color: var(--bb-navy);
  opacity: 0.35;
}

.category-card-fd {
  transition: transform var(--bb-transition);
}

.category-card-fd:hover {
  transform: translateY(-4px);
}

.category-card-fd:hover .category-card-img-fd {
  box-shadow: var(--bb-shadow);
}

.category-card-img-fd {
  transition: box-shadow var(--bb-transition), transform var(--bb-transition);
}

.category-card-fd h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bb-text);
  margin: 0;
  line-height: 1.4;
  transition: color var(--bb-transition);
}

.category-card-fd:hover h4 {
  color: var(--bb-red);
}

/* ── Deliver section header ── */
.deliver-section {
  background: var(--bb-white);
}

/* ── Category Grid ── */
.category-card {
  background: var(--bb-white);
  border-radius: var(--bb-radius);
  overflow: hidden;
  box-shadow: var(--bb-shadow);
  border: 1px solid var(--bb-gray-200);
  transition: transform var(--bb-transition), box-shadow var(--bb-transition);
  text-align: center;
  cursor: default;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bb-shadow-lg);
}

.category-card-img {
  height: 140px;
  overflow: hidden;
  background: var(--bb-gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.category-card-img img.bb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-img img.bb-img.is-error {
  display: none;
}

.category-card-img img.bb-img:not(.is-error) ~ .category-icon-fallback {
  display: none;
}

.category-card-img .category-icon-fallback {
  font-size: 2.5rem;
  color: var(--bb-navy);
}

.category-card-body {
  padding: 1rem;
}

.category-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin: 0;
}

/* ── Deliver Teaser ── */
.deliver-teaser {
  background: linear-gradient(135deg, var(--bb-navy) 0%, var(--bb-navy-mid) 100%);
  color: var(--bb-white);
  border-radius: var(--bb-radius);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--bb-transition-smooth), box-shadow var(--bb-transition);
}

.deliver-teaser:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.25);
}

.deliver-teaser::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at right, rgba(229, 57, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.deliver-teaser h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.deliver-teaser p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.deliver-earn {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bb-red);
  margin-bottom: 1rem;
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--bb-white);
  border-radius: var(--bb-radius);
  padding: 0;
  box-shadow: var(--bb-shadow);
  border: 1px solid var(--bb-gray-200);
  height: 100%;
  overflow: hidden;
  transition: transform var(--bb-transition-smooth), box-shadow var(--bb-transition);
}

.testimonial-store-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bb-gray-100);
}

.testimonial-store-img img,
.testimonial-store-img img.bb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.testimonial-card .testimonial-quote,
.testimonial-card .testimonial-author {
  padding-left: 2rem;
  padding-right: 2rem;
}

.testimonial-card .testimonial-quote {
  padding-top: 1.5rem;
}

.testimonial-card .testimonial-author {
  padding-bottom: 2rem;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bb-shadow-lg);
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--bb-text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 2.5rem;
  color: var(--bb-red);
  font-style: normal;
  line-height: 0;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bb-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bb-white);
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  color: var(--bb-navy);
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--bb-text-muted);
  margin: 0;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--bb-red);
}

/* ── App Download ── */
.app-download {
  background: var(--bb-gray-50);
}

.app-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockup-wrap img,
.app-mockup-wrap .placeholder-img {
  max-height: 520px;
  border-radius: 24px;
  box-shadow: var(--bb-shadow-lg);
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-badges a {
  display: inline-block;
  line-height: 0;
}

.app-badges img.bb-img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

.app-badges img.bb-img.is-error + .placeholder-img,
.qr-item img.bb-img.is-error + .placeholder-img,
.hero-visual img.bb-img.is-error + .placeholder-img,
.app-mockup-wrap img.bb-img.is-error + .placeholder-img,
.col-lg-6 img.bb-img.is-error + .placeholder-img {
  display: flex;
}

.app-badges img.bb-img:not(.is-error) + .placeholder-img,
.qr-item img.bb-img:not(.is-error) + .placeholder-img,
.hero-visual img.bb-img:not(.is-error) + .placeholder-img,
.app-mockup-wrap img.bb-img:not(.is-error) + .placeholder-img,
.col-lg-6 img.bb-img:not(.is-error) + .placeholder-img,
img.bb-img:not(.is-error) + .placeholder-img {
  display: none !important;
}

.qr-codes {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.qr-item {
  text-align: center;
}

.qr-item img,
.qr-item .placeholder-img {
  width: 100px;
  height: 100px;
  border-radius: var(--bb-radius-sm);
  margin: 0 auto 0.5rem;
}

.qr-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bb-text-muted);
}

/* ── FAQ ── */
.faq-section .accordion-item {
  border: 1px solid var(--bb-gray-200);
  border-radius: var(--bb-radius-sm) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-section .accordion-button {
  font-weight: 600;
  color: var(--bb-navy);
  background: var(--bb-white);
  box-shadow: none;
  padding: 1.25rem 1.5rem;
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--bb-red);
  color: var(--bb-white);
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--bb-gray-200);
}

.faq-section .accordion-body {
  color: var(--bb-text-muted);
  padding: 1rem 1.5rem 1.25rem;
}

/* ── Footer ── */
.footer-bb {
  background: var(--bb-navy);
  color: var(--bb-white);
  padding: 4rem 0 0;
}

.footer-bb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--bb-transition);
}

.footer-bb a:hover {
  color: var(--bb-red);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-heading {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--bb-red);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--bb-red);
  margin-top: 0.15rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ── Placeholder Images ── */
.placeholder-img {
  background: linear-gradient(135deg, var(--bb-gray-100) 0%, var(--bb-gray-200) 100%);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bb-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  border: 2px dashed var(--bb-gray-200);
  border-radius: var(--bb-radius-sm);
  min-height: 120px;
}

.placeholder-img i {
  font-size: 2rem;
  color: var(--bb-navy);
  opacity: 0.35;
  margin-bottom: 0.5rem;
}

.placeholder-img span {
  word-break: break-all;
  max-width: 100%;
}

/* Hide broken img, show placeholder sibling via JS class */
img.bb-img {
  object-fit: cover;
}

img.bb-img.is-error {
  display: none;
}

img.bb-img.is-error + .placeholder-img,
.placeholder-img.show-fallback {
  display: flex;
}

.placeholder-img.hide-fallback {
  display: none !important;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--bb-white);
  padding: 4.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--bb-gray-200);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--bb-navy);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--bb-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb-seo {
  margin-bottom: 1rem;
}

.breadcrumb-seo ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--bb-text-muted);
}

.breadcrumb-seo li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--bb-gray-300);
}

.breadcrumb-seo a {
  color: var(--bb-red);
  text-decoration: none;
}

.breadcrumb-seo a:hover {
  text-decoration: underline;
}

.breadcrumb-seo [aria-current='page'] {
  color: var(--bb-navy);
  font-weight: 600;
}

.seo-intro-section {
  background: var(--bb-section);
}

.seo-intro-lead {
  max-width: 640px;
}

.seo-intro-body {
  background: var(--bb-white);
  border: 1px solid var(--bb-gray-200);
  border-radius: var(--bb-radius);
  padding: 2rem 2.25rem;
  height: 100%;
  box-shadow: var(--bb-shadow);
}

.seo-intro-body p {
  color: var(--bb-text-muted);
  line-height: 1.8;
  margin-bottom: 1.15rem;
  font-size: 1rem;
}

.seo-intro-body p:last-child {
  margin-bottom: 0;
}

.seo-intro-body strong {
  color: var(--bb-navy);
  font-weight: 700;
}

.seo-location-card {
  background: var(--bb-navy);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--bb-radius);
  padding: 2rem 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--bb-shadow-lg);
}

.seo-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 57, 53, 0.2);
  color: #FCA5A5;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.seo-location-badge i {
  color: var(--bb-red);
  font-size: 0.9rem;
}

.seo-location-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.seo-location-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.85);
}

.seo-location-list li i {
  color: var(--bb-red);
  font-size: 1rem;
  flex-shrink: 0;
}

.seo-stat-row {
  display: flex;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.seo-stat {
  flex: 1;
  text-align: center;
}

.seo-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bb-white);
  line-height: 1.2;
}

.seo-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.seo-feature-card {
  background: var(--bb-white);
  border: 1px solid var(--bb-gray-200);
  border-radius: var(--bb-radius);
  padding: 1.5rem 1.25rem;
  height: 100%;
  text-align: center;
  transition: transform var(--bb-transition-smooth), box-shadow var(--bb-transition), border-color var(--bb-transition);
}

.seo-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bb-shadow-lg);
  border-color: transparent;
}

.seo-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--bb-section);
  border: 1px solid var(--bb-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.35rem;
  color: var(--bb-navy);
  transition: background var(--bb-transition), color var(--bb-transition), border-color var(--bb-transition);
}

.seo-feature-card:hover .seo-feature-icon {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: var(--bb-white);
}

.seo-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin-bottom: 0.45rem;
}

.seo-feature-card p {
  font-size: 0.875rem;
  color: var(--bb-text-muted);
  line-height: 1.55;
  margin: 0;
}

.seo-intro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn-outline-bb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bb-navy);
  background: transparent;
  border: 2px solid var(--bb-gray-200);
  border-radius: var(--bb-radius-sm);
  transition: border-color var(--bb-transition), color var(--bb-transition), background var(--bb-transition);
}

.btn-outline-bb:hover {
  border-color: var(--bb-navy);
  color: var(--bb-navy);
  background: var(--bb-white);
}

@media (max-width: 991.98px) {
  .seo-intro-body {
    padding: 1.5rem 1.35rem;
  }

  .seo-location-card {
    padding: 1.5rem 1.35rem;
  }
}

/* legacy — kept for other pages if needed */
.seo-intro-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.seo-intro-card p {
  color: var(--bb-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.seo-intro-card p:last-child {
  margin-bottom: 0;
}

.seo-intro-card a {
  color: var(--bb-red);
  font-weight: 600;
  text-decoration: none;
}

.seo-intro-card a:hover {
  text-decoration: underline;
}

/* ── About Page ── */
.about-mission {
  max-width: 720px;
  margin: 0 auto;
}

.about-mission p {
  font-size: 1.05rem;
  color: var(--bb-text-muted);
  margin-bottom: 1.25rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform var(--bb-transition);
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card .value-icon {
  width: 72px;
  height: 72px;
  background: var(--bb-section);
  border: 1px solid var(--bb-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--bb-navy);
  transition: transform var(--bb-transition-smooth), background var(--bb-transition), color var(--bb-transition), border-color var(--bb-transition);
}

.value-card:hover .value-icon {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: var(--bb-white);
}

.value-card:hover .value-icon {
  transform: scale(1.08) rotate(-3deg);
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin-bottom: 0.5rem;
}

/* ── Contact Page ── */
.contact-card {
  background: var(--bb-white);
  border-radius: var(--bb-radius);
  padding: 2rem;
  box-shadow: var(--bb-shadow);
  border: 1px solid var(--bb-gray-200);
  height: 100%;
  text-align: center;
  transition: transform var(--bb-transition-smooth), box-shadow var(--bb-transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bb-shadow-lg);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--bb-section);
  border: 1px solid var(--bb-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--bb-navy);
  transition: background var(--bb-transition), color var(--bb-transition), border-color var(--bb-transition);
}

.contact-card:hover .contact-card-icon {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: var(--bb-white);
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin-bottom: 0.5rem;
}

.contact-form-wrap {
  background: var(--bb-white);
  border-radius: var(--bb-radius);
  padding: 2.5rem;
  box-shadow: var(--bb-shadow);
  border: 1px solid var(--bb-gray-200);
}

.contact-form-wrap .form-label {
  font-weight: 600;
  color: var(--bb-navy);
  font-size: 0.9rem;
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  border: 1.5px solid var(--bb-gray-200);
  border-radius: var(--bb-radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--bb-transition);
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--bb-red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.form-success {
  display: none;
  background: #D1FAE5;
  color: #065F46;
  padding: 1rem 1.25rem;
  border-radius: var(--bb-radius-sm);
  font-weight: 600;
  margin-top: 1rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-success.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.form-error {
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error.show {
  display: block;
}

.form-error#formError {
  padding: 0.75rem 1rem;
  background: #FEE2E2;
  border-radius: var(--bb-radius-sm);
  color: #991B1B;
}

#contactSubmitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── Deliver Page ── */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform var(--bb-transition);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  background: var(--bb-red);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--bb-navy);
  color: var(--bb-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  transition: transform var(--bb-transition-smooth);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin-bottom: 0.5rem;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bb-white);
  border-radius: var(--bb-radius-sm);
  box-shadow: var(--bb-shadow);
  margin-bottom: 1rem;
}

.requirement-item i {
  font-size: 1.75rem;
  color: var(--bb-red);
  flex-shrink: 0;
}

/* ── Legal Pages ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin: 2rem 0 1rem;
}

.legal-content p,
.legal-content li {
  color: var(--bb-text-muted);
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* ── Leaders Carousel ── */
.leaders-section {
  background: var(--bb-white);
}

.leaders-swiper {
  padding-bottom: 2.5rem;
}

.leader-card {
  position: relative;
  border-radius: var(--bb-radius);
  overflow: hidden;
  height: 360px;
  background: var(--bb-gray-200);
  transition: transform var(--bb-transition-smooth);
}

.leader-card:hover {
  transform: scale(1.02);
}

.leader-card img.bb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.leader-card:hover img.bb-img:not(.is-error) {
  transform: scale(1.06);
}

.leader-card img.bb-img.is-error {
  display: none;
}

.leader-card img.bb-img:not(.is-error) + .leader-placeholder {
  display: none !important;
}

.leader-placeholder {
  position: absolute;
  inset: 0;
  min-height: 360px;
  border-radius: var(--bb-radius);
}

.leader-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: var(--bb-white);
}

.leader-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.leader-info p {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.9;
}

.leaders-pagination .swiper-pagination-bullet-active {
  background: var(--bb-red);
}

/* ── Team Cards ── */
.team-card {
  background: var(--bb-white);
  border-radius: var(--bb-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--bb-shadow);
  border: 1px solid var(--bb-gray-200);
  text-align: center;
  height: 100%;
  transition: transform var(--bb-transition), box-shadow var(--bb-transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bb-shadow-lg);
}

.team-card-photo {
  width: 140px;
  height: 160px;
  margin: 0 auto 1.25rem;
  border-radius: var(--bb-radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--bb-gray-100);
}

.team-card-photo img.bb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-photo img.bb-img.is-error {
  display: none;
}

.team-card-photo img.bb-img:not(.is-error) + .team-photo-placeholder {
  display: none !important;
}

.team-photo-placeholder {
  position: absolute;
  inset: 0;
  min-height: 160px;
  font-size: 0.65rem;
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bb-navy);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bb-red);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--bb-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--bb-transition);
}

.team-social a:first-child {
  background: #0A66C2;
  color: var(--bb-white);
}

.team-social a:last-child {
  background: var(--bb-text);
  color: var(--bb-white);
}

.team-social a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* ── Hero entrance ── */
.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

body.page-loaded .hero-animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual.hero-animate {
  transform: translateY(28px) scale(0.97);
}

body.page-loaded .hero-visual.hero-animate {
  transform: translateY(0) scale(1);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

body.page-loaded .hero-visual.float-active img.bb-img:not(.is-error),
body.page-loaded .hero-visual.float-active .placeholder-img.show-fallback {
  animation: hero-float 5s ease-in-out infinite;
}

.page-hero-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--delay, 0) * 0.08s);
}

body.page-loaded .page-hero-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger-delay, 0s);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger-delay, 0s);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger-delay, 0s);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── FAQ accordion smooth ── */
.faq-section .accordion-button::after {
  transition: transform 0.3s ease;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in, .fade-in-left, .fade-in-right, .hero-animate, .page-hero-animate {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-card {
    padding: 2rem 2rem 0;
  }

  .brands-cta-banner {
    margin: 2rem -2rem 0;
  }
  .section-padding {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0 4rem;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .deliver-teaser {
    padding: 2rem;
    text-align: center;
  }

  .deliver-teaser p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1199.98px) {
  .category-grid-2row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767.98px) {
  .features-bento {
    grid-template-columns: 1fr;
  }

  .category-grid-2row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 0.75rem;
  }

  .brands-card {
    padding: 1.5rem 1.5rem 0;
  }

  .brands-marquee-wrapper::before,
  .brands-marquee-wrapper::after {
    width: 50px;
  }

  .brand-logo-cell {
    min-width: 100px;
    height: 70px;
  }

  .brands-cta-banner {
    margin: 1.5rem -1.5rem 0;
    padding: 1.25rem 1rem;
  }

  .section-header-row {
    flex-direction: column;
  }

  .swiper-nav-btns {
    align-self: flex-end;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .announcement-bar {
    font-size: 0.75rem;
    line-height: 1.4;
    padding: 0.5rem 0.75rem;
  }

  .navbar-bb {
    padding: 0.65rem 0;
  }

  .navbar-bb .navbar-brand .brand-name {
    height: 36px;
  }

  .navbar-bb .navbar-collapse {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .navbar-bb .nav-link {
    padding: 0.65rem 1rem !important;
    font-size: 1rem;
  }

  .navbar-bb .nav-item .btn-primary-bb,
  .navbar-bb .nav-item .btn-secondary-bb {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .section-padding-sm {
    padding: 2rem 0;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.25rem;
  }

  .page-hero {
    padding: 2.75rem 0;
  }

  .page-hero p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .stats-bar {
    padding: 2rem 0;
  }

  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .contact-form-wrap .btn-primary-bb {
    width: 100%;
    justify-content: center;
  }

  .legal-content {
    padding: 0 0.25rem;
  }

  .legal-content h2 {
    font-size: 1.25rem;
  }

  .deliver-teaser {
    padding: 1.5rem 1rem;
  }

  .deliver-teaser h2 {
    font-size: 1.5rem;
  }

  .requirement-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .footer-bb {
    padding: 3rem 0 0;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .footer-brand img {
    margin: 0 auto 1rem;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-heading {
    margin-top: 0.5rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding: 1.25rem 1rem;
  }

  .faq-section .accordion-button {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-section .accordion-body {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.9rem;
  }

  .qr-codes {
    justify-content: center;
    gap: 1.25rem;
  }

  .app-badges {
    justify-content: center;
  }

  .app-badges img.bb-img {
    height: 42px;
  }

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

  .category-card-fd h4 {
    font-size: 0.75rem;
  }

  .leader-card {
    height: 300px;
  }

  .brands-marquee-track {
    animation-duration: 40s;
  }

  .swiper-nav-btns {
    gap: 0.5rem;
  }

  .swiper-nav-btns button {
    width: 40px;
    height: 40px;
  }
}

/* ── Compact hero (deliver page) ── */
.hero-compact {
  padding: 3rem 0 4rem;
}

/* ── Skip link (accessibility + SEO) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--bb-red);
  color: var(--bb-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--bb-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--bb-navy);
  outline-offset: 2px;
}

/* ── Safe area for notched devices ── */
@supports (padding: max(0px)) {
  .announcement-bar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .footer-bottom {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}

/* ── Touch-friendly tap targets ── */
@media (pointer: coarse) {
  .nav-link,
  .btn-primary-bb,
  .btn-secondary-bb,
  .btn-yellow-bb,
  .accordion-button,
  .swiper-nav-btns button {
    min-height: 44px;
  }
}

/* ── Tablet landscape & medium screens ── */
@media (max-width: 991.98px) {
  .hero-compact {
    text-align: center;
  }

  .hero-compact .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-compact .hero-cta {
    justify-content: center;
  }

  .app-mockup-wrap {
    margin-top: 2rem;
  }

  .app-download .row {
    text-align: center;
  }

  .app-download .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-wrap {
    margin-bottom: 2rem;
  }

  .about-mission {
    padding: 0 0.5rem;
  }

  .value-card {
    padding: 1.5rem 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-cta .btn {
    flex: 1 1 auto;
    min-width: 180px;
  }
}
