/*
Theme Name: B2M Asia
Theme URI: https://b2masia.com
Author: B2M Asia Inc.
Author URI: https://b2masia.com
Description: Official WordPress theme for B2M Asia — Cross-Border Payments & FX Hedging Platform. Navy, Yellow, and Teal brand colors. Built for fintech credibility.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://b2masia.com/terms
Text Domain: b2masia
Tags: fintech, payments, business, custom-logo, custom-menu, featured-images, threaded-comments, full-width-template
*/

/* ═══════════════════════════════════════════
   ROOT VARIABLES
═══════════════════════════════════════════ */
:root {
  --navy:        #0D1B6E;
  --navy-dark:   #080F4A;
  --navy-mid:    #1A2A8A;
  --yellow:      #FFD600;
  --yellow-h:    #E6C000;
  --teal:        #00B89C;
  --teal-light:  rgba(0,184,156,0.1);
  --white:       #FFFFFF;
  --off-white:   #F6F8FF;
  --border:      rgba(13,27,110,0.1);
  --muted:       #5A6690;
  --text:        #0D1B6E;
  --shadow-sm:   0 2px 12px rgba(13,27,110,0.07);
  --shadow-md:   0 8px 32px rgba(13,27,110,0.1);
  --shadow-lg:   0 20px 60px rgba(13,27,110,0.15);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--muted); line-height: 1.8; }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .section { padding: 60px 0; }
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-yellow  { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-h); border-color: var(--yellow-h); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,214,0,0.35); }

.btn-navy    { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); }

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

.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline-white:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ═══════════════════════════════════════════
   SECTION LABELS
═══════════════════════════════════════════ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal);
}

.section-tag.light { color: var(--yellow); }
.section-tag.light::before { background: var(--yellow); }

.section-title { margin-bottom: 14px; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 520px; line-height: 1.8; }
.section-sub.center { max-width: 600px; margin: 0 auto; text-align: center; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 70px;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(13,27,110,0.12);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img { height: 42px; width: auto; }

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-menu > li > a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--navy-dark); }
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 960px) {
  .nav-inner { padding: 0 20px; }
  .nav-menu, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 3px solid var(--yellow);
    box-shadow: var(--shadow-md);
    gap: 0;
    z-index: 499;
  }

  .nav-menu.open li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.site-hero {
  background: var(--navy);
  min-height: calc(100vh - 70px);
  margin-top: 70px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.site-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
}

.site-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,214,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,214,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-orb-1 {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,214,0,0.07), transparent 70%);
  border-radius: 50%;
  top: -150px; right: -100px;
  pointer-events: none;
}

.hero-orb-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,184,156,0.12), transparent 70%);
  border-radius: 50%;
  bottom: -80px; left: 30%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255,214,0,0.1);
  border: 1px solid rgba(255,214,0,0.3);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.live-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--teal);
}

@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.1;
}

.hero-title .accent-yellow { color: var(--yellow); }
.hero-title .accent-teal   { color: var(--teal); }

.hero-subtitle {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
}

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

/* Hero FX Card */
.hero-fx-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.fx-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.fx-card-title { font-size: 0.95rem; font-weight: 700; color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; }

.live-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700; color: var(--teal); letter-spacing: 0.05em;
}

.fx-pairs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.fx-pair-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
}

