/* ─── RESET & ROOT ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0f1f3d;
  --navy-light: #1a2f54;
  --slate: #2d3e50;
  --charcoal: #1e2a3a;
  --orange: #e8642c;
  --orange-hover: #d4561f;
  --orange-light: #fdf0eb;
  --teal: #1a8a7d;
  --teal-light: #e8f5f3;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-50: #f4f5f7;
  --gray-100: #e8eaef;
  --gray-200: #d1d5de;
  --gray-400: #8c95a6;
  --gray-600: #5a6270;
  --gray-800: #2e3440;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 1px 3px rgba(15,31,61,0.06);
  --shadow-md: 0 4px 16px rgba(15,31,61,0.08);
  --shadow-lg: 0 8px 32px rgba(15,31,61,0.1);
  --shadow-xl: 0 16px 48px rgba(15,31,61,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1440px;
  /* Status colors (Phase 8) */
  --amber: #e8a317;
  --amber-light: #fef3cd;
  --status-amber: #e8a317;
  --status-amber-light: #fef6e0;
  --status-green: #22a06b;
  --status-green-light: #e3fcef;
  --status-blue: #2b7de9;
  --status-blue-light: #deebff;
  --status-red: #cf3b3b;
  --status-red-light: #fdeaea;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Above-the-fold containers paint immediately with no fade, so the user does
   not see a 0.7-1.2s blank stripe while IntersectionObserver fires. */
.hero .animate-up,
.hero-enterprise .animate-up,
.hero-compact .animate-up,
.hero-bundle .animate-up,
.hero-bundle-list .animate-up,
.hero-search .animate-up,
.legal-hero .animate-up,
.page-header .animate-up,
.quote-page-header .animate-up {
  opacity: 1;
  animation: none;
  transform: none;
}

/* Honor prefers-reduced-motion: skip the fade entirely site-wide. */
@media (prefers-reduced-motion: reduce) {
  .animate-up {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem; color: var(--gray-600);
  max-width: 580px; margin: 0 auto;
}

/* ─── COMMON BUTTONS ─── */
.btn-primary {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  padding: 16px 32px;
  background: var(--orange); color: var(--white);
  border: none; border-radius: var(--radius);
  cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,100,44,0.3);
}
.btn-outline {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  padding: 15px 30px;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white); border-radius: var(--radius);
  cursor: pointer; transition: all 0.25s; background: none;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}
.btn-text {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s; background: none; border: none; cursor: pointer;
}
.btn-text:hover { color: var(--white); }
.btn-text svg { transition: transform 0.2s; }
.btn-text:hover svg { transform: translateX(4px); }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto; padding: 0 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem;
  color: var(--navy); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--orange); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 800;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links li { position: relative; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 600;
  color: var(--slate); transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

/* Dropdown menus */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown > a::after {
  content: ''; display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--gray-400);
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--gray-800); transition: all 0.15s;
}
.dropdown-menu a:hover { background: var(--off-white); color: var(--orange); }

