/* ============================================================
   BYBL SUPPORT - shared.css
   Single source of truth for nav, hamburger, mob-menu, and
   hero base styles. Referenced by all pages. No duplication.
   ============================================================ */

/* -- NAV -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: #0F1923;
  border-bottom: 1px solid rgba(196,158,58,0.3);
  height: 72px; display: flex; align-items: center;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* -- LOGO -- */
.nav-logo {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; text-decoration: none; flex-shrink: 0;
}
.nav-logo-main {
  font-family: Georgia, serif; font-size: 20px; font-weight: 700;
  color: #fff; line-height: 1; white-space: nowrap; display: block;
}
.nav-logo-main em { font-style: italic; color: #C49E3A; }
.nav-logo-rule {
  display: block; width: 100%; height: 1px;
  background: rgba(196,158,58,0.4); margin: 5px 0 4px;
}
.nav-logo-support {
  font-family: Georgia, serif; font-size: 15px; font-weight: 700;
  color: #C49E3A; letter-spacing: 0.08em; line-height: 1; display: block;
}

/* -- NAV LINKS -- */
.nav-links {
  display: flex; align-items: center; gap: 26px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.72);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #C49E3A; }

/* -- NAV ACTIONS -- */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-nav-outline {
  font-size: 13px; font-weight: 600; color: #C49E3A;
  border: 1px solid rgba(196,158,58,0.4); padding: 8px 16px;
  border-radius: 5px; text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
}
.btn-nav-outline:hover { background: rgba(196,158,58,0.1); }
.btn-nav-gold {
  font-size: 13px; font-weight: 700; color: #0F1923;
  background: #C49E3A; padding: 9px 18px; border-radius: 5px;
  text-decoration: none; white-space: nowrap; transition: background 0.2s;
}
.btn-nav-gold:hover { background: #d4ae4a; }

/* -- HAMBURGER -- */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 4px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
}

/* -- MOBILE MENU -- */
.mob-open {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #141f2b; border-bottom: 1px solid rgba(196,158,58,0.28);
  flex-direction: column; z-index: 299; padding: 16px 24px 20px;
}
.mob-open a {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.8);
  text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mob-open a:last-child { border-bottom: none; }
.mob-cta {
  margin-top: 12px; text-align: center; background: #C49E3A;
  color: #0F1923; padding: 13px; border-radius: 5px;
  font-weight: 700; font-size: 14px; border-bottom: none !important;
}

/* -- BREADCRUMB -- */
.breadcrumb {
  background: #0F1923; padding: 12px 24px;
  border-bottom: 1px solid rgba(196,158,58,0.15);
}
.breadcrumb-inner {
  max-width: 1160px; margin: 0 auto; font-size: 12px;
  color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 8px;
}
.breadcrumb-inner a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.breadcrumb-inner a:hover { color: #C49E3A; }
.breadcrumb-inner .material-icons { font-size: 12px; }

/* -- HERO BASE -- */
.hero {
  background: #0F1923; padding: 96px 24px 88px;
  position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #C49E3A; margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: #C49E3A; }
.hero h1 {
  font-family: Georgia, serif; font-size: 58px; font-weight: 700;
  line-height: 1.06; color: #fff; margin: 0 0 24px;
}
.hero h1 em { font-style: italic; color: #C49E3A; display: block; }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.75;
  max-width: 520px; margin-bottom: 36px;
}
.hero-sub strong { color: #fff; font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 7px;
}
.trust-item .material-icons { font-size: 15px; color: #C49E3A; }

/* -- PAGE HERO (inner pages) -- */
.page-hero { background: #0F1923; padding: 64px 24px 56px; }
.page-hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 340px;
  gap: 56px; align-items: start;
}
.page-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #C49E3A; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.page-eyebrow::before { content: ''; width: 24px; height: 1px; background: #C49E3A; }
.page-hero h1 {
  font-family: Georgia, serif; font-size: 48px; font-weight: 700;
  line-height: 1.08; color: #fff; margin: 0 0 20px;
}
.page-hero h1 em { font-style: italic; color: #C49E3A; display: block; }
.page-hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.62); line-height: 1.72;
  margin-bottom: 28px; max-width: 520px;
}
.page-hero-sub strong { color: #fff; font-weight: 500; }

/* -- SHARED BUTTONS -- */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: #C49E3A; color: #0F1923; padding: 14px 26px;
  border-radius: 5px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background 0.2s;
}
.btn-gold:hover { background: #d4ae4a; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); color: #fff;
  border: 1px solid rgba(255,255,255,0.16); padding: 14px 26px;
  border-radius: 5px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.11); }
.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0F1923; color: #fff; padding: 14px 28px;
  border-radius: 5px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background 0.2s;
}
.btn-navy:hover { background: #1a2837; }
.btn-navy-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #0F1923;
  border: 2px solid rgba(15,25,35,0.35); padding: 12px 26px;
  border-radius: 5px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.btn-navy-ghost:hover { background: rgba(15,25,35,0.08); }

/* -- FOOTER SHARED -- */
.footer {
  background: #0F1923; border-top: 1px solid rgba(196,158,58,0.28);
  padding: 52px 24px 28px;
}
.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
.footer-logo { font-family: Georgia, serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-logo em { font-style: italic; color: #C49E3A; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.68; }
.footer-col h5 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #C49E3A; margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 22px;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 20px; flex-wrap: wrap;
}
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.28); line-height: 1.7; max-width: 640px; }
.footer-legal strong { color: rgba(255,255,255,0.5); }
.footer-copy { font-size: 11.5px; color: rgba(255,255,255,0.26); white-space: nowrap; }

/* -- SEO BAR -- */
.seo-bar { background: #0F1923; border-top: 1px solid rgba(255,255,255,0.07); padding: 16px 24px; }
.seo-bar-inner {
  max-width: 1160px; margin: 0 auto; font-size: 13px;
  color: rgba(255,255,255,0.33); display: flex; align-items: center; gap: 8px;
}
.seo-bar-inner .material-icons { font-size: 14px; color: rgba(196,158,58,0.45); }
.seo-bar-inner a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.seo-bar-inner a:hover { color: #C49E3A; }

/* -- SCROLL TO TOP -- */
#bybl-scroll-top {
  display: none; position: fixed; bottom: 24px; right: 20px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%; background: #C49E3A;
  border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  align-items: center; justify-content: center;
  transition: opacity 0.2s; padding: 0;
}
@media (max-width: 1280px) {
  .hero h1 { font-size: 50px; }
  .page-hero h1 { font-size: 42px; }
}

/* 1100px */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 340px; gap: 48px; }
  .page-hero-inner { grid-template-columns: 1fr 300px; gap: 40px; }
}

