/* =====================================================
   BARIATRIC NEPAL — Hero Section v3.6.4
   Navy #1B2D6B  |  Green #4CAF50  |  White #FFFFFF
   v3.6.4 change: contained card layout (no full-bleed)
===================================================== */

/* ══ CONTAINED: stays inside theme content width ══ */
.bn-hero-wrap {
  --bn-navy:  #1B2D6B;
  --bn-green: #4CAF50;
  --bn-white: #FFFFFF;
  --bn-text:  #4a5568;
  --bn-font-h:'Montserrat', sans-serif;
  --bn-font-b:'Open Sans', sans-serif;
  font-family: var(--bn-font-b);
  color: var(--bn-navy);
  background: var(--bn-white);
  /* Contained — no full-bleed escape */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: block;
  box-sizing: border-box;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(27,45,107,.10);
}

/* ══ HERO ══ */
.bn-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

/* Background */
.bn-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d4e8f5 0%, #e8f4fb 55%, #cde4f0 100%);
  background-size: cover;
  background-position: center top;
}

/* Overlay */
.bn-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(18, 38, 95, 0.30) 0%,
    rgba(27, 45, 107, 0.18) 45%,
    rgba(27, 45, 107, 0.05) 70%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.bn-hero-person {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: 100%;
  width: 48%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  z-index: 2;
}

.bn-hero-person--desktop { display: block; }
.bn-hero-person--mobile  { display: none; }

.bn-hero-content {
  position: relative;
  z-index: 3;
  padding: 50px 40px 76px;
  max-width: 500px;
}

.bn-hero-title {
  font-family: var(--bn-font-h);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 14px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.22);
}

.bn-accent { color: #74EF82; }

.bn-divider {
  width: 44px;
  height: 3px;
  background: var(--bn-green);
  margin-bottom: 18px;
  border: none;
}

.bn-hero-subtitle {
  font-family: var(--bn-font-b);
  font-size: 14px;
  color: rgba(255,255,255,0.93);
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 320px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.18);
}

/* ── Feature Icons ── */
.bn-features {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  flex-wrap: nowrap;
}

.bn-feature-item + .bn-feature-item {
  border-left: 1.5px solid rgba(255,255,255,0.45);
  margin-left: 0;
}

.bn-feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-family: var(--bn-font-b);
  font-size: 10px;
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.35;
  text-align: left;
  text-decoration: none !important;
  transition: transform 0.18s, opacity 0.18s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.22);
  padding: 0 10px;
}
.bn-feature-item:hover {
  transform: translateY(-2px);
  opacity: 0.85;
  color: #ffffff !important;
}
.bn-feat-icon {
  flex-shrink: 0;
  transition: transform 0.18s;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.12));
  width: 28px;
  height: 28px;
}
.bn-feature-item:hover .bn-feat-icon { transform: scale(1.08); }

/* ── CTA ── */
.bn-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.bn-cta-spacer { display: block; height: 4px; }

.bn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bn-navy);
  color: var(--bn-white) !important;
  font-family: var(--bn-font-h);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 4px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  line-height: 1;
  white-space: nowrap;
}
.bn-btn-primary:hover {
  background: #142358;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,45,107,0.35);
  color: var(--bn-white) !important;
}

.bn-contact-row { display: flex; align-items: center; gap: 8px; }

.bn-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 50px;
  text-decoration: none !important;
  cursor: pointer;
  font-family: var(--bn-font-h);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s, opacity .18s;
}
.bn-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  opacity: .88;
}
.bn-contact-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bn-contact-label { display: inline; }

