/* ==========================================================================
   CMS Theme Layer — loads AFTER Bootstrap 5.3
   ==========================================================================

   LOAD ORDER:
     <link href="bootstrap-5.3.min.css" rel="stylesheet">
     <link href="fonts.css"             rel="stylesheet">
     <link href="style.css"             rel="stylesheet">   ← THIS FILE
     <link href="theme.css"             rel="stylesheet">   ← per-site overrides

   THEMING:
     Override these in theme.css and everything cascades:
       --bs-primary / --bs-primary-rgb
       --bs-accent  / --bs-accent-rgb
       --font-heading, --font-display, --font-body
       --bs-heading-color, --bs-section-title-color
       --bs-border-radius

   Bootstrap 5.3 treats --bs-primary as read-only (it doesn't cascade
   into .btn-primary etc.).  This file wires up component-level overrides
   using --bs-btn-*, so a single :root change propagates everywhere.

   TABLE OF CONTENTS:
     1. Custom Properties
     2. Base Typography
     3. Utility Classes
     4. Buttons
     5. Navigation
     6. Footer
     7. Section Backgrounds & Separators
     8. Icons
     9. Alert Boxes
    10. Hero Gradient
    11. Accessibility & Reduced Motion
   ========================================================================== */


/* ==========================================================================
   1. CUSTOM PROPERTIES
   ========================================================================== */
:root,
[data-bs-theme="light"] {

  /* ── Brand Colours — CHANGE THESE PER SITE via theme.css ─────────── */
  --bs-primary:     #34509c;
  --bs-primary-rgb: 52, 80, 156;
  --bs-accent:      #ea1f63;
  --bs-accent-rgb:  234, 31, 99;

  /* ── Derived Shades (auto-computed via color-mix) ────────────────── */
  --bs-primary-hover:          color-mix(in srgb, var(--bs-primary) 80%, black);
  --bs-primary-active:         color-mix(in srgb, var(--bs-primary) 70%, black);
  --bs-primary-subtle:         color-mix(in srgb, var(--bs-primary) 10%, white);
  --bs-primary-bg-subtle:      var(--bs-primary-subtle);
  --bs-primary-border-subtle:  color-mix(in srgb, var(--bs-primary) 25%, white);
  --bs-primary-text-emphasis:  color-mix(in srgb, var(--bs-primary) 80%, black);
  --bs-primary-shadow:         color-mix(in srgb, var(--bs-primary) 25%, transparent);

  --bs-accent-hover:   color-mix(in srgb, var(--bs-accent) 85%, black);
  --bs-accent-active:  color-mix(in srgb, var(--bs-accent) 75%, black);
  --bs-accent-subtle:  color-mix(in srgb, var(--bs-accent) 10%, white);
  --bs-accent-shadow:  color-mix(in srgb, var(--bs-accent) 30%, transparent);

  /* ── Fonts ───────────────────────────────────────────────────────── */
  --font-heading:
    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-heading);
  --font-body:
    "Open Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-font-sans-serif: var(--font-body);

  /* ── Heading Colours ─────────────────────────────────────────────── */
  --bs-heading-color:       var(--bs-primary);
  --bs-section-title-color: var(--bs-heading-color);

  /* ── Typography Scale (fluid) ────────────────────────────────────── */
  --fs-display: clamp(2.5rem, 5vw, 3.5rem);
  --fs-h1:      clamp(2rem, 4vw, 2.5rem);
  --fs-h2:      clamp(1.75rem, 3vw, 2rem);
  --fs-lead:    clamp(1.125rem, 2vw, 1.25rem);

  /* ── Body & Link Colours ─────────────────────────────────────────── */
  --bs-body-color:     var(--bs-gray-700);
  --bs-link-color:     var(--bs-primary);
  --bs-link-color-rgb: var(--bs-primary-rgb);

  /* ── Layout ──────────────────────────────────────────────────────── */
  --navbar-height:     64px;
  --container-padding: clamp(1.5rem, 5vw, 3rem);

  /* ── Section Backgrounds ─────────────────────────────────────────── */
  --bs-cta-bg: color-mix(in srgb, var(--bs-primary) 8%, white);

  /* ── Alert palette (themeable) ───────────────────────────────────── */
  --alert-tip-color:       #16a34a;
  --alert-tip-bg:          #f0fdf4;
  --alert-tip-border:      #bbf7d0;
  --alert-info-color:      #0d6efd;
  --alert-info-bg:         #eff6ff;
  --alert-info-border:     #bfdbfe;
  --alert-warning-color:   #f59e0b;
  --alert-warning-bg:      #fffbeb;
  --alert-warning-border:  #fde68a;
  --alert-danger-color:    #dc2626;
  --alert-danger-bg:       #fef2f2;
  --alert-danger-border:   #fecaca;
}


