/* ═══════════════════════════════════════════════
   AgenticMia — Professional Business Design v3
   No animation, stronger contrast, better depth
   ═══════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:          #141B24;
  --bg-alt:      #1A2330;
  --bg-warm:    #1C2735;
  --surface:     #222E3E;
  --surface-2:   #2A3A4E;
  --surface-h:   #334660;
  --border:      #3A4D66;
  --border-soft: #2A3A4E;
  --text:        #E8EDF5;
  --text-muted:  #9CA8B8;
  --text-dim:    #6B7B92;
  --accent:      #5B9BD5;
  --accent-h:    #6BAEE0;
  --accent-soft: rgba(91, 155, 213, 0.12);
  --accent-glow: rgba(91, 155, 213, 0.08);
  --green:       #34D399;
  --radius:      10px;
  --radius-lg:   16px;
  --max:         1120px;
  --read:        720px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35);
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.45);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-h); }

/* ── Glow Orbs (subtle background depth) ── */
.glow-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.glow-orb--blue { background: rgba(91, 155, 213, 0.10); }
.glow-orb--warm { background: rgba(200, 160, 110, 0.05); }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20, 27, 36, 0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.3px;
}
.nav-logo img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-size: 15px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(91,155,213,0.25);
}
.nav-cta:hover { background: var(--accent-h); box-shadow: 0 4px 16px rgba(91,155,213,0.35); }

/* ── Mobile menu toggle — desktop hidden ── */
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 24px; cursor: pointer;
}


/* ── Sections ── */
.section { padding: 100px 24px; position: relative; overflow: hidden; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section--warm { background: var(--bg-warm); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }

.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -1px; line-height: 1.2; margin-bottom: 24px;
  max-width: 800px;
}
.section-text {
  font-size: 18px; color: var(--text-muted); line-height: 1.8;
  max-width: 680px; margin-bottom: 24px;
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.50;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,27,36,0.35) 0%, rgba(20,27,36,0.75) 65%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 20px; font-size: 13px;
  color: var(--text-muted); margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700;
  letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 24px;
  max-width: 780px;
}
.hero p {
  font-size: 19px; color: var(--text-muted); line-height: 1.8;
  max-width: 620px; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Hero with image (split layout on desktop, stacked on mobile) ── */
.hero--with-image {
  min-height: auto;
  padding: 120px 24px 80px;
  background: var(--bg);
}
.hero--with-image .hero-split {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.hero--with-image .hero-text { position: relative; z-index: 1; }
.hero--with-image .hero-img { position: relative; z-index: 1; }
.hero--with-image .hero-img img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero--with-image h1 {
  font-size: clamp(30px, 4.5vw, 48px);
}
.hero--with-image p {
  font-size: 18px;
}
/* Subtle glow behind hero image */
.hero--with-image::before {
  content: ''; position: absolute; top: 20%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--accent-glow); filter: blur(100px);
  z-index: 0;
}
@media (max-width: 900px) {
  .hero--with-image .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero--with-image { padding: 100px 20px 60px; }
}

/* ── Hero without image (text-only hero) ── */
.hero--text {
  min-height: 50vh; padding-top: 140px; padding-bottom: 60px;
  background: var(--bg);
}
.hero--text .hero-content { max-width: var(--max); }
.hero--text h1 { font-size: clamp(30px, 4.5vw, 46px); }
.hero--text::before {
  content: ''; position: absolute; top: 20%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--accent-glow); filter: blur(100px);
  z-index: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 16px; transition: all .2s;
  border: none; cursor: pointer;
}
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 12px rgba(91,155,213,0.2);
}
.btn--primary:hover {
  background: var(--accent-h); color: #fff;
  box-shadow: 0 4px 20px rgba(91,155,213,0.35);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--text); background: var(--surface); }

/* ── Service Ticker ── */
.ticker {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0; overflow: hidden;
  background: var(--bg-alt);
}
.ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
}
.ticker-item {
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 12px;
}
.ticker-item::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin-left: 36px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Card Grid ── */
.grid { display: grid; gap: 20px; }
.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 {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 32px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft); border: 1px solid rgba(91,155,213,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 20px;
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── Split Section (image + text) ── */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.split-img img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }
.split-text h2 { margin-bottom: 20px; }
.split-list { list-style: none; margin-top: 24px; }
.split-list li {
  padding: 10px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 16px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 12px;
}
.split-list li::before {
  content: '—'; color: var(--accent); flex-shrink: 0; font-weight: 600;
}