.bn-contact-btn--call { background: var(--bn-navy); color: #fff !important; border: none; }
.bn-contact-btn--call:hover { background: #142358; color: #fff !important; }
.bn-contact-btn--whatsapp { background: #25D366; color: #fff !important; border: none; }
.bn-contact-btn--whatsapp:hover { background: #1aab52; color: #fff !important; }

/* ── Wave ── */
.bn-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 4; line-height: 0; }
.bn-wave svg { width:100%; display:block; }


/* ══ SURGERY SECTION ══ */
.bn-surgery-section {
  background: var(--bn-white);
  padding: 40px 20px 32px;
  text-align: center;
  margin: 0;
}

.bn-section-eyebrow {
  font-family: var(--bn-font-h);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bn-navy);
  opacity: .58;
  margin: 0 0 6px;
}

.bn-section-title {
  font-family: var(--bn-font-h);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 28px);
  color: var(--bn-navy);
  margin: 0 0 10px;
}

.bn-section-divider {
  width: 40px;
  height: 3px;
  background: var(--bn-green);
  margin: 0 auto 14px;
  border: none;
}

.bn-section-desc {
  font-family: var(--bn-font-b);
  font-size: 13.5px;
  color: var(--bn-text);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* Cards grid */
.bn-surgery-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 100%;
  margin: 0 auto;
}

.bn-surgery-card {
  background: var(--bn-white);
  border: 1px solid #e5ecf5;
  border-radius: 12px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .22s, transform .18s;
}
.bn-surgery-card:hover {
  box-shadow: 0 8px 24px rgba(27,45,107,.12);
  transform: translateY(-3px);
}

.bn-card-icon { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }

.bn-card-name {
  font-family: var(--bn-font-h);
  font-weight: 700;
  font-size: 14px;
  color: var(--bn-navy);
  line-height: 1.35;
  text-align: left;
  margin: 0;
}

.bn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--bn-font-h);
  font-weight: 700;
  font-size: 11px;
  color: var(--bn-navy) !important;
  text-decoration: none !important;
  letter-spacing: .5px;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
.bn-card-link:hover { border-bottom-color: var(--bn-navy); }


/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .bn-surgery-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .bn-hero { min-height: 0; }
  .bn-hero-content {
    padding: 32px 20px 160px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bn-hero-title { font-size: 22px; color: #111111; text-shadow: none; }
  .bn-divider { margin-left: auto; margin-right: auto; }
  .bn-hero-subtitle { font-size: 13px; max-width: 100%; color: #222222; text-shadow: none; }
  .bn-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.80) 0%,
      rgba(255,255,255,0.65) 55%,
      rgba(255,255,255,0.10) 100%
    );
  }
  .bn-hero-person { width: 100%; right: 0; height: 50%; bottom: 0; object-position: top center; }
  .bn-hero-person--desktop { display: none; }
  .bn-hero-person--mobile  { display: block; width: 100%; right: 0; height: 50%; bottom: 0; object-position: top center; }
  .bn-features { gap: 0; justify-content: center; width: 100%; flex-wrap: nowrap; margin-bottom: 22px; }
  .bn-feature-item {
    flex-direction: column;
    font-size: 10px;
    color: #111111 !important;
    text-shadow: none;
    flex: 1;
    padding: 0 6px;
    gap: 5px;
    align-items: center;
    text-align: center;
  }
  .bn-feature-item:hover { color: #111111 !important; }
  .bn-feat-icon { width: 26px; height: 26px; }
  .bn-feature-item + .bn-feature-item { border-left: 1.5px solid rgba(27,45,107,0.30); }
  .bn-cta-stack { align-items: center; gap: 8px; }
  .bn-btn-primary { font-size: 12px; padding: 12px 28px; width: 100%; justify-content: center; border-radius: 6px; }
  .bn-contact-row { gap: 8px; justify-content: center; }
  .bn-contact-btn { flex-direction: row; align-items: center; gap: 6px; padding: 10px 16px; font-size: 12px; border-radius: 50px; border: none; color: #ffffff !important; }
  .bn-contact-btn--call    { background: var(--bn-navy) !important; color: #fff !important; }
  .bn-contact-btn--whatsapp{ background: #25D366 !important; color: #fff !important; }
  .bn-surgery-section { padding: 32px 14px 26px; }
  .bn-surgery-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 380px) {
  .bn-hero-content { padding-bottom: 130px; }
  .bn-hero-title { font-size: 20px; }
  .bn-surgery-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bn-feature-item { font-size: 9px; padding: 0 5px; }
  .bn-feat-icon { width: 22px; height: 22px; }
  .bn-btn-primary { font-size: 11px; padding: 11px 16px; }
  .bn-contact-btn { font-size: 11px; padding: 8px 14px; }
}