/* ==========================================================================
   2. BASE TYPOGRAPHY
      Bootstrap handles body, p, strong, code, blockquote basics.
      We add heading font family and fine-tuning.
   ========================================================================== */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── Headings ──────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  color: var(--bs-heading-color);
  letter-spacing: -0.02em;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
}

h1, .h1 { font-size: var(--fs-h1); font-weight: 800; }
h2, .h2 { font-size: var(--fs-h2); clear: both; }
h3, .h3 { font-weight: 600; }

/* ── Display headings ──────────────────────────────────────────────── */
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.display-4 { font-size: var(--fs-display); }

/* ── Lead text ─────────────────────────────────────────────────────── */
.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.8;
}

/* ── Links ─────────────────────────────────────────────────────────── */
a {
  text-underline-offset: 0.2em;
  transition: color 0.2s ease-in-out, text-underline-offset 0.2s ease-in-out;
}
a:hover { text-underline-offset: 0.3em; }

/* ── Blockquote ────────────────────────────────────────────────────── */
blockquote {
  font-style: italic;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--bs-primary);
}

/* ── Container override ────────────────────────────────────────────── */
.container-xxl { padding-inline: var(--container-padding); }


/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */
.fw-extrabold   { font-weight: 800 !important; }
.font-heading    { font-family: var(--font-heading) !important; }
.font-display    { font-family: var(--font-display) !important; }
.font-body       { font-family: var(--font-body) !important; }
.text-section-title { color: var(--bs-section-title-color) !important; }
.text-accent        { color: var(--bs-accent) !important; }
.ls-wide         { letter-spacing: 0.08em !important; }
.ls-wider        { letter-spacing: 0.12em !important; }

/* ── Eyebrow / Section Label ──────────────────────────────────────── *
 * Shared treatment for uppercase kicker lines above headings.
 * Colour is NOT set here — apply .text-accent, .text-body-secondary,
 * or .text-white-50 alongside.
 * ──────────────────────────────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}


/* ==========================================================================
   4. BUTTONS
      Using Bootstrap 5.3 component-level CSS variables (--bs-btn-*).
   ========================================================================== */

