/* ── Animations ──────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.services-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.services-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.services-grid [data-animate]:nth-child(5) { transition-delay: 0.32s; }
.services-grid [data-animate]:nth-child(6) { transition-delay: 0.40s; }

.comparison-table [data-animate] { transition-delay: 0.1s; }

/* Chat mockup staggered appearance */
.chat-demo-msg {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.chat-demo-msg.msg-visible {
  opacity: 1;
  transform: translateY(0);
}
.chat-demo-msg:nth-child(2) { transition-delay: 0.3s; }
.chat-demo-msg:nth-child(3) { transition-delay: 0.6s; }
.chat-demo-msg:nth-child(4) { transition-delay: 0.9s; }

/* Focus styles */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: #FFFFFF !important;
  border-radius: var(--radius-btn);
  transition: background 0.2s;
}
.btn-nav:hover {
  background: var(--accent-hover);
  color: #FFFFFF !important;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  padding: 14px 32px;
  font-size: 15px;
  background: var(--accent);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}

.btn-ghost {
  padding: 14px 28px;
  font-size: 15px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-ghost:hover {
  background: var(--text);
  color: #FFFFFF;
}

.btn-white {
  padding: 14px 32px;
  font-size: 15px;
  background: #FFFFFF;
  color: var(--text);
}
.btn-white:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-outline-white {
  padding: 14px 32px;
  font-size: 15px;
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.btn-dark {
  padding: 14px 32px;
  font-size: 15px;
  background: var(--dark);
  color: #FFFFFF;
  border-radius: var(--radius-btn);
}
.btn-dark:hover {
  background: var(--dark-deeper);
  transform: translateY(-1px);
}

/* ── Hero (split layout) ────────────────────────────────── */
.hero {
  margin-top: 60px;
  padding: 80px 0;
  background: var(--bg);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero phone demo box */
.hero-demo-box {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-demo-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero-demo-phone {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero-demo-hint {
  font-size: 15px;
  color: var(--dark-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-demo-ring {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  cursor: default;
  animation: msa-pulse 2s ease-in-out infinite;
}

@keyframes msa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(30, 64, 175, 0); }
}

.hero-demo-ring svg {
  width: 20px;
  height: 20px;
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 48px 0;
}

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  color: var(--dark-text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ── Cost Calculator Section ─────────────────────────────── */
.calculator-section {
  background: var(--bg-alt);
  padding: 100px 0;
}

.calculator-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.calculator-text h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.calculator-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.calculator-widget {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.calculator-widget label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.calculator-slider {
  width: 100%;
  margin-bottom: 8px;
  accent-color: var(--accent);
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
}

.calculator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.calculator-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.calculator-value {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.calculator-result {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.calculator-result-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}

.calculator-result-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.calculator-result-sub {
  font-size: 14px;
  color: var(--dark-text-muted);
  margin-top: 6px;
}

.calculator-breakdown {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.calculator-breakdown span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.calculator-breakdown strong {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

/* ── Comparison Table Section ────────────────────────────── */
.comparison-section {
  background: var(--bg);
  padding: 100px 0;
}

.comparison-header {
  text-align: center;
  margin-bottom: 56px;
}

.comparison-header h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.comparison-header p {
  font-size: 16px;
  color: var(--text-muted);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.comparison-table thead th {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.comparison-table thead th:first-child {
  background: var(--bg-alt);
  color: var(--text-muted);
  width: 30%;
}

.comparison-table thead th:nth-child(2) {
  background: #DBEAFE;
  color: var(--text-muted);
}

.comparison-table thead th:last-child {
  background: var(--accent);
  color: #FFFFFF;
}

.comparison-table tbody td {
  padding: 16px 24px;
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
}

.comparison-table tbody td:nth-child(2) {
  color: var(--text-muted);
}

.comparison-table tbody td:last-child {
  color: var(--text);
  font-weight: 500;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-check {
  color: var(--accent);
  font-weight: 700;
}

.comparison-x {
  color: #C0392B;
}

/* ── Services Section ────────────────────────────────────── */
.services-section {
  background: var(--dark);
  padding: 100px 0;
}

.services-header {
  margin-bottom: 56px;
}

.services-header h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-text);
}

.services-header p {
  font-size: 16px;
  color: var(--dark-text-muted);
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(30, 64, 175, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--dark-text-muted);
  line-height: 1.6;
}

/* ── AI Chat Showcase Section ────────────────────────────── */
.ai-section {
  background: var(--bg-alt);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.ai-text h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.ai-text-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}

.ai-feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Chat mockup */
.chat-mockup {
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.chat-mockup-header {
  padding: 14px 20px;
  background: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
}

.chat-mockup-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.chat-mockup-status {
  font-size: 12px;
  color: var(--dark-text-muted);
  margin-left: auto;
}

.chat-mockup-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
}

.chat-demo-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.chat-demo-msg.msg-user {
  background: var(--accent);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-demo-msg.msg-bot {
  background: #F0F1F3;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: var(--accent);
  padding: 100px 0;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-section .cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand .logo {
  font-size: 22px;
  color: #FFFFFF;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--dark-text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin-top: 16px;
}

.footer-brand .footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-heading);
}
.footer-brand .footer-phone svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: var(--dark-text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
  line-height: 1.5;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copy a:hover {
  color: #FFFFFF;
}

/* ── Hamburger ───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Stats counter animation ─────────────────────────────── */
.stat-number[data-count] {
  display: inline-block;
}

/* ── Responsive: 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-headline { font-size: 42px; }
  .hero-inner { gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ai-grid { gap: 48px; }
  .calculator-inner { gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .comparison-table { font-size: 14px; }
}

/* ── Responsive: 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { font-size: 16px; color: var(--text); }

  .hero { padding: 60px 0 40px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-headline { font-size: 34px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
  }
  .stat-number { font-size: 36px; }

  .calculator-section,
  .comparison-section,
  .services-section,
  .ai-section,
  .cta-section { padding: 72px 0; }

  .calculator-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calculator-text h2,
  .comparison-header h2,
  .services-header h2,
  .ai-text h2,
  .cta-section h2 { font-size: 32px; }

  .services-grid { grid-template-columns: 1fr; }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-demo-phone { font-size: 28px; }
}
/* ══════════════════════════════════════════════════════════
   Shared Quality Layer -- Elliott's AI Demo Standard
   Inject into every demo's style.css
   ══════════════════════════════════════════════════════════ */

/* ── Loader ─────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg, #FFFFFF);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-icon {
  width: 64px;
  height: 64px;
}
.loader-draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  fill: none;
}
.loader-draw-2 { animation-delay: 0.2s; }
.loader-draw-3 { animation-delay: 0.4s; }
@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}
.loader-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text, #1a1a2e);
  opacity: 0;
  animation: loaderFade 0.6s ease 0.8s forwards;
}
@keyframes loaderFade { to { opacity: 1; } }

/* ── Scroll Progress ────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent, #2E86AB);
  z-index: 10000;
  width: 0;
}

/* ── Scroll Animations ──────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays for grid children */
[data-animate-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-animate-stagger] > *:nth-child(2) { transition-delay: 0.08s; }
[data-animate-stagger] > *:nth-child(3) { transition-delay: 0.12s; }
[data-animate-stagger] > *:nth-child(4) { transition-delay: 0.16s; }
[data-animate-stagger] > *:nth-child(5) { transition-delay: 0.20s; }
[data-animate-stagger] > *:nth-child(6) { transition-delay: 0.24s; }
[data-animate-stagger] > *:nth-child(n+7) { transition-delay: 0.28s; }

/* ── Emergency / Mobile CTA Bar ─────────────────────────── */
.emergency-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.emergency-bar.visible {
  transform: translateY(0);
}
.emergency-bar-link {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: var(--accent, #2E86AB);
  border-radius: 6px;
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.emergency-bar-link:hover {
  filter: brightness(0.9);
  color: #FFFFFF;
}
.emergency-bar-close {
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.emergency-bar-close:hover {
  color: #FFFFFF;
}
@media (min-width: 769px) {
  .emergency-bar { display: none; }
}

/* ── Universal Card Hover ───────────────────────────────── */
.card-hover {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-hover:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