/* ── Stats — single container ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.stat-box {
  padding: 40px 24px; text-align: center;
  border-right: 1px solid var(--border-soft);
}
.stat-box:last-child { border-right: none; }
.stat-num {
  font-size: 48px; font-weight: 700; color: var(--accent);
  letter-spacing: -2px; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-muted); }

/* ── Blog Cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Blog Featured (split layout, like hero) ── */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}
.blog-featured:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.blog-featured-img {
  overflow: hidden; min-height: 100%;
}
.blog-featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.blog-featured:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-body {
  padding: 40px; display: flex; flex-direction: column;
  justify-content: center;
}
.blog-featured-body h3 {
  font-size: 24px; font-weight: 700; margin-bottom: 12px; line-height: 1.3;
}
.blog-featured-body p {
  font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px;
}
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: auto; aspect-ratio: 16/9; }
  .blog-featured-body { padding: 28px; }
}
@media (max-width: 600px) {
  .blog-featured-body { padding: 20px; }
  .blog-featured-body h3 { font-size: 20px; }
}
.blog-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card--featured .blog-card-img { aspect-ratio: 16/9; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.blog-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 14px; color: var(--text-muted); flex: 1; }
.blog-card-meta {
  font-size: 13px; color: var(--text-dim); margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--border-soft);
}

/* ── Blog Post ── */
.post-hero {
  position: relative;
  display: flex; align-items: flex-end;
  padding: 100px 24px 0; overflow: hidden;
  background: var(--bg);
}
.post-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.50;
}
.post-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,27,36,0.15) 0%, rgba(20,27,36,0.50) 50%, rgba(20,27,36,0.92) 100%);
}
.post-hero-content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; padding-bottom: 40px; }
.post-hero h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px;
  max-width: 700px;
}
.post-hero-meta { font-size: 14px; color: var(--text-muted); }

/* Hero image — full 16:9, responsive, never cropped */
.post-hero-image {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
}
.post-hero-image img {
  width: 100%; height: auto; display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}


.post-body { padding: 60px 24px 80px; }
.post-body-inner { max-width: var(--max); margin: 0 auto; }

.post-lead {
  max-width: var(--read); margin: 0 auto 60px;
  font-size: 20px; line-height: 1.8; color: var(--text);
  border-left: 3px solid var(--accent); padding-left: 24px;
}

.post-section { margin-bottom: 80px; }
.post-section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px; display: block;
}
.post-section h2 {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  letter-spacing: -0.5px; margin-bottom: 24px;
  max-width: var(--read);
}
.post-text {
  max-width: var(--read); margin: 0 auto;
  font-size: 18px; line-height: 1.85; color: var(--text-muted);
}
.post-text p { margin-bottom: 20px; }
.post-text strong { color: var(--text); font-weight: 600; }

/* ── Post images — varied sizes, all responsive ── */
.post-image {
  max-width: var(--max); margin: 40px auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.post-image img { width: 100%; height: auto; }

/* Medium image (aligned with text column) */
.post-image--medium {
  max-width: var(--read); margin: 40px auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.post-image--medium img { width: 100%; height: auto; }

/* Side-by-side image grid */
.post-image-pair {
  max-width: var(--max); margin: 40px auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.post-image-pair img {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Post list */
.post-list {
  max-width: var(--read); margin: 24px auto 0;
  list-style: none;
}
.post-list li {
  padding: 14px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 17px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 12px;
}
.post-list li::before {
  content: '—'; color: var(--accent); flex-shrink: 0; font-weight: 600;
}
.post-list li strong { color: var(--text); }

/* ── Post Cards (principles etc.) ── */
.post-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: var(--max); margin: 0 auto;
}
.post-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.post-card:hover { border-color: var(--border); box-shadow: var(--shadow); }
.post-card-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--accent-soft); border: 1px solid rgba(91,155,213,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
}
.post-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.post-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── Professional Dialog (replaces chat bubbles) ── */
.dialog {
  max-width: var(--read); margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow);
}
.dialog-intro {
  font-size: 14px; color: var(--text-dim); margin-bottom: 24px;
  text-align: center;
}
.dialog-msg { margin-bottom: 24px; }
.dialog-msg:last-child { margin-bottom: 0; }
.dialog-name {
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.dialog-name--user { color: var(--text-muted); }
.dialog-name--mia { color: var(--accent); }
.dialog-text {
  font-size: 16px; line-height: 1.8; color: var(--text-muted);
  padding-left: 16px; border-left: 2px solid var(--border);
}
.dialog-msg--mia .dialog-text { border-left-color: var(--accent); }

/* ── Branch Cards (uniform, no pastels) ── */
.branch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: var(--max); margin: 0 auto;
}
.branch-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.branch-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.branch-card-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--accent-soft); border: 1px solid rgba(91,155,213,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
}
.branch-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.branch-card-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.branch-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Reflection Timeline ── */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: var(--max); margin: 0 auto;
}
.timeline-step {
  position: relative;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s;
}
.timeline-step:hover { border-color: var(--border); }
.timeline-num {
  font-size: 32px; font-weight: 700; color: var(--accent);
  margin-bottom: 12px; letter-spacing: -1px;
}
.timeline-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.timeline-step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.timeline-step::after {
  content: ''; position: absolute; top: 50%; right: -16px;
  width: 24px; height: 1px; background: var(--border);
  z-index: 2;
}
.timeline-step:last-child::after { display: none; }