/* ── Base .btn enhancements ────────────────────────────────────────── */
.btn {
  --bs-btn-font-family: var(--font-body);
  letter-spacing: 0.01em;
  gap: 0.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.btn:disabled,
.btn.disabled {
  transform: none !important;
}

/* --- Primary --- */
.btn-primary {
  --bs-btn-bg:            var(--bs-primary);
  --bs-btn-border-color:  var(--bs-primary);
  --bs-btn-color:         #fff;
  --bs-btn-hover-bg:      var(--bs-primary-hover);
  --bs-btn-hover-border-color: var(--bs-primary-hover);
  --bs-btn-hover-color:   #fff;
  --bs-btn-active-bg:     var(--bs-primary-active);
  --bs-btn-active-border-color: var(--bs-primary-active);
  --bs-btn-active-color:  #fff;
  --bs-btn-disabled-bg:   var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  box-shadow: 0 3px 10px var(--bs-primary-shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--bs-primary-shadow);
}

/* --- Outline Primary --- */
.btn-outline-primary {
  --bs-btn-color:         var(--bs-primary);
  --bs-btn-border-color:  var(--bs-primary);
  --bs-btn-hover-bg:      var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-hover-color:   #fff;
  --bs-btn-active-bg:     var(--bs-primary-active);
  --bs-btn-active-border-color: var(--bs-primary-active);
  --bs-btn-active-color:  #fff;
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
.btn-outline-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px var(--bs-primary-shadow);
}

/* --- Accent (custom — not in Bootstrap) --- */
.btn-accent {
  --bs-btn-bg:            var(--bs-accent);
  --bs-btn-border-color:  var(--bs-accent);
  --bs-btn-color:         #fff;
  --bs-btn-hover-bg:      var(--bs-accent-hover);
  --bs-btn-hover-border-color: var(--bs-accent-hover);
  --bs-btn-hover-color:   #fff;
  --bs-btn-active-bg:     var(--bs-accent-active);
  --bs-btn-active-border-color: var(--bs-accent-active);
  --bs-btn-active-color:  #fff;
  --bs-btn-disabled-bg:   var(--bs-accent);
  --bs-btn-disabled-border-color: var(--bs-accent);
  --bs-btn-focus-shadow-rgb: var(--bs-accent-rgb);
  --bs-btn-font-weight:   600;
  box-shadow: 0 4px 15px var(--bs-accent-shadow);
  position: relative;
  overflow: hidden;
}

.btn-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.btn-accent:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px var(--bs-accent-shadow);
}
.btn-accent:hover::before { left: 100%; }
.btn-accent:active        { transform: translateY(0) scale(1); }
.btn-accent:focus-visible { box-shadow: 0 0 0 0.25rem rgba(var(--bs-accent-rgb), 0.25); }

.btn-accent:disabled,
.btn-accent.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-accent.btn-lg {
  font-weight: 700;
  box-shadow: 0 5px 20px var(--bs-accent-shadow);
}

/* --- Outline Accent (custom) --- */
.btn-outline-accent {
  --bs-btn-color:         var(--bs-accent);
  --bs-btn-border-color:  var(--bs-accent);
  --bs-btn-hover-bg:      var(--bs-accent);
  --bs-btn-hover-border-color: var(--bs-accent);
  --bs-btn-hover-color:   #fff;
  --bs-btn-active-bg:     var(--bs-accent-active);
  --bs-btn-active-border-color: var(--bs-accent-active);
  --bs-btn-active-color:  #fff;
  --bs-btn-focus-shadow-rgb: var(--bs-accent-rgb);
}
.btn-outline-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px var(--bs-accent-shadow);
}
.btn-outline-accent:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-accent-rgb), 0.25);
}
.btn-outline-accent:disabled,
.btn-outline-accent.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* --- White / Outline-White (for dark backgrounds) --- */
.btn-white {
  --bs-btn-bg:           #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-color:        var(--bs-primary);
  --bs-btn-hover-bg:     #f8f9fa;
  --bs-btn-hover-color:  var(--bs-primary);
  --bs-btn-font-weight:  600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-outline-white {
  --bs-btn-color:        #fff;
  --bs-btn-border-color: rgba(255,255,255,0.8);
  --bs-btn-hover-bg:     rgba(255,255,255,0.95);
  --bs-btn-hover-color:  var(--bs-primary);
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Shared hover lift --- */
.btn-secondary:hover { transform: translateY(-1px); }

/* --- Hero button sizing --- */
.hero-section .btn:first-child { min-width: 160px; }
@media (max-width: 767px) {
  .hero-section .btn:first-child { min-width: 140px; }
}


/* ==========================================================================
   5. NAVIGATION
      Bootstrap provides the structure (.navbar, .nav-link, .navbar-toggler).
      We add: gradient brand, animated underline, glassmorphism mobile menu.
   ========================================================================== */
.navbar {
  min-height: var(--navbar-height);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bs-primary);
}
.navbar-brand:hover { transform: translateX(3px); }

.navbar-brand span {
  background: linear-gradient(135deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 60%, white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--bs-gray-700);
  border-radius: var(--bs-border-radius);
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--bs-primary);
  background-color: color-mix(in srgb, var(--bs-primary) 8%, transparent);
}
.navbar-nav .nav-link.active {
  background-color: color-mix(in srgb, var(--bs-primary) 12%, transparent);
}