.fx-pair-name  { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.fx-rate-val   { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.fx-change-up  { font-size: 0.73rem; font-weight: 600; color: var(--teal); text-align: right; }
.fx-change-dn  { font-size: 0.73rem; font-weight: 600; color: #ff7b7b; text-align: right; }

.savings-pill {
  background: rgba(255,214,0,0.1);
  border: 1px solid rgba(255,214,0,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.sp-value { font-size: 1.4rem; font-weight: 700; color: var(--yellow); font-family: 'DM Serif Display', serif; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .site-hero { padding: 48px 0 56px; min-height: auto; }
}

/* ═══════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════ */
.stats-bar { background: var(--yellow); }

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(13,27,110,0.15);
}

.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--navy); font-family: 'DM Serif Display', serif; line-height: 1; }
.stat-label  { font-size: 0.75rem; font-weight: 600; color: rgba(13,27,110,0.7); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 960px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(13,27,110,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(13,27,110,0.1); }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
}

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee-bar {
  background: var(--navy);
  overflow: hidden;
  padding: 14px 0;
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marqueeScroll 25s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  flex-shrink: 0;
}

.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════ */
.services-section { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 18px;
}

.service-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: 'Plus Jakarta Sans', sans-serif; }
.service-desc  { font-size: 0.86rem; color: var(--muted); line-height: 1.7; margin-bottom: 0; }

@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how-section { background: var(--navy); }
.how-section .section-title { color: var(--white); }
.how-section .section-sub   { color: rgba(255,255,255,0.6); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px; left: 13%; right: 13%;
  height: 2px;
  background: rgba(255,214,0,0.2);
}

.step-item { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; color: var(--navy);
  margin: 0 auto 18px;
  position: relative; z-index: 2;
}

.step-title { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 10px; font-family: 'Plus Jakarta Sans', sans-serif; }
.step-desc  { font-size: 0.83rem; color: rgba(255,255,255,0.52); line-height: 1.65; margin-bottom: 0; }

@media (max-width: 960px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
}

/* ═══════════════════════════════════════════
   WHY B2M + COMPARISON
═══════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 50px;
}

.feature-list { display: flex; flex-direction: column; gap: 16px; }

.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--yellow);
}

.feature-icon  { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.feature-title { font-size: 0.93rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-desc  { font-size: 0.83rem; color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.compare-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.compare-title { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 22px; font-family: 'Plus Jakarta Sans', sans-serif; }

.bar-row { margin-bottom: 16px; }
.bar-label-row { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.bar-track { background: rgba(255,255,255,0.08); border-radius: 100px; height: 24px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 100px; display: flex; align-items: center; padding-left: 10px; font-size: 0.76rem; font-weight: 700; }
.fill-yellow { background: var(--yellow); color: var(--navy); }
.fill-gray   { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); }

.savings-result {
  margin-top: 20px;
  background: rgba(255,214,0,0.1);
  border: 1px solid rgba(255,214,0,0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex; justify-content: space-between; align-items: center;
}

.sr-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 0; }
.sr-value { font-family: 'DM Serif Display', serif; font-size: 1.7rem; color: var(--yellow); }

@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ═══════════════════════════════════════════
   CTA BLOCK
═══════════════════════════════════════════ */
.cta-section { background: var(--off-white); }

.cta-box {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 70px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
}

.cta-box h2    { color: var(--white); margin-bottom: 14px; }
.cta-box h2 span { color: var(--yellow); }
.cta-box p     { color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.cta-box-btns  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 960px) { .cta-box { padding: 44px 24px; } }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 80px 0 70px;
  margin-top: 70px;
  border-bottom: 4px solid var(--yellow);
}

.page-hero h1  { color: var(--white); margin-bottom: 16px; }
.page-hero p   { color: rgba(255,255,255,0.65); max-width: 600px; font-size: 1.05rem; margin-bottom: 0; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.timeline-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.tl-heading { font-size: 0.8rem; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 24px; }

.tl-item { display: flex; gap: 16px; margin-bottom: 22px; }
.tl-item:last-child { margin-bottom: 0; }

.tl-year {
  font-size: 0.74rem; font-weight: 700; color: var(--yellow);
  background: rgba(255,214,0,0.1); border: 1px solid rgba(255,214,0,0.2);
  padding: 4px 10px; border-radius: 6px; flex-shrink: 0; height: fit-content;
}

.tl-text { font-size: 0.86rem; color: rgba(255,255,255,0.7); line-height: 1.65; margin-bottom: 0; }

.tag-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

.tag-pill {
  padding: 5px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.value-icon  { font-size: 2rem; margin-bottom: 14px; display: block; }
.value-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-family: 'Plus Jakarta Sans', sans-serif; }
.value-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 0; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
}

.contact-detail-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: var(--off-white); border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.cd-icon  { font-size: 1.2rem; flex-shrink: 0; }
.cd-label { font-size: 0.72rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.cd-value { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-title { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 5px; }
.form-sub   { font-size: 0.86rem; color: var(--muted); margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9rem; color: var(--navy);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none; resize: vertical;
  appearance: none; -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   CAREERS PAGE
═══════════════════════════════════════════ */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.2s;
}

.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy); transform: translateY(-2px); }

.job-tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }

.job-tag {
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}

.tag-fulltime { background: rgba(0,184,156,0.1); color: var(--teal); }
.tag-remote   { background: rgba(13,27,110,0.08); color: var(--navy); }
.tag-dept     { background: rgba(255,214,0,0.15); color: var(--navy); }

.job-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-family: 'Plus Jakarta Sans', sans-serif; }
.job-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.job-apply { font-size: 0.83rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.perk-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px; text-align: center;
}

.perk-icon  { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.perk-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-family: 'Plus Jakarta Sans', sans-serif; }
.perk-desc  { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin-bottom: 0; }

@media (max-width: 960px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.blog-thumb { width: 100%; height: 200px; object-fit: cover; background: var(--navy); }
.blog-thumb-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-body { padding: 24px; }

.blog-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 12px; }
.blog-meta .cat { color: var(--teal); font-weight: 600; }
.blog-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.4; }
.blog-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.blog-read-more { font-size: 0.83rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }

.single-post { max-width: 780px; margin: 0 auto; padding: 60px 0; }
.single-post h2, .single-post h3 { margin: 32px 0 14px; }
.single-post p { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.single-post ul, .single-post ol { padding-left: 20px; margin-bottom: 16px; color: var(--muted); }
.single-post li { margin-bottom: 6px; line-height: 1.75; }
.single-post blockquote { border-left: 4px solid var(--yellow); padding-left: 20px; margin: 24px 0; font-style: italic; color: var(--navy); }

@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════ */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-meta {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 40px;
  font-size: 0.82rem;
  color: var(--muted);
  border-left: 3px solid var(--yellow);
}

.legal-wrap h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal-wrap p  { font-size: 0.93rem; line-height: 1.85; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 14px; }
.legal-wrap ul li { font-size: 0.93rem; color: var(--muted); line-height: 1.85; margin-bottom: 6px; }

/* ═══════════════════════════════════════════
   MODAL
═══════════════════════════════════════════ */
.b2m-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,15,74,0.78);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}

.b2m-modal-overlay.open { opacity: 1; pointer-events: all; }

.b2m-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
  position: relative;
}

.b2m-modal-overlay.open .b2m-modal { transform: translateY(0) scale(1); }

.modal-header {
  background: var(--navy);
  padding: 30px 34px 26px;
  border-bottom: 4px solid var(--yellow);
}

.modal-logo { height: 34px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }

.modal-tabs {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.modal-tab {
  flex: 1; padding: 9px;
  border: none; border-radius: 6px;
  font-family: inherit; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  color: rgba(255,255,255,0.6);
  background: transparent;
}

.modal-tab.active { background: var(--yellow); color: var(--navy); }

.modal-body-wrap { padding: 26px 34px 30px; }

.modal-close {
  position: absolute; top: 13px; right: 15px;
  width: 30px; height: 30px;
  border: none; background: rgba(255,255,255,0.15);
  border-radius: 50%; color: var(--white); font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(255,255,255,0.25); }

.modal-form-inner { display: none; }
.modal-form-inner.active { display: block; }

.social-login-btn {
  width: 100%; padding: 11px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.88rem; font-weight: 600;
  color: var(--navy); background: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s; margin-bottom: 4px;
}

.social-login-btn:hover { border-color: var(--navy); background: var(--off-white); }

.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0; color: var(--muted); font-size: 0.76rem;
}

.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.btn-form-submit {
  width: 100%; padding: 13px;
  background: var(--yellow); border: none; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--navy);
  cursor: pointer; margin-top: 6px; transition: all 0.2s;
}

.btn-form-submit:hover { background: var(--yellow-h); transform: translateY(-1px); }

.modal-footnote {
  font-size: 0.74rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.6;
}

.modal-footnote a { color: var(--navy); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
.b2m-toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--navy); color: var(--white);
  padding: 14px 22px; border-radius: var(--radius-sm);
  border-left: 4px solid var(--yellow);
  font-size: 0.88rem; font-weight: 600; z-index: 9999;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  max-width: 320px; line-height: 1.4;
}

.b2m-toast.show { transform: translateY(0); opacity: 1; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#site-footer {
  background: var(--navy-dark);
  padding: 60px 0 32px;
  border-top: 4px solid var(--yellow);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 260px; margin-bottom: 0; }
.footer-logo    { height: 32px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }

.footer-col h4 { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; font-family: 'Plus Jakarta Sans', sans-serif; }
.footer-col a  { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.45); text-decoration: none; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 12px;
}

.footer-badges { display: flex; gap: 8px; }
.footer-badge  { padding: 3px 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; font-size: 0.7rem; color: rgba(255,255,255,0.35); }

@media (max-width: 960px) {
  .footer-inner { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════════
   WORDPRESS BLOCKS & CONTENT
═══════════════════════════════════════════ */
.wp-block-image img { border-radius: var(--radius-sm); }
.wp-block-quote { border-left: 4px solid var(--yellow); padding-left: 20px; margin: 24px 0; }
.wp-block-quote cite { font-size: 0.85rem; color: var(--muted); }

.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter{ display: block; margin: 0 auto 16px; }

/* ═══════════════════════════════════════════
   COMMENTS
═══════════════════════════════════════════ */
.comments-area { max-width: 780px; margin: 0 auto; padding: 40px 0 60px; }
.comments-title { font-size: 1.4rem; margin-bottom: 28px; }
.comment-list   { list-style: none; }
.comment { padding: 24px 0; border-bottom: 1px solid var(--border); }
.comment-author { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.comment-meta   { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; }
.comment-content p { font-size: 0.9rem; }

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.page-numbers { padding: 9px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; color: var(--navy); text-decoration: none; transition: all 0.2s; }
.page-numbers:hover, .page-numbers.current { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }

/* ═══════════════════════════════════════════
   WOOCOMMERCE BASIC SUPPORT
═══════════════════════════════════════════ */
.woocommerce .button { background: var(--yellow); color: var(--navy); font-weight: 700; border-radius: var(--radius-sm); padding: 10px 20px; border: none; }
.woocommerce .button:hover { background: var(--yellow-h); }

/* ═══════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════ */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; overflow: hidden;
  position: absolute; width: 1px; word-wrap: normal;
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