/* 1024px - tablet and below: hamburger on */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions .btn-nav-outline { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; max-width: 680px; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .page-hero h1 { font-size: 38px; }
}

/* 900px */
@media (max-width: 900px) {
  .hero { padding: 72px 20px 64px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .page-hero { padding: 52px 20px 44px; }
  .page-hero h1 { font-size: 32px; }
}

@media (max-width: 900px) {
  .mob-open[style*="flex"] { display: flex !important; }
}

/* 768px */
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .hero-inner { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* 640px */
@media (max-width: 640px) {
  .nav-inner { padding: 0 16px; }
  .hero { padding: 52px 16px 44px; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-gold,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .page-hero { padding: 44px 16px 36px; }
  .page-hero h1 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* 600px */
@media (max-width: 600px) {
  .nav-logo-main { font-size: 15px; }
  .nav-logo-support { font-size: 12px; }
  .btn-nav-gold { font-size: 12px; padding: 8px 14px; }
}

/* 480px */
@media (max-width: 480px) {
  body { padding-top: 64px; }
  .nav { height: 64px; }
  .mob-open { top: 64px; }
  .nav-logo-main { font-size: 13px; }
  .nav-logo-support { font-size: 11px; }
  .nav-logo-rule { margin: 4px 0 3px; }
  .hero h1 { font-size: 22px; }
  .page-hero h1 { font-size: 21px; }
}