/* Animated underline (desktop) */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-accent));
  transition: width 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%);
  opacity: 0;
}
.navbar-nav .nav-link:hover::after {
  width: calc(100% - 2rem);
  opacity: 1;
}

/* Mobile toggler */
.navbar-toggler {
  color: var(--bs-primary);
  border: none;
  border-radius: var(--bs-border-radius);
}
.navbar-toggler:hover,
.navbar-toggler:focus {
  background-color: color-mix(in srgb, var(--bs-primary) 10%, transparent);
  box-shadow: none;
}

/* Glassmorphism mobile menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 1rem;
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    width: 100%;
  }
  .navbar-nav .nav-link::after { display: none; }
}


/* ==========================================================================
   6. FOOTER
      Uses --bs-primary as background. Scoped under :is(footer, .footer-primary)
      to avoid selector duplication.
   ========================================================================== */

/* ── Base ──────────────────────────────────────────────────────────── */
:is(footer, .footer-primary) {
  background-color: var(--bs-primary) !important;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
}

/* ── Flex layout ───────────────────────────────────────────────────── */
.footer-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-text-section { flex: 0 0 100%; }
.footer-menu-section {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-menu-column {
  flex: 1 1 200px;
  min-width: 0;
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-menu-column { flex: 1 1 calc(33.333% - 1rem); }
}
@media (min-width: 992px) {
  .footer-flex-wrapper { gap: 3rem; }
  .footer-text-section { flex: 0 0 calc(40% - 1.5rem); }
  .footer-menu-section { flex: 0 0 calc(60% - 1.5rem); gap: 2rem; }
  .footer-menu-column  { flex: 1 1 0; }
}
@media (min-width: 1200px) {
  .footer-flex-wrapper { gap: 4rem; }
  .footer-text-section { flex: 0 0 calc(40% - 2rem); }
  .footer-menu-section { flex: 0 0 calc(60% - 2rem); gap: 3rem; }
}
@media (min-width: 1400px) {
  .footer-flex-wrapper { gap: 5rem; }
  .footer-text-section { flex: 0 0 calc(40% - 2.5rem); padding-right: 2rem; }
  .footer-menu-section { flex: 0 0 calc(60% - 2.5rem); gap: 3rem; }
}

/* ── Text & headings ──────────────────────────────────────────────── */
:is(footer, .footer-primary) :is(h3, h4, .h5) {
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 600;
}
:is(footer, .footer-primary) p,
:is(footer, .footer-primary) .text-secondary {
  color: rgba(255,255,255,0.8) !important;
}
:is(footer, .footer-primary) .small {
  color: rgba(255,255,255,0.7) !important;
}

/* ── Links ─────────────────────────────────────────────────────────── */
:is(footer, .footer-primary) ul a,
.footer-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-family: var(--font-body);
}
.footer-link {
  padding: 0.5rem 0;
  font-size: 0.875rem;
}
:is(footer, .footer-primary) ul a:hover,
.footer-link:hover {
  color: #fff;
}

/* ── Border ────────────────────────────────────────────────────────── */
:is(footer, .footer-primary) .border-top {
  border-top-color: rgba(255,255,255,0.2) !important;
}

