/* ============================================================
   WIBES LLC — Light editorial design system
   Single-accent, serif-display headlines, Tabler icons.

   Palette
     page bg  #FAFAF8   text     #1C1C1A   accent   #2B4C7E
     surface  #F2F0EB   card bg  #EDEBE5   border   #D6D4CD
   ============================================================ */

:root {
  --page-bg:     #FAFAF8;
  --text:        #1C1C1A;
  --accent:      #2B4C7E;
  --accent-dark: #22406B;
  --surface:     #F2F0EB;
  --card-bg:     #EDEBE5;
  --border:      #D6D4CD;
  --muted:       #6B6B64;
  --faint:       #9A9A94;
  --dark:        #1C1C1A;
  --white:       #ffffff;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow-md: 0 14px 36px rgba(28, 28, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 28, 26, 0.12);
  --container: 1140px;

  /* Legacy aliases so shared pages and the chat widget keep resolving */
  --bg:            var(--page-bg);
  --surface2:      var(--card-bg);
  --surface3:      #E4E1D9;
  --border-strong: #C4C2BA;
  --accent1:       var(--accent);
  --accent2:       var(--accent);
  --sky:           var(--accent);
  --teal:          var(--accent);
  --amber:         var(--accent);
  --green:         #3F7D5B;
  --glow:          rgba(43, 76, 126, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; position: relative; }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* ── Headings / type ────────────────────────────────────── */
h1, h2 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: 52px; }
h2 { font-size: 36px; margin-bottom: 14px; }
h3 { font-size: 19px; }

p { color: var(--muted); }

/* Highlighted phrase inside a serif headline */
.gradient-text {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
}

/* ── Section label / eyebrow ────────────────────────────── */
.section-label,
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .lead { margin: 0 auto; }
.section-head.center .lead { text-align: center; }

/* ── Icons (Tabler webfont) ─────────────────────────────── */
.ti { line-height: 1; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo .mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.logo-lockup {
  height: 50px;
  width: auto;
  display: block;
}
.logo-tagline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 30px;
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  padding-left: 13px;
  border-left: 1px solid var(--border);
}
@media (max-width: 560px) {
  .logo-lockup { height: 42px; }
  .logo-tagline { display: none; }
}

.logo .sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  background: var(--accent);
  color: var(--white) !important;
  padding: 11px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-cta.active::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 460px; }
  .nav-links a { width: 100%; padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 14px 24px; text-align: center; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

.btn-outline-light,
.btn-outline-navy {
  border-color: var(--border);
  color: var(--text);
  background: var(--white);
}
.btn-outline-light:hover,
.btn-outline-navy:hover { border-color: var(--accent); color: var(--accent); }

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

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--page-bg);
  color: var(--text);
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.hero-badge i { font-size: 15px; }

.hero h1 {
  color: var(--text);
  font-size: 60px;
  max-width: 860px;
  margin-bottom: 22px;
}

.hero .lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 600px;
  margin-bottom: 34px;
}

@media (max-width: 768px) {
  h1 { font-size: 34px; }
  .hero h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero { padding: 64px 0 56px; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  justify-content: space-between;
}
.stat { min-width: 140px; }
.stat .stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 40px;
  line-height: 1.05;
  color: var(--accent);
}
.stat .stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .stats-row { gap: 28px 32px; }
  .stat .stat-num { font-size: 32px; }
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  background: var(--surface);
  color: var(--text);
  padding: 80px 0 56px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--text); font-size: 46px; margin-bottom: 12px; }
.page-header .lead { color: var(--muted); margin: 0; max-width: 640px; }

@media (max-width: 768px) {
  .page-header h1 { font-size: 32px; }
  .page-header { padding: 56px 0 44px; }
}

/* ============================================================
   PUBLISHED APPLICATIONS
   ============================================================ */
.apps-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 800px) {
  .apps-row { grid-template-columns: 1fr; }
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.app-card .app-icon {
  width: 64px; height: 64px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}
.app-card .app-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-card .app-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.app-card .app-desc { font-size: 14.5px; color: var(--muted); margin: -6px 0 0; }

.app-free-badge {
  margin-left: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-style: italic;
  color: var(--green);
  white-space: nowrap;
}

.app-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.app-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 7px;
}