.nav-right {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.nav-phone {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem;
  color: var(--navy); letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 6px;
}
.nav-phone svg { width: 16px; height: 16px; stroke: var(--orange); }
.btn-quote-nav {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.85rem;
  padding: 9px 20px;
  border: 2px solid var(--navy); border-radius: 8px;
  color: var(--navy); transition: all 0.2s;
  cursor: pointer; background: none;
}
.btn-quote-nav:hover { background: var(--navy); color: var(--white); }
.nav-signin {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 500;
  color: var(--gray-600);
}
.nav-signin:hover { color: var(--orange); }

/* User dropdown (logged-in state) */
.nav-user-wrapper { position: relative; }
.nav-user {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 60px;
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
  cursor: pointer;
}
.nav-user:hover { border-color: var(--gray-200); background: var(--gray-50); }
.nav-user.open { border-color: var(--gray-200); background: var(--gray-50); }
.nav-user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
}
.nav-user-name {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600;
  color: var(--slate);
}
.nav-user-dropdown-caret {
  width: 10px; height: 10px; stroke: var(--gray-400);
  fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.nav-user.open .nav-user-dropdown-caret { transform: rotate(180deg); }
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 110;
  overflow: hidden;
}
.nav-user-dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 14px;
}
.dropdown-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0;
}
.dropdown-user-name {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.dropdown-user-email {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.3;
}
.dropdown-nav { padding: 8px 0; }
.dropdown-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 500;
  color: var(--gray-800);
  transition: all 0.15s;
  cursor: pointer;
  width: 100%; text-align: left;
  text-decoration: none; border: none; background: none;
}
.dropdown-nav-item:hover { background: var(--off-white); color: var(--orange); }
.dropdown-nav-item svg {
  width: 18px; height: 18px;
  stroke: var(--gray-400); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke 0.15s;
}
.dropdown-nav-item:hover svg { stroke: var(--orange); }
.dropdown-nav-item.active { color: var(--orange); background: var(--orange-light); font-weight: 600; }
.dropdown-nav-item.active svg { stroke: var(--orange); }
.dropdown-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }
.dropdown-nav-item.danger { color: var(--gray-600); }
.dropdown-nav-item.danger:hover { color: var(--status-expired); }
.dropdown-nav-item.danger:hover svg { stroke: var(--status-expired); }
.dropdown-plan {
  margin: 0 12px 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.dropdown-plan-text {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.dropdown-plan-text strong {
  display: block; font-size: 0.82rem;
  color: var(--white); font-weight: 700;
}
.dropdown-plan-btn {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  padding: 6px 14px;
  background: var(--orange);
  color: var(--white);
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-plan-btn:hover { background: var(--orange-hover); }

/* Cart indicator */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}
.nav-cart:hover { background: var(--off-white); }
.nav-cart svg {
  width: 20px; height: 20px;
  stroke: var(--slate); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s;
}
.nav-cart:hover svg { stroke: var(--orange); }
.nav-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 700;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}
.nav-cart-count.empty {
  transform: scale(0);
  opacity: 0;
}
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.nav-cart-count.pulse {
  animation: cartPulse 0.35s ease;
}

/* Mobile cart icon */
.mobile-cart {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.mobile-cart svg {
  width: 22px; height: 22px;
  stroke: var(--navy); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.mobile-cart .nav-cart-count { top: 0; right: 0; }

/* Mobile nav */
.mobile-menu-btn {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; z-index: 1001;
}
.mobile-cta-bar { display: none; }

/* Mobile overlay menu */
.mobile-menu-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,31,61,0.5);
  z-index: 1100;
  opacity: 0; transition: opacity 0.3s;
}
.mobile-menu-overlay.active { opacity: 1; }

.mobile-menu-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 320px; max-width: 85vw;
  background: var(--white);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: none;
}
.mobile-menu-panel.active { transform: translateX(0); }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu-close {
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-body { padding: 16px 0; }
.mobile-menu-body a {
  display: block; padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--navy); transition: background 0.15s;
}
.mobile-menu-body a:hover { background: var(--off-white); }
.mobile-menu-section {
  padding: 8px 24px 4px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-400);
}
.mobile-menu-divider { height: 1px; background: var(--gray-100); margin: 8px 0; }
.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-100);
}
.mobile-menu-footer a.mobile-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  color: var(--navy); padding: 0; margin-bottom: 16px;
}
.mobile-menu-footer a.mobile-phone svg { stroke: var(--orange); }
.mobile-menu-footer .btn-primary {
  width: 100%; justify-content: center; margin-bottom: 10px;
}
.mobile-menu-footer .btn-outline-dark {
  width: 100%; display: flex; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px;
  border: 2px solid var(--navy); border-radius: var(--radius);
  color: var(--navy); background: none; cursor: pointer;
  transition: all 0.2s;
}
.mobile-menu-footer .btn-outline-dark:hover {
  background: var(--navy); color: var(--white);
}