/* ── Language switcher ─────────────────────────────────────────────── */
:is(footer, .footer-primary) .language-link {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: var(--bs-border-radius-sm);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  color: rgba(255,255,255,0.9);
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
}
:is(footer, .footer-primary) .language-link:hover {
  background-color: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transform: translateY(-1px);
}
:is(footer, .footer-primary) .language-link.active {
  background-color: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  font-weight: 500;
}
:is(footer, .footer-primary) .language-link img {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
}

/* ── Dropdown ──────────────────────────────────────────────────────── */
:is(footer, .footer-primary) .dropdown-toggle {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}
:is(footer, .footer-primary) .dropdown-toggle:hover,
:is(footer, .footer-primary) .dropdown-toggle:focus {
  background-color: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
:is(footer, .footer-primary) .dropdown-item:hover,
:is(footer, .footer-primary) .dropdown-item:focus {
  background-color: var(--bs-primary-subtle);
  color: var(--bs-primary);
}
:is(footer, .footer-primary) .dropdown-item.active {
  background-color: var(--bs-primary);
  color: #fff;
}

/* ── Responsive gap ────────────────────────────────────────────────── */
@media (max-width: 767px) {
  :is(footer, .footer-primary) .language-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
  :is(footer, .footer-primary) .language-link img {
    width: 20px;
    height: 15px;
  }
}


/* ==========================================================================
   7. SECTION BACKGROUNDS & SEPARATORS
   ========================================================================== */
.cta { background-color: var(--bs-cta-bg); }

.bg-accent { background-color: var(--bs-accent) !important; }
.bg-accent-subtle { background-color: var(--bs-accent-subtle) !important; }

.section-separator { position: relative; padding: 1.5rem 0; }
.separator-line {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--bs-gray-300) 20%,
    var(--bs-gray-300) 80%,
    transparent
  );
}


/* ==========================================================================
   8. ICONS
   ========================================================================== */
.feature-icon,
.icon-sm {
  fill: currentColor;
  flex-shrink: 0;
}
.feature-icon { width: 24px; height: 24px; }
.icon-sm      { width: 16px; height: 16px; }


/* ==========================================================================
   9. ALERT BOXES
      Variant colours are set via CSS custom properties (see :root) so
      theme.css can override them. Each variant only sets three props.
   ========================================================================== */
.alert-box {
  --_alert-color:  var(--alert-info-color);
  --_alert-bg:     var(--alert-info-bg);
  --_alert-border: var(--alert-info-border);

  background: linear-gradient(135deg, var(--_alert-bg) 0%, #fff 100%);
  border: none;
  border-left: 4px solid var(--_alert-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.alert-box:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.alert-box .alert-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #1e293b;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--_alert-border);
}
.alert-box .alert-header :is(i, .bi) {
  color: var(--_alert-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Variants — only override the three custom properties */
.alert-box.alert-tip {
  --_alert-color:  var(--alert-tip-color);
  --_alert-bg:     var(--alert-tip-bg);
  --_alert-border: var(--alert-tip-border);
}
.alert-box.alert-info {
  --_alert-color:  var(--alert-info-color);
  --_alert-bg:     var(--alert-info-bg);
  --_alert-border: var(--alert-info-border);
}
.alert-box.alert-warning {
  --_alert-color:  var(--alert-warning-color);
  --_alert-bg:     var(--alert-warning-bg);
  --_alert-border: var(--alert-warning-border);
}
.alert-box.alert-important {
  --_alert-color:  var(--alert-danger-color);
  --_alert-bg:     var(--alert-danger-bg);
  --_alert-border: var(--alert-danger-border);
}


/* ==========================================================================
   10. HERO GRADIENT
   ========================================================================== */
.hero-gradient {
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    color-mix(in srgb, var(--bs-primary) 70%, var(--bs-accent)) 100%
  );
  color: #fff;
}
.hero-gradient .hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}


/* ==========================================================================
   11. ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::before {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}