.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.app-card .store-buttons { margin-top: auto; }
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--dark);
  padding: 11px 18px;
  border-radius: 10px;
  transition: transform 0.18s ease, background 0.18s ease;
}
.store-button:hover { transform: translateY(-2px); background: #000; }
.store-button i { font-size: 20px; }

.app-privacy {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.app-privacy:hover { color: var(--accent); text-decoration: underline; }

.more-soon {
  font-size: 13px;
  color: var(--faint);
  font-style: italic;
}

/* Why-it-matters pillars (3-up row under the app cards) */
.apps-why { margin-top: 72px; }
.apps-why .section-label { display: block; text-align: center; }
.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .pillars-row { grid-template-columns: 1fr; gap: 24px; max-width: 560px; margin: 0 auto; }
}
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pillar-icon i { font-size: 22px; }
.pillar h3 { font-size: 16px; margin-bottom: 4px; }
.pillar p { font-size: 14px; color: var(--muted); margin: 0; }

/* ============================================================
   SERVICES GRID (3 × 2, hairline gap lines)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-cell {
  background: var(--page-bg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: background 0.18s ease;
}
.service-cell .card-link { margin-top: auto; align-self: flex-start; }

/* Call-to-action tile that closes out the grid */
.service-cta {
  background: var(--accent);
  text-decoration: none;
}
.service-cta:hover { background: var(--accent-dark); }
.service-cta .svc-icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}
.service-cta h3 { color: var(--white); }
.service-cell.service-cta p { color: rgba(255, 255, 255, 0.85); }
.service-cta .cta-go {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: gap 0.18s ease;
}
.service-cta:hover .cta-go { gap: 10px; }
.service-cell:not(.service-cta):hover { background: var(--surface); }
.service-cell .svc-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-cell:not(.service-cta):hover .svc-icon { background: var(--white); }
.service-cell .svc-icon i { font-size: 23px; }
.service-cell h3 { font-size: 18px; margin-bottom: 9px; }
.service-cell p { font-size: 14.5px; color: var(--muted); }
.service-cell .card-link { margin-top: 14px; }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GENERIC GRID / CARDS  (services.html, about values)
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-wide { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card .icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
}
.card .icon-box i { font-size: 24px; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

.card ul {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card ul li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.card ul li strong { color: var(--text); font-weight: 600; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.18s ease;
}
.card-link:hover { gap: 10px; color: var(--accent-dark); }

/* Per-card accent classes collapse to the single accent */
.card.accent-teal,
.card.accent-purple,
.card.accent-orange,
.card.accent-green,
.card.accent-gold { --accent: #2B4C7E; }

/* ============================================================
   SECTION BACKGROUND VARIANTS
   ============================================================ */
.bg-offwhite,
.bg-navy {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   WHY / FEATURE STRIP
   ============================================================ */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.feature-strip .feature {
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.feature-strip .feature:last-child { border-right: none; }
.feature .ficon { color: var(--accent); margin-bottom: 12px; }
.feature .ficon i { font-size: 26px; }
.feature h4 { color: var(--text); font-size: 15px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip .feature:nth-child(2n) { border-right: none; }
  .feature-strip .feature { border-bottom: 1px solid var(--border); }
}

/* ============================================================
   CREDENTIAL TICKER
   ============================================================ */
.ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 20px 0;
}
.ticker-head {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.ticker-mask { overflow: hidden; }
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.ticker-item i { color: var(--accent); font-size: 18px; }

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

/* ============================================================
   PEDIGREE LOGO BAND
   ============================================================ */
.pedigree {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 72px 0;
}
.pedigree .section-head { margin-bottom: 44px; }
.pedigree-mask { overflow: hidden; }
.pedigree-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* background here so mix-blend-mode: multiply has a backdrop inside the
     stacking context the animation transform creates */
  background: var(--surface);
  animation: ticker 72s linear infinite;
}
.pedigree-track:hover { animation-play-state: paused; }
.pedigree-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 34px;
}
.pedigree-logo img {
  max-height: 46px;
  max-width: 150px;
  width: auto;
  /* multiply hides the white boxes around the source logos on the band bg */
  mix-blend-mode: multiply;
}

@media (max-width: 768px) {
  .pedigree { padding: 56px 0; }
  .pedigree-logo { padding: 0 24px; }
  .pedigree-logo img { max-height: 38px; max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .pedigree-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    gap: 24px 0;
  }
  .pedigree-track .pedigree-logo[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ============================================================
   CTA (full-bleed dark)
   ============================================================ */
.cta-dark { background: var(--dark); padding: 0; }
.cta-dark .cta-inner {
  padding: 64px 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-dark h2 { color: var(--white); margin-bottom: 12px; }
.cta-dark p { color: rgba(255, 255, 255, 0.7); margin: 0 auto 28px; max-width: 520px; }

@media (max-width: 768px) {
  .cta-dark .cta-inner { padding: 48px 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--surface);
  color: var(--muted);
  padding: 38px 0 22px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.footer-grid p { color: var(--muted); font-size: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: row; flex-wrap: wrap; gap: 22px; }
.footer-grid ul li { color: var(--muted); font-size: 14px; }
.footer-grid ul a { color: var(--muted); font-size: 14px; transition: color 0.15s ease; }
.footer-grid ul a:hover { color: var(--accent); }

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; color: var(--text);
  margin-bottom: 0;
}
.footer-logo .mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: block;
}
.footer-logo .logo-lockup { height: 44px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  font-size: 13px;
  color: var(--faint);
}
.footer-bottom .legal-links { display: flex; gap: 24px; }
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   TWO-COLUMN CONTENT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

.split p { color: var(--muted); }

.split-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.split-visual .badge-pill {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
  padding: 10px 18px;
  box-shadow: var(--shadow-md);
}

.bullet-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
.bullet-list li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* ============================================================
   STAT / CRED CARDS
   ============================================================ */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.stat-card .num {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  color: var(--accent);
}
.stat-card .label { font-size: 13px; color: var(--muted); margin-top: 6px; }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .cred-grid { grid-template-columns: 1fr; } }

.cred-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.cred-card .cred-num {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 6px;
}
.cred-card h3 { font-size: 17px; margin-bottom: 8px; }
.cred-card p { font-size: 14px; color: var(--muted); }

/* ============================================================
   FOUNDER / ABOUT ME
   ============================================================ */
.founder-photo-wrap {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}
.founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.founder-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent);
  color: var(--white);
  font-size: 20px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.founder-linkedin:hover { background: var(--accent-dark); transform: translateY(-2px); }
.founder-caption .founder-name {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  color: var(--text);
  line-height: 1.1;
}
.founder-caption .founder-role {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
@media (max-width: 860px) {
  .founder-photo-wrap { max-width: 320px; }
}

/* ============================================================
   CERTIFICATION BADGE WALL (4-column grid)
   ============================================================ */
.creds-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 760px) { .creds-wall { grid-template-columns: repeat(2, 1fr); } }

.cred-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cred-badge .cred-img {
  width: 100%;
  height: 116px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cred-badge:hover .cred-img { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cred-badge .cred-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cred-badge .cred-name {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

/* Legacy grouped certification styles (kept for safety) */
.cert-groups { display: flex; flex-direction: column; gap: 44px; }
.cert-group-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  margin-bottom: 24px;
}
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cert-tile { flex: 0 1 190px; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.cert-logo {
  width: 100%; height: 116px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.cert-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-tile figcaption { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }

/* ============================================================
   TIMELINE / NUMBERED STEPS
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { color: var(--text); font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14px; margin: 0; color: var(--muted); }

/* ============================================================
   CTA BANNER (legacy, used by services.html)
   ============================================================ */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--text);
}
.cta-banner h2 { color: var(--text); margin-bottom: 8px; }
.cta-banner p { color: var(--muted); margin: 0; }
.cta-banner .btn-primary { white-space: nowrap; }

@media (max-width: 768px) {
  .cta-banner { padding: 32px 26px; flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.form-card h3 { color: var(--text); }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--page-bg);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--faint); }
.form-row select option { background: var(--white); color: var(--text); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .ci-icon i { font-size: 20px; }
.contact-info-item h4 { font-size: 14.5px; margin-bottom: 2px; color: var(--text); }
.contact-info-item p { font-size: 14px; margin: 0; color: var(--muted); }
.contact-info-item a { color: var(--accent); }
.contact-info-item a:hover { color: var(--accent-dark); }

.note-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.note-banner .note-icon { color: var(--accent); flex-shrink: 0; }
.note-banner .note-icon i { font-size: 20px; }
.note-banner strong { color: var(--text); }

/* ============================================================
   LEGAL / TEXT PAGES  (privacy policy, support)
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; }
.legal .effective-date { font-size: 14px; color: var(--faint); margin-bottom: 8px; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.legal h2 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.legal p, .legal li { font-size: 15px; color: var(--muted); line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .footer-note { margin-top: 36px; font-size: 13px; color: var(--faint); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0; }

/* ============================================================
   CHAT ASSISTANT WIDGET
   ============================================================ */
.wibes-chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform 0.15s ease, background 0.15s ease;
}
.wibes-chat-toggle:hover { transform: scale(1.06); background: var(--accent-dark); }

.wibes-chat-pulse { animation: wibes-pulse 2.4s infinite; }
@keyframes wibes-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(43, 76, 126, 0.4), var(--shadow-lg); }
  70%  { box-shadow: 0 0 0 14px rgba(43, 76, 126, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(43, 76, 126, 0), var(--shadow-lg); }
}

.wibes-chat-window {
  position: fixed;
  bottom: 94px;
  right: 24px;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 500px;
  max-height: calc(100vh - 140px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}
.wibes-chat-window[hidden] { display: none; }

.wibes-chat-header {
  background: var(--surface);
  color: var(--text);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.wibes-chat-header-info { display: flex; align-items: center; gap: 12px; }
.wibes-chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; flex-shrink: 0; color: var(--white);
  font-family: 'DM Serif Display', serif;
}
.wibes-chat-header h4 { color: var(--text); font-size: 14.5px; margin: 0; }
.wibes-chat-status {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 5px; margin-top: 2px;
}
.wibes-chat-status::before {
  content: ""; display: inline-block;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.wibes-chat-close {
  background: none; border: none; color: var(--muted);
  font-size: 16px; cursor: pointer; line-height: 1; padding: 4px;
}
.wibes-chat-close:hover { color: var(--text); }

.wibes-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--page-bg);
}
.wibes-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.wibes-msg-bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.wibes-msg-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.wibes-msg a { font-weight: 700; text-decoration: underline; }
.wibes-msg-bot a { color: var(--accent); }
.wibes-msg-user a { color: var(--white); }

.wibes-typing { display: flex; gap: 4px; align-items: center; padding: 4px 2px; }
.wibes-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: wibes-bounce 1.2s infinite ease-in-out;
}
.wibes-typing span:nth-child(2) { animation-delay: 0.15s; }
.wibes-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes wibes-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wibes-chat-quick-replies {
  padding: 0 18px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--page-bg);
  flex-shrink: 0;
}
.wibes-quick-reply {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wibes-quick-reply:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.wibes-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}
.wibes-chat-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  background: var(--page-bg);
  color: var(--text);
}
.wibes-chat-input-row input::placeholder { color: var(--faint); }
.wibes-chat-input-row input:focus {
  outline: none; border-color: var(--accent); background: var(--white);
}
.wibes-chat-input-row button {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 999px;
  width: 42px; height: 42px;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.wibes-chat-input-row button:hover { background: var(--accent-dark); }

.wibes-chat-footer-note {
  font-size: 10.5px;
  text-align: center;
  color: var(--faint);
  padding: 6px 12px 10px;
  background: var(--white);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .wibes-chat-window {
    right: 12px; left: 12px; width: auto; bottom: 90px;
    height: calc(100vh - 160px);
  }
  .wibes-chat-toggle { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .wibes-chat-pulse, .wibes-typing span { animation: none; }
}

/* ============================================================
   ABOUT PAGE — darker body text for readability
   ============================================================ */
.page-about .page-header .lead,
.page-about section p,
.page-about .bullet-list li {
  color: #33332E;
}
.page-about .cta-dark p { color: rgba(255, 255, 255, 0.85); }