/* ─── FOOTER ─── */
footer { background: var(--navy); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .nav-logo .logo-mark { background: var(--orange); }
.footer-brand p {
  font-size: 0.88rem; color: rgba(255,255,255,0.4);
  line-height: 1.6; max-width: 300px; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.footer-social a svg {
  width: 18px; height: 18px;
  transition: fill 0.2s;
}
.footer-social a svg,
.footer-social a svg path {
  fill: rgba(255,255,255,0.55);
}
.footer-social a:hover svg,
.footer-social a:hover svg path { fill: var(--white); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 28px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem; color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex; align-items: center; gap: 8px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.45); font-size: 0.82rem;
}
.footer-bottom-links span { color: rgba(255,255,255,0.2); font-size: 0.82rem; }

/* ─── RESPONSIVE ─── */
/* Nav switches to hamburger at 1024 to avoid the 769-1024 squeeze where the
   desktop nav exceeds the viewport (Phase 10E Task 10 fix). Counter-rule at
   `min-width: 1025px` below toggles .nav-mobile-right and .mobile-cart back
   to their desktop state. */
@media (max-width: 1024px) {
  .nav-right { flex-shrink: 1; min-width: 0; max-width: 50%; }
  .nav-links, .nav-phone, .btn-quote-nav, .nav-signin, .nav-cart { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-cart { display: flex; }
  .nav-mobile-right { display: flex; align-items: center; gap: 4px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; overflow: hidden; }
  .mobile-cta-bar {
    display: block; position: fixed;
    bottom: 0; left: 0; right: 0; z-index: 999;
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }
  .mobile-cta-bar .btn-primary {
    width: 100%; justify-content: center; padding: 14px; font-size: 0.95rem;
  }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .section-header { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  body { padding-bottom: 70px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-social { justify-content: center; }
}
@media (min-width: 1025px) {
  .nav-mobile-right { display: contents; }
  .mobile-cart { display: none !important; }
}

/* Impersonation Banner (Phase 10B) */
.impersonation-banner { width: 100%; height: 40px; padding: 0 32px; display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; z-index: 1000; color: #fff; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; }
.impersonation-banner--read-only { background: linear-gradient(135deg, #cf3b3b 0%, #e04a2c 100%); }
.impersonation-banner--write-enabled { background: linear-gradient(135deg, #e8642c 0%, #e8a317 100%); }
.impersonation-banner__icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: rgba(255,255,255,0.2); border-radius: 50%; }
.impersonation-banner__icon svg { width: 13px; height: 13px; }
.impersonation-banner__user { font-weight: 800; }
.impersonation-banner__btn, .impersonation-banner__exit-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.impersonation-banner__btn:hover, .impersonation-banner__exit-btn:hover { background: rgba(255,255,255,0.25); }
.impersonation-banner__toggle, .impersonation-banner__exit { margin: 0; display: inline-block; }
@media (max-width: 768px) {
    .impersonation-banner { height: auto; padding: 8px 16px; flex-wrap: wrap; font-size: 0.75rem; }
    .impersonation-banner__btn, .impersonation-banner__exit-btn { font-size: 0.7rem; padding: 4px 10px; }
}

/* ─── PAGE HERO (shared, Phase 10D Batch 6) ─── */
/* Navy-gradient page header reused across /orders, /profile, /contactus.
   Page-specific padding tweaks (e.g. .page-header--lg for /contactus) live in
   per-page CSS files. */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 36px 0 40px;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 75% 50%, rgba(232,100,44,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.page-header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
.page-header-content { max-width: 720px; }
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 8px;
}
.page-header-sub {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: rgba(255,255,255,0.7);
}

/* Breadcrumb (lives inside .page-header but also reusable on its own) */
.breadcrumb {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 14px;
}
.breadcrumb a {
    color: rgba(255,255,255,0.45);
    transition: color 0.2s;
}
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb span { margin: 0 6px; color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: rgba(255,255,255,0.85); }

/* Right-side outlined button used on /orders ("Back to Training"). */
.btn-back-training {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.btn-back-training:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.45);
}
.btn-back-training svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .page-header { padding: 28px 0 32px; }
    .page-header-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
    .btn-back-training { align-self: flex-start; }
}
