/* ===================================
   ReferView - Design System
   Tokens, base, shared components. Page-specific rules stay in each page.
   =================================== */

:root {
  /* Brand (from the logo: navy + blue + green) */
  --primary: #2457D6;
  --primary-dark: #1A43AD;
  --primary-light: #6C90EC;
  --primary-bg: #EEF3FF;
  --accent: #0A7F52;
  --accent-dark: #076843;
  --accent-light: #6FD3A9;
  --accent-bg: #E8F6EF;

  /* Semantic */
  --warning: #D98E04;
  --warning-dark: #8A5608;
  --warning-bg: #FFF6E3;
  --danger: #C93636;
  --danger-bg: #FDEDED;
  --info: var(--primary);
  --info-bg: var(--primary-bg);

  /* Neutrals */
  --dark: #0F1B33;
  --dark-2: #1B2A47;
  --dark-3: #33415C;
  --gray-600: #3F4A5C;
  --gray-500: #556070;
  --gray-400: #5F6B7C;
  --gray-300: #C5CDD9;
  --gray-200: #E1E6EE;
  --gray-100: #EEF1F6;
  --gray-50: #F6F8FB;
  --white: #FFFFFF;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.06);
  --shadow: 0 2px 6px rgba(15, 27, 51, 0.07);
  --shadow-md: 0 6px 16px rgba(15, 27, 51, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 27, 51, 0.10);
  --shadow-xl: 0 20px 40px rgba(15, 27, 51, 0.14);
  --shadow-glow: 0 0 0 4px rgba(36, 87, 214, 0.12);

  /* Shape */
  --border-radius: 10px;
  --border-radius-lg: 14px;
  --border-radius-xl: 18px;

  /* Motion */
  --transition: all 0.18s ease;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --header-height: 70px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
p a:not(.btn), label a, .faq-body a, .auth-foot a, .disclosure a { text-decoration: underline; text-underline-offset: 2px; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20000;
  background: var(--dark);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.75rem; outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.22; font-weight: 700; letter-spacing: -0.015em; color: var(--dark); }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h4 { font-size: 1.05rem; }
p { color: var(--gray-500); }

.lead { font-size: 1.125rem; line-height: 1.7; color: var(--gray-500); max-width: 60ch; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8rem; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }

/* ===== HEADER / NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--dark);
  flex-shrink: 0;
}
.nav-logo .logo-icon { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; display: inline-block; }

.footer-brand .logo-text img,
.reg-logo img { width: 28px; height: 28px; border-radius: 7px; vertical-align: -6px; margin-right: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: var(--dark-3);
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-bg); }
.nav-links a.active,
.nav-links a[aria-current="page"] { color: var(--primary); background: var(--primary-bg); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 10px;
}
.hamburger:hover { background: var(--gray-100); }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--dark-3); border-radius: 2px; transition: var(--transition); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 999;
}
.mobile-nav.open { display: block; }
.mobile-nav a:not(.btn) {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  color: var(--dark-3);
  font-weight: 500;
  transition: var(--transition);
}
.mobile-nav a:not(.btn):hover,
.mobile-nav a.active,
.mobile-nav a[aria-current="page"] { color: var(--primary); background: var(--primary-bg); }
.mobile-nav .mobile-actions {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.2rem;
  min-height: 40px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary,
.btn-outline { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover,
.btn-outline:hover { background: var(--primary-bg); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }

.btn-warning { background: var(--warning); color: var(--dark); }
.btn-warning:hover { filter: brightness(0.95); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(0.92); }

.btn-ghost { color: var(--dark-3); background: transparent; border-color: var(--gray-300); }
.btn-ghost:hover { color: var(--dark); border-color: var(--gray-400); background: var(--gray-50); }

.btn-lg { padding: 0.8rem 1.7rem; font-size: 1rem; min-height: 48px; border-radius: 12px; }
.btn-xl { padding: 1rem 2.2rem; font-size: 1.05rem; min-height: 54px; border-radius: 12px; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; min-height: 34px; border-radius: 8px; }
.btn-full { width: 100%; }

.text-link { color: var(--primary); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* ===== BADGES & CHIPS ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge-verified { background: var(--accent-bg); color: var(--accent-dark); border: 1px solid rgba(10, 127, 82, 0.2); }
.badge-primary { background: var(--primary-bg); color: var(--primary-dark); border: 1px solid rgba(36, 87, 214, 0.18); }
.badge-warning { background: var(--warning-bg); color: var(--warning-dark); border: 1px solid rgba(217, 142, 4, 0.25); }
.badge-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(201, 54, 54, 0.2); }
.badge-muted { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }
.badge-dark { background: var(--dark-3); color: white; }

/* Reputation tiers: flat, readable */
.rep-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.rep-bronze { background: #FBEFE4; color: #8A4A17; border-color: #F0D5BB; }
.rep-silver { background: #EEF1F5; color: #475467; border-color: #D5DBE4; }
.rep-gold { background: #FFF4D6; color: #7A5300; border-color: #F2DB9B; }
.rep-platinum { background: #E7F0FB; color: #1F4E8C; border-color: #C3D8F2; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark-3);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}
button.chip:hover, a.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 1.5rem; }
.card-glass { background: var(--white); border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }

/* ===== NOTICES / ALERTS ===== */
.notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1.1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--dark-3);
  font-size: 0.9rem;
  line-height: 1.55;
}
.notice > i { margin-top: 0.2rem; flex-shrink: 0; color: var(--gray-500); }
.notice strong { color: var(--dark); }
.notice--info { background: var(--primary-bg); border-color: rgba(36, 87, 214, 0.2); }
.notice--info > i { color: var(--primary); }
.notice--success { background: var(--accent-bg); border-color: rgba(10, 127, 82, 0.22); }
.notice--success > i { color: var(--accent); }
.notice--warning { background: var(--warning-bg); border-color: rgba(217, 142, 4, 0.3); }
.notice--warning > i { color: var(--warning-dark); }
.notice--danger { background: var(--danger-bg); border-color: rgba(201, 54, 54, 0.25); }
.notice--danger > i { color: var(--danger); }

/* ===== STATS ===== */
.stat-item { text-align: center; }
.stat-value { font-size: 2.25rem; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--gray-500); margin-top: 0.35rem; }

/* ===== STAR RATING ===== */
.stars { display: inline-flex; gap: 2px; }
.stars i { color: var(--warning); font-size: 0.85rem; }
.stars i.empty { color: var(--gray-300); }

/* ===== TIMER ===== */
.timer-component { display: flex; align-items: center; gap: 0.5rem; }
.timer-digits { display: flex; align-items: center; gap: 0.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.timer-unit { display: flex; flex-direction: column; align-items: center; }
.timer-number { background: var(--dark); color: white; padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 1.25rem; min-width: 2.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.timer-label { font-size: 0.65rem; color: var(--gray-500); margin-top: 0.1rem; }
.timer-colon { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }

/* ===== PROGRESS ===== */
.progress-bar { width: 100%; height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.4s ease; }
.progress-fill.accent { background: var(--accent); }
.progress-fill.warning { background: var(--warning); }

/* ===== STATUS ===== */
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.online { background: var(--accent); box-shadow: 0 0 0 2px rgba(10, 127, 82, 0.25); }
.status-dot.pending { background: var(--warning); }
.status-dot.offline { background: var(--gray-400); }
.status-dot.danger { background: var(--danger); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--dark-3); margin-bottom: 0.45rem; }
.form-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.4rem; line-height: 1.5; }
.form-error { font-size: 0.82rem; color: var(--danger); margin-top: 0.4rem; font-weight: 500; }

.form-control {
  width: 100%;
  padding: 0.7rem 0.95rem;
  min-height: 44px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:hover { border-color: var(--gray-400); }
.form-control:focus { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.form-control::placeholder { color: var(--gray-400); }
.form-control.error, .form-control[aria-invalid="true"] { border-color: var(--danger); }
.form-control:disabled { background: var(--gray-100); color: var(--gray-500); cursor: not-allowed; }
textarea.form-control { resize: vertical; line-height: 1.55; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556070' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.search-bar:focus-within { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.search-bar > i { padding-left: 1rem; color: var(--gray-400); }
.search-bar input { flex: 1; min-width: 0; border: none; outline: none; padding: 0.85rem 1rem; font-size: 1rem; color: var(--dark); background: transparent; }
.search-bar input::placeholder { color: var(--gray-400); }
.search-bar .search-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1.25rem;
  margin: 0.3rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.search-bar .search-btn:hover { background: var(--primary-dark); }

/* ===== AVATARS & PROFESSIONAL CARD (legacy .employee-card kept in sync) ===== */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gray-200); background: var(--gray-100); }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 100px; height: 100px; }
.avatar-wrapper { position: relative; display: inline-block; flex-shrink: 0; }
.avatar-verified {
  position: absolute; bottom: -2px; right: -2px;
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
}
.avatar-verified i { font-size: 9px; color: white; }

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark-3);
}

