/* ── Brand Tokens ── */
:root {
  --ax-blue:       #2876A6;
  --ax-blue-dark:  #1b5a82;
  --ax-blue-light: #e8f3fa;
  --ax-gold:       #F5A31A;
  --ax-gold-dark:  #d48a10;
  --ax-dark:       #12283a;
  --ax-gray:       #f5f7fa;
  --ax-text-muted: #6c7a89;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ax-dark);
}

/* ── Navbar ── */
.navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.navbar-brand img { height: 40px; }
.navbar-nav .nav-link {
  color: var(--ax-dark) !important;
  font-weight: 500;
  padding-inline: 1rem;
  transition: color .2s;
}
.navbar-nav .nav-link:hover { color: var(--ax-blue) !important; }
.btn-nav-cta {
  background: var(--ax-gold);
  color: #fff !important;
  border-radius: 50px;
  padding: .45rem 1.4rem !important;
  font-weight: 600;
  transition: background .2s;
}
.btn-nav-cta:hover { background: var(--ax-gold-dark) !important; }

/* ── Hero ── */
#hero {
  background: linear-gradient(135deg, var(--ax-blue-dark) 0%, var(--ax-blue) 60%, #3a9fd6 100%);
  color: #fff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
#hero .maple-leaf {
  position: absolute;
  right: -60px;
  top: -40px;
  opacity: .06;
  font-size: 420px;
  line-height: 1;
  pointer-events: none;
}
#hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}
#hero h1 span { color: var(--ax-gold); }
#hero .lead { font-size: 1.15rem; opacity: .9; max-width: 560px; }
.btn-hero-primary {
  background: var(--ax-gold);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .15s;
}
.btn-hero-primary:hover { background: var(--ax-gold-dark); transform: translateY(-2px); color: #fff; }
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50px;
  padding: .73rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ── Trust bar ── */
#trust {
  background: #fff;
  border-bottom: 1px solid #e8eef3;
  padding: 18px 0;
}
#trust .trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ax-text-muted);
  font-size: .9rem;
  font-weight: 500;
  justify-content: center;
}
#trust .trust-item i { color: var(--ax-blue); font-size: 1.2rem; }

/* ── Section titles ── */
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ax-blue);
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}
.section-title span { color: var(--ax-gold); }
.section-divider {
  width: 48px;
  height: 4px;
  background: var(--ax-gold);
  border-radius: 2px;
  margin: .75rem 0 1.25rem;
}

/* ── About ── */
#about { padding: 96px 0; background: var(--ax-gray); }
.about-stat {
  text-align: center;
  padding: 1.5rem;
}
.about-stat .stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ax-blue);
  line-height: 1;
}
.about-stat .stat-num span { color: var(--ax-gold); }
.about-stat p { color: var(--ax-text-muted); margin: .25rem 0 0; font-size: .9rem; }

/* ── Featured Product ── */
#product { padding: 96px 0; background: #fff; }
.product-card {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(40, 118, 166, .12);
}
.product-card .card-header {
  background: linear-gradient(135deg, var(--ax-blue) 0%, #3a9fd6 100%);
  padding: 2.5rem 2rem 1.5rem;
  color: #fff;
  border: 0;
}
.product-card .badge-canada {
  background: rgba(255,255,255,.2);
  color: #fff;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .9rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.product-card .card-body { padding: 2rem; }
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
}
.feature-check i { color: var(--ax-blue); font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.feature-check p { margin: 0; color: #3d4f5c; font-size: .95rem; }
.btn-product {
  background: var(--ax-blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  transition: background .2s, transform .15s;
  text-decoration: none;
  display: inline-block;
}
.btn-product:hover { background: var(--ax-blue-dark); transform: translateY(-2px); color: #fff; }

/* ── Services ── */
#services { padding: 96px 0; background: var(--ax-gray); }
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid #e4ecf2;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(40,118,166,.13); transform: translateY(-4px); }
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--ax-blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ax-blue);
  margin-bottom: 1.1rem;
}
.service-card h5 { font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; }
.service-card p { color: var(--ax-text-muted); font-size: .9rem; margin: 0; }

/* ── Canada Banner ── */
#canada {
  background: linear-gradient(135deg, var(--ax-gold-dark) 0%, var(--ax-gold) 100%);
  color: #fff;
  padding: 72px 0;
}
#canada h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
#canada p { opacity: .9; max-width: 580px; }
.btn-canada {
  background: #fff;
  color: var(--ax-gold-dark);
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  transition: opacity .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-canada:hover { opacity: .9; color: var(--ax-gold-dark); }

/* ── Contact ── */
#contact { padding: 96px 0; background: #fff; }
.contact-card {
  background: var(--ax-blue);
  border-radius: 20px;
  padding: 3rem;
  color: #fff;
}
.contact-card h2 { font-weight: 800; }
.contact-card .form-control,
.contact-card .form-select {
  border-radius: 10px;
  border: 0;
  padding: .75rem 1rem;
  font-size: .95rem;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus { box-shadow: 0 0 0 3px rgba(245,163,26,.4); }
.btn-contact-submit {
  background: var(--ax-gold);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .75rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s;
}
.btn-contact-submit:hover { background: var(--ax-gold-dark); color: #fff; }

/* ── Footer ── */
footer {
  background: var(--ax-dark);
  color: rgba(255,255,255,.65);
  padding: 52px 0 28px;
}
footer .footer-brand img { height: 36px; filter: brightness(0) invert(1); opacity: .85; }
footer h6 { color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
footer a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; display: block; margin-bottom: .45rem; transition: color .2s; }
footer a:hover { color: var(--ax-gold); }
footer .footer-divider { border-color: rgba(255,255,255,.1); margin: 2rem 0 1.5rem; }
footer .footer-bottom { font-size: .82rem; }
footer .social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7) !important;
  font-size: 1rem;
  margin-right: .4rem;
  margin-bottom: 0;
  transition: background .2s;
}
footer .social-link:hover { background: var(--ax-blue); color: #fff !important; }

/* ── Language Switcher (Subdued Sliding Toggle) ── */
.lang-switcher { display: inline-flex; }
.ls5-toggle {
  position: relative;
  width: 68px;
  height: 26px;
  background: transparent;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid #d8dee5;
  transition: border-color .2s ease, background .2s ease;
}
.ls5-toggle:hover {
  border-color: var(--ax-blue);
  background: rgba(40,118,166,.04);
}
.ls5-label {
  flex: 1;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  color: var(--ax-text-muted);
  z-index: 2;
  transition: color .25s ease;
  letter-spacing: .04em;
  pointer-events: none;
}
.ls5-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 30px;
  height: 20px;
  background: var(--ax-blue);
  border-radius: 50px;
  z-index: 1;
  transition: transform .3s cubic-bezier(.4,.2,.2,1);
  pointer-events: none;
}
.ls5-toggle.is-fr .ls5-thumb { transform: translateX(32px); }
.ls5-toggle:not(.is-fr) .ls5-en,
.ls5-toggle.is-fr .ls5-fr { color: #fff; }
.ls5-toggle:focus-visible {
  outline: 2px solid var(--ax-blue);
  outline-offset: 2px;
}