/* ── Before/After Comparison ── */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: var(--max); margin: 0 auto;
}
.compare-card {
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.compare-card--before {
  background: var(--bg-alt); border: 1px solid var(--border-soft);
}
.compare-card--after {
  background: var(--surface); border: 1px solid rgba(91,155,213,0.3);
}
.compare-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.compare-card--before .compare-badge { color: var(--text-dim); }
.compare-card--after .compare-badge { color: var(--accent); }
.compare-card h3 { font-size: 18px; margin-bottom: 16px; }
.compare-list { list-style: none; }
.compare-list li {
  padding: 10px 0; font-size: 15px; color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
  display: flex; align-items: flex-start; gap: 10px;
}
.compare-card--before .compare-list li::before { content: '✗'; color: var(--text-dim); flex-shrink: 0; }
.compare-card--after .compare-list li::before { content: '✓'; color: var(--accent); flex-shrink: 0; }

/* ── Blockquote ── */
.blockquote {
  max-width: 600px; margin: 60px auto;
  padding: 32px 0 32px 28px;
  border-left: 3px solid var(--accent);
}
.blockquote p {
  font-size: 22px; line-height: 1.6; color: var(--text);
  font-style: italic; font-weight: 400;
}
.blockquote cite {
  display: block; margin-top: 16px;
  font-size: 14px; color: var(--text-muted); font-style: normal;
}

/* ── FAQ (native <details>/<summary>) ── */
.faq { max-width: var(--read); margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s;
}
.faq-item:hover { border-color: var(--border); }
.faq-item[open] { border-color: var(--accent); }
.faq-summary {
  padding: 20px 24px; font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 12px;
  transition: background .2s;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary h3 { font-size: 16px; font-weight: 600; margin: 0; }
.faq-toggle {
  font-size: 20px; color: var(--accent); flex-shrink: 0;
  transition: transform .2s; width: 24px; text-align: center;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 20px; font-size: 15px; color: var(--text-muted); line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center; padding: 100px 24px;
  background: var(--bg-alt); border-top: 1px solid var(--border-soft);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 30%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: var(--accent-glow); filter: blur(100px);
  z-index: 0;
}
.cta-section h2 {
  position: relative; z-index: 1;
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 700;
  letter-spacing: -1px; margin-bottom: 16px;
}
.cta-section p {
  position: relative; z-index: 1;
  font-size: 18px; color: var(--text-muted); margin-bottom: 32px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-section .btn { position: relative; z-index: 1; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 24px 32px;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: var(--text);
}
.footer-logo img { width: 24px; height: 24px; }
.footer-copy {
  font-size: 13px; color: var(--text-dim);
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

/* ── Chat Widget ── */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
}

/* Closed state — pill button */
.chat-toggle {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 10px 18px;
  cursor: pointer; transition: border-color .2s, box-shadow .2s;
  font-size: 14px; color: var(--text-muted);
  box-shadow: var(--shadow);
}
.chat-toggle:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.chat-toggle .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.chat-toggle strong { color: var(--text); font-weight: 600; }

/* Open state — chat panel */
.chat-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 380px; max-width: calc(100vw - 48px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
  max-height: 600px; max-height: calc(100vh - 120px);
}
.chat-panel.open { display: flex; }

/* Chat header with avatar */
.chat-header {
  position: relative; height: 140px; overflow: hidden;
  flex-shrink: 0;
}
.chat-header-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.chat-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,27,36,0.3) 0%, rgba(30,40,56,0.85) 100%);
}
.chat-header-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; height: 100%;
}
.chat-header-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.chat-header-info { flex: 1; }
.chat-header-name {
  font-size: 16px; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.chat-header-name .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.chat-header-status {
  font-size: 13px; color: var(--text-muted); margin-top: 2px;
}
.chat-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0,0,0,0.4); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 18px; cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.chat-close:hover { background: rgba(0,0,0,0.6); }

/* Chat messages */
.chat-messages {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px; max-height: 400px;
}
.chat-msg {
  max-width: 85%; padding: 12px 16px;
  border-radius: 12px; font-size: 15px; line-height: 1.6;
}
.chat-msg--mia {
  align-self: flex-start;
  background: var(--surface-2); color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--accent); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg-name {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 4px; opacity: 0.7;
}
.chat-typing {
  align-self: flex-start; display: flex; gap: 4px; padding: 12px 16px;
  background: var(--surface-2); border-radius: 12px;
  border-bottom-left-radius: 4px;
}
.chat-typing span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim);
  animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Chat input */