.employee-card, .pro-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.35rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.employee-card:hover, .pro-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }

.pro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.pro-card-head { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.9rem; }
.pro-card-name { font-size: 1.05rem; font-weight: 700; color: var(--dark); line-height: 1.25; overflow-wrap: anywhere; }
.pro-card-name a:hover { color: var(--primary); }
.pro-card-role { font-size: 0.85rem; color: var(--gray-500); margin-top: 0.15rem; overflow-wrap: anywhere; }
.pro-card-company { font-size: 0.85rem; color: var(--dark-3); font-weight: 600; }
.pro-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.9rem; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.8rem; }
.pro-card-meta strong { color: var(--dark); }
.pro-card-bio { font-size: 0.88rem; color: var(--gray-500); line-height: 1.55; margin-bottom: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pro-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.pro-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.95rem; border-top: 1px solid var(--gray-100); }
.pro-card-price { font-weight: 800; font-size: 1.1rem; color: var(--dark); line-height: 1.1; }
.pro-card-price small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--gray-500); margin-top: 0.15rem; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-header.left { text-align: left; }
.section-tag, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title { color: var(--dark); margin-bottom: 0.75rem; }
.section-title span { color: var(--primary); }
.section-desc { font-size: 1.05rem; max-width: 640px; margin: 0 auto; color: var(--gray-500); }
.section-header.left .section-desc { margin: 0; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 2.75rem 0 2.5rem; }
.page-header h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 0.6rem; }
.page-header p { max-width: 62ch; font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1rem; }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.6rem; }

/* ===== STEPS (wizard indicator) ===== */
.steps { display: flex; align-items: center; margin-bottom: 2.5rem; }
.step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.step-circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  border: 2px solid var(--gray-300); color: var(--gray-400); background: white;
  transition: var(--transition); position: relative; z-index: 1;
}
.step.active .step-circle { background: var(--primary); border-color: var(--primary); color: white; box-shadow: var(--shadow-glow); }
.step.completed .step-circle { background: var(--accent); border-color: var(--accent); color: white; }
.step-label { font-size: 0.78rem; font-weight: 600; color: var(--gray-400); margin-top: 0.5rem; text-align: center; }
.step.active .step-label { color: var(--primary); }
.step.completed .step-label { color: var(--accent); }
.step-line { height: 2px; flex: 1; background: var(--gray-300); margin: 0 -1px; position: relative; top: -10px; }
.step-line.completed { background: var(--accent); }

/* ===== FAQ (works with <details> and legacy markup) ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item, details.faq { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--border-radius); overflow: hidden; }
details.faq summary,
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-weight: 600; font-size: 0.98rem; color: var(--dark);
  cursor: pointer; list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--gray-400); line-height: 1; }
details.faq[open] summary::after { content: '\2212'; color: var(--primary); }
.faq-question:hover, details.faq summary:hover { background: var(--gray-50); }
.faq-icon { color: var(--gray-400); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner, details.faq .faq-body { padding: 0 1.25rem 1.2rem; color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; }

/* ===== EMPTY / LOADING STATES ===== */
.empty-state { text-align: center; padding: 3rem 1.5rem; background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--border-radius-lg); }
.empty-state .empty-icon { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: var(--white); color: var(--gray-400); border: 1px solid var(--gray-200); font-size: 1.2rem; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.empty-state p { max-width: 44ch; margin: 0 auto 1.1rem; font-size: 0.95rem; }

.loading-spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid var(--gray-200); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -3px; }
.loading-block { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 2.5rem 1rem; color: var(--gray-500); font-size: 0.95rem; grid-column: 1 / -1; }