.chat-input-area {
  padding: 16px 20px; border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.chat-input {
  display: flex; gap: 10px; align-items: center;
  background: var(--bg); border: 1px solid var(--border-soft);
  border-radius: 24px; padding: 4px 4px 4px 16px;
  transition: border-color .2s;
}
.chat-input:focus-within { border-color: var(--accent); }
.chat-input input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: 15px; font-family: inherit;
  padding: 10px 0;
}
.chat-input input::placeholder { color: var(--text-dim); }
.chat-send {
  background: var(--accent); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.chat-send:hover { background: var(--accent-h); }

/* Chat footer */
.chat-footer {
  padding: 8px 20px 12px; text-align: center;
  font-size: 12px; color: var(--text-dim); flex-shrink: 0;
}
.chat-footer a { color: var(--accent); }



/* ── Responsive ── */

/* Tablet (768px) — juster spacing, keep grids */
@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  .hero { padding: 110px 20px 60px; min-height: 70vh; }
  .hero p { font-size: 17px; }
  .section-text { font-size: 17px; }
  .card { padding: 24px; }
  .split { gap: 40px; }
  .card-icon { width: 40px; height: 40px; font-size: 18px; }
  .stat-num { font-size: 40px; }
  .glow-orb { opacity: 0.5; }
  .ticker { padding: 12px 0; }
  .ticker-item { font-size: 13px; }
}

/* Mobile landscape (900px) — grids stack */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(1), .stat-box:nth-child(2) { border-bottom: 1px solid var(--border-soft); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-step::after { display: none; }
  .branch-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .post-cards { grid-template-columns: 1fr; }
  .post-image-pair { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav-links.mobile {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 20px; gap: 16px;
  }
}

/* Mobile portrait (600px) — single column, smaller everything */
@media (max-width: 600px) {
  /* Grids */
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat-box { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .stat-box:last-child { border-bottom: none; }
  .timeline { grid-template-columns: 1fr; }

  /* Layout & padding */
  .section { padding: 56px 16px; }
  .hero { padding: 90px 16px 50px; min-height: 60vh; }
  .hero p { font-size: 16px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .post-body { padding: 36px 16px 56px; }
  .post-hero { padding: 80px 16px 0; }
  .post-hero-content { padding-bottom: 28px; }
  .post-hero-image { padding: 0 16px; }
  .post-hero-image img { border-radius: 0; }
  .cta-section { padding: 70px 16px; }

  /* Typography */
  .section-text { font-size: 16px; }
  .post-lead { font-size: 18px; padding-left: 16px; margin-bottom: 40px; }
  .post-text { font-size: 16px; }
  .blockquote { font-size: 18px; max-width: 100%; padding: 24px 0 24px 20px; }
  .blockquote p { font-size: 18px; }

  /* Cards */
  .card { padding: 20px; }
  .card-icon { width: 36px; height: 36px; font-size: 16px; }
  .blog-card-body { padding: 18px; }
  .post-card { padding: 20px; }
  .stat-num { font-size: 36px; }
  .stat-box { padding: 28px 16px; }

  /* Post elements */
  .post-section { margin-bottom: 56px; }
  .post-image { margin: 28px auto; }
  .post-image--medium { margin: 28px auto; }
  .post-list { padding: 0; }
  .post-list li { font-size: 16px; }

  /* Dialog & FAQ */
  .dialog { padding: 24px 20px; }
  .faq-summary { padding: 16px 18px; }
  .faq-a { padding: 0 18px 16px; font-size: 14px; }

  /* Buttons */
  .btn { padding: 10px 22px; font-size: 15px; }

  /* Nav */
  .nav-logo { font-size: 16px; }
  .nav-logo img { width: 28px; height: 28px; }
  .nav-inner { padding: 0 16px; }

  /* Footer */
  .footer { padding: 36px 16px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }

  /* Ticker */
  .ticker { padding: 10px 0; }
  .ticker-item { font-size: 12px; }

  /* Chat */
  .chat-toggle { padding: 8px 14px; font-size: 13px; }
  .chat-panel {
    bottom: 0; right: 0; left: 0;
    width: 100%; max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 85vh;
  }
  .chat-widget { display: none; }
  .chat-widget.mobile-open { display: block; }
  .chat-header { height: 110px; }
  .chat-header-avatar { width: 44px; height: 44px; }
  .chat-messages { padding: 16px; min-height: 200px; }
  .chat-input-area { padding: 12px 16px; }
  .chat-footer { padding: 6px 16px 10px; }

  /* Performance — hide glow orbs */
  .glow-orb { display: none; }
}

/* Very small mobile (400px) — hide ticker */
@media (max-width: 400px) {
  .ticker { display: none; }
  .nav-logo { font-size: 15px; }
  .hero h1 { font-size: 26px; }
  .stat-num { font-size: 30px; }
}