/* ===== FOOTER ===== */
.footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); color: var(--gray-500); padding: 3.5rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .logo-text { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.footer-brand p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.7; max-width: 34ch; }
.footer-col h5 { color: var(--dark); font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--gray-500); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--gray-200); display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; color: var(--gray-500); max-width: 70ch; }

/* ===== TOASTS ===== */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; z-index: 11000; max-width: calc(100vw - 2rem); }
.toast {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: white; border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  min-width: 280px; max-width: 400px;
  animation: slideIn 0.25s ease;
}
.toast.success { border-left-color: var(--accent); }
.toast.warning { border-left-color: var(--warning); }
.toast.error { border-left-color: var(--danger); }
.toast-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--primary-bg); color: var(--primary); }
.toast.success .toast-icon { background: var(--accent-bg); color: var(--accent); }
.toast.warning .toast-icon { background: var(--warning-bg); color: var(--warning-dark); }
.toast.error .toast-icon { background: var(--danger-bg); color: var(--danger); }
.toast-content .toast-title { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.toast-content .toast-msg { font-size: 0.82rem; color: var(--gray-500); }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 27, 51, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: white; border-radius: var(--border-radius-lg);
  width: 92%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  transform: translateY(12px); transition: transform 0.2s ease;
  box-shadow: var(--shadow-xl);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { padding: 1.4rem 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.modal-header h3 { font-size: 1.15rem; }
.modal-close { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); cursor: pointer; transition: var(--transition); background: var(--gray-100); flex-shrink: 0; }
.modal-close:hover { background: var(--gray-200); color: var(--dark); }
.modal-body { padding: 1.5rem; }

/* ===== UTILITIES ===== */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-warning { color: var(--warning-dark) !important; }
.text-danger { color: var(--danger) !important; }
.text-gray { color: var(--gray-500) !important; }
.text-dark { color: var(--dark) !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 3rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.hidden { display: none; }
[hidden] { display: none !important; }

/* ===== ANIMATION ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-fadeInUp { animation: fadeInUp 0.45s ease both; }
.animate-pulse { animation: pulse 2s infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ===== AUTH PAGES ===== */
.auth-shell { background: var(--gray-50); padding: 3rem 1rem 4rem; display: flex; justify-content: center; align-items: flex-start; min-height: calc(100vh - var(--header-height) - 160px); }
.auth-card { width: 100%; max-width: 460px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--border-radius-xl); padding: 2rem; box-shadow: var(--shadow-md); }
.auth-head { margin-bottom: 1.5rem; text-align: center; }
.auth-head h1 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.auth-head p { font-size: 0.95rem; }
.auth-foot { margin-top: 1.25rem; text-align: center; font-size: 0.9rem; color: var(--gray-500); }
.auth-foot a { color: var(--primary); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--gray-100); border-radius: 12px; padding: 0.25rem; margin-bottom: 1.5rem; }
.segmented button { padding: 0.65rem 0.5rem; border-radius: 9px; font-weight: 600; font-size: 0.9rem; color: var(--gray-500); transition: var(--transition); }
.segmented button[aria-pressed="true"] { background: var(--white); color: var(--dark); box-shadow: var(--shadow-sm); }
.divider-text { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0; color: var(--gray-400); font-size: 0.82rem; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.btn-social { width: 100%; border: 1.5px solid var(--gray-300); background: var(--white); color: var(--dark-3); margin-bottom: 0.6rem; }
.btn-social:hover { background: var(--gray-50); border-color: var(--gray-400); }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; color: var(--gray-500); border-radius: 8px; }
.pw-toggle:hover { color: var(--dark); background: var(--gray-100); }

/* ===== MARKETING BLOCKS (home + service pages) ===== */
.hero { padding: 4rem 0 3.25rem; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; align-items: center; }
.hero-inner { max-width: 760px; }
.quick-list { display: grid; gap: 0.5rem; }
.quick-list a { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 0.9rem; border: 1px solid var(--gray-200); border-radius: var(--border-radius); background: var(--white); transition: var(--transition); }
.quick-list a:hover { border-color: var(--primary); background: var(--primary-bg); }
.quick-list .ql-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--primary-bg); color: var(--primary); }
.quick-list .ql-icon--green { background: var(--accent-bg); color: var(--accent); }
.quick-list .ql-icon--amber { background: var(--warning-bg); color: var(--warning-dark); }
.quick-list strong { display: block; color: var(--dark); font-size: 0.98rem; line-height: 1.3; }
.quick-list span.ql-text { display: block; font-size: 0.85rem; color: var(--gray-500); line-height: 1.4; }
.quick-list .ql-arrow { margin-left: auto; color: var(--gray-400); font-size: 0.8rem; }
.hero h1 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.hero .lead { margin-bottom: 1.75rem; }
.hero-search { max-width: 640px; }
.hero-links { margin-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.88rem; color: var(--gray-500); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--border-radius-lg); padding: 1.6rem; transition: var(--transition); }
.service-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.service-card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 1rem; background: var(--primary-bg); color: var(--primary); }
.service-card-icon--green { background: var(--accent-bg); color: var(--accent); }
.service-card-icon--amber { background: var(--warning-bg); color: var(--warning-dark); }
.service-card h3 { margin-bottom: 0.3rem; }
.service-card .for { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1rem; }
.service-card-foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 0.75rem; }
.service-card-price { font-size: 0.85rem; color: var(--gray-500); }
.service-card-price strong { color: var(--dark); font-size: 1rem; }
.service-card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.includes { display: grid; gap: 0.55rem; margin-bottom: 1.1rem; font-size: 0.93rem; color: var(--dark-3); }
.includes li { display: flex; gap: 0.6rem; align-items: flex-start; }
.includes li i { color: var(--accent); margin-top: 0.32rem; font-size: 0.8rem; flex-shrink: 0; }
.includes--no li i { color: var(--gray-400); }

.status-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.status-pill--live { background: var(--accent-bg); color: var(--accent-dark); }
.status-pill--soon { background: var(--gray-100); color: var(--gray-600); }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step-item { position: relative; padding-top: 0.25rem; }
.step-item::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.step-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step-item p { font-size: 0.95rem; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--border-radius-lg); padding: 1.6rem; }
.panel h3 { margin-bottom: 0.75rem; }
.panel--muted { background: var(--gray-50); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; }
.fact h3 { font-size: 1rem; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.55rem; }
.fact h3 i { color: var(--primary); width: 1.1rem; text-align: center; }
.fact p { font-size: 0.93rem; }

.cta-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.cta-box { border: 1px solid var(--gray-200); border-radius: var(--border-radius-lg); padding: 2rem; background: var(--white); }
.cta-box--dark { background: var(--dark); border-color: var(--dark); }
.cta-box--dark h2, .cta-box--dark h3 { color: #fff; }
.cta-box--dark p { color: #C5CDD9; }
.cta-box h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.cta-box p { margin-bottom: 1.25rem; }

.disclosure { font-size: 0.88rem; color: var(--gray-500); display: flex; gap: 0.6rem; align-items: flex-start; max-width: 780px; }
.disclosure i { margin-top: 0.2rem; color: var(--gray-400); }

.filter-bar { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1rem; align-items: end; margin-bottom: 0.75rem; }
.filter-bar .form-group { margin-bottom: 0; }
.result-count { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1.25rem; min-height: 1.4em; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0 1.25rem; }
.results-bar .result-count { margin: 0; }

.option-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.option-card { border: 1px solid var(--gray-200); border-radius: var(--border-radius-lg); padding: 1.6rem; background: var(--white); }
.option-card--muted { background: var(--gray-50); border-style: dashed; }
.option-card h3 { margin: 0.75rem 0 0.4rem; }
.option-card p { margin-bottom: 1rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar > :first-child { grid-column: 1 / -1; }
  .option-pair { grid-template-columns: 1fr; }
  .service-grid, .steps-row, .cta-pair { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .facts { grid-template-columns: 1fr; }
  .hero { padding: 2.75rem 0 2.25rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-inner { gap: 1rem; }
  .nav-links a { padding: 0.5rem 0.6rem; font-size: 0.88rem; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.25rem 0; }
  .page-header { padding: 2rem 0 1.75rem; }

  /* Collapse equal-column inline grids that stylesheets cannot otherwise reach */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr !important; }
  [style*="gap:4rem"], [style*="gap: 4rem"], [style*="gap:5rem"], [style*="gap: 5rem"] { gap: 2rem !important; }

  .modal { max-height: 90vh; overflow-y: auto; }
  .btn, .nav-actions .btn, .search-btn { min-height: 44px; }
  table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 600px) {
  .nav-actions .btn { display: none; }
  .nav-logo { font-size: 1.2rem; }
  .search-bar { flex-wrap: wrap; }
  .search-bar input { flex: 1 0 calc(100% - 3rem); }
  .search-bar .search-btn { flex: 1 0 100%; margin: 0 0.3rem 0.3rem; justify-content: center; }
  .toast-container { left: 1rem; right: 1rem; bottom: 1rem; }
  .toast { min-width: 0; max-width: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 1rem; }
  .btn-xl { padding: 0.9rem 1.5rem; font-size: 1rem; }
  .section { padding: 2.5rem 0; }
  .modal { width: 94%; }
  .modal-header { padding: 1.25rem 1.25rem 0; }
  .modal-body { padding: 1.25rem; }
  .pro-grid { grid-template-columns: 1fr; }
}

/* ===== VISUAL POLISH ===== */
:root {
  --grad-brand: linear-gradient(135deg, #2457D6 0%, #4C7BE8 100%);
  --grad-green: linear-gradient(135deg, #0A7F52 0%, #25B07A 100%);
  --grad-amber: linear-gradient(135deg, #D98E04 0%, #F2B33D 100%);
  --grad-navy: linear-gradient(135deg, #0F1B33 0%, #1B3A7A 100%);
  --shadow-color: 0 10px 30px rgba(36, 87, 214, 0.14);
}

.btn { box-shadow: 0 1px 2px rgba(15, 27, 51, 0.06); }
.btn-primary { background: var(--grad-brand); box-shadow: 0 6px 16px rgba(36, 87, 214, 0.28); }
.btn-primary:hover { background: linear-gradient(135deg, #1A43AD 0%, #2457D6 100%); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(36, 87, 214, 0.34); }
.btn-accent { background: var(--grad-green); }
.btn-secondary:hover, .btn-outline:hover { transform: translateY(-1px); }

.section-alt { background: linear-gradient(180deg, #F2F6FF 0%, #F8FAFD 100%); border-color: #E5ECFB; }
.section-title span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow, .section-tag { background: var(--primary-bg); padding: 0.3rem 0.8rem; border-radius: 999px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F2F6FF 0%, #FFFFFF 100%); border-bottom: 1px solid #E5ECFB; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(76, 123, 232, 0.28), transparent 68%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(37, 176, 122, 0.20), transparent 68%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .search-bar { box-shadow: var(--shadow-color); border-color: #CFDBF7; }
.hero .panel { box-shadow: var(--shadow-color); border-color: #DCE6FB; background: rgba(255, 255, 255, 0.85); }
.quick-list a { border-color: #E5ECFB; }
.quick-list a:hover { transform: translateX(3px); }
.ql-icon, .service-card-icon, .service-row .ql-icon { background: var(--grad-brand) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(36, 87, 214, 0.25); }
.ql-icon--green, .service-card-icon--green { background: var(--grad-green) !important; box-shadow: 0 6px 14px rgba(10, 127, 82, 0.25) !important; }
.ql-icon--amber, .service-card-icon--amber { background: var(--grad-amber) !important; box-shadow: 0 6px 14px rgba(217, 142, 4, 0.28) !important; }

/* Service cards */
.service-card { position: relative; overflow: hidden; border-color: #E5ECFB; box-shadow: 0 2px 8px rgba(15, 27, 51, 0.05); }
.service-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-brand); }
.service-card:nth-child(2)::before { background: var(--grad-green); }
.service-card:nth-child(3)::before { background: var(--grad-amber); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-color); border-color: #C9D8F8; }

/* Steps */
.step-item::before { background: var(--grad-brand); box-shadow: 0 6px 14px rgba(36, 87, 214, 0.28); width: 40px; height: 40px; }
.steps-row .step-item { background: var(--white); border: 1px solid #E5ECFB; border-radius: var(--border-radius-lg); padding: 1.5rem; }

/* Cards, pros */
.pro-card { border-color: #E5ECFB; }
.pro-card:hover, .employee-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-color); border-color: #C9D8F8; }
.pro-card .avatar { border: 2px solid #DCE6FB; box-shadow: 0 0 0 3px #F2F6FF; }
.panel, .fact { transition: var(--transition); }
.fact { background: var(--white); border: 1px solid #E5ECFB; border-radius: var(--border-radius-lg); padding: 1.25rem; }
.fact h3 i { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--primary-bg); }

/* Inner page headers */
.page-header { position: relative; overflow: hidden; background: linear-gradient(135deg, #F2F6FF 0%, #FFFFFF 70%); border-bottom-color: #E5ECFB; }
.page-header::after { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 123, 232, 0.22), transparent 68%); pointer-events: none; }
.page-header .container { position: relative; z-index: 1; }

/* Call-to-action blocks */
.cta-box--dark { background: var(--grad-navy); border: none; position: relative; overflow: hidden; }
.cta-box--dark::after { content: ''; position: absolute; right: -80px; bottom: -100px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 123, 232, 0.5), transparent 70%); }
.cta-box--dark > * { position: relative; z-index: 1; }
.cta-box:not(.cta-box--dark) { background: linear-gradient(135deg, #F2F6FF, #FFFFFF); border-color: #DCE6FB; }

/* Auth, nav, footer */
.auth-shell { background: linear-gradient(180deg, #F2F6FF 0%, #F8FAFD 100%); }
.auth-card { border-color: #E5ECFB; box-shadow: var(--shadow-color); }
.navbar { border-bottom-color: #E5ECFB; box-shadow: 0 1px 0 rgba(36, 87, 214, 0.04); }
.footer { background: linear-gradient(180deg, #F8FAFD 0%, #EEF3FF 100%); border-top-color: #DCE6FB; }

@media (prefers-reduced-motion: reduce) {
  .service-card:hover, .pro-card:hover, .quick-list a:hover, .btn-primary:hover { transform: none; }
}
@media (max-width: 960px) {
  .hero::before { width: 320px; height: 320px; right: -120px; top: -140px; }
}
