/* ── 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; }

.comparison-table [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.comparison-table [data-animate]:nth-child(3) { transition-delay: 0.16s; }

/* 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(4, 120, 87, 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-accent {
  padding: 14px 32px;
  font-size: 15px;
  background: var(--accent);
  color: #FFFFFF;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.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: 520px;
}

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

.hero-images {
  position: relative;
  min-height: 440px;
}

.hero-img-main {
  width: 100%;
  max-width: 420px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.hero-img-secondary {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: absolute;
  bottom: 0;
  left: -40px;
  z-index: 2;
  border: 4px solid #FFFFFF;
}

/* ── 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;
}

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

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

.problem-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

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

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

.problem-text .btn {
  margin-top: 12px;
}

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

.calculator-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.calculator-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;
}

.calculator-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.calculator-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.calc-input-group {
  margin-bottom: 32px;
}

.calc-input-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.calc-slider-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.calc-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.calc-value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  min-width: 80px;
  text-align: right;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.calc-result-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.calc-result-card.danger {
  border-color: #E57373;
  background: #FFF5F5;
}

.calc-result-card.warning {
  border-color: #FFB74D;
  background: #FFFAF0;
}

.calc-result-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.calc-result-card.danger .calc-result-label { color: #C62828; }
.calc-result-card.warning .calc-result-label { color: #E65100; }

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.calc-result-card.danger .calc-result-number { color: #C62828; }
.calc-result-card.warning .calc-result-number { color: #E65100; }

.calc-result-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.calc-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 24px;
  font-style: italic;
}

/* ── Comparison Section ──────────────────────────────────── */
.comparison-section {
  background: var(--bg-alt);
  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);
}

.comparison-table {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-col {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-col.highlighted {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(4, 120, 87, 0.12);
}

.comparison-col-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.comparison-col.highlighted .comparison-col-header {
  background: var(--accent);
  border-bottom-color: var(--accent);
}

.comparison-col-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.comparison-col.highlighted .comparison-col-header h3 {
  color: #FFFFFF;
}

.comparison-col-header .comparison-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  margin-left: 8px;
}

.comparison-items {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.comparison-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-item .icon-x { color: #E57373; }
.comparison-item .icon-check { color: var(--accent); }

/* ── Services Section ────────────────────────────────────── */
.services-section {
  background: var(--bg);
  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(--text);
}

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

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(4, 120, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-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(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* ── AI Chat Section (dark) ──────────────────────────────── */
.ai-section {
  background: var(--dark);
  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(--dark-text);
  margin-bottom: 20px;
}

.ai-text-desc {
  font-size: 17px;
  color: var(--dark-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(--dark-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.25);
}

.chat-mockup-header {
  padding: 14px 20px;
  background: #F7F8FA;
  border-bottom: 1px solid var(--border);
  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: var(--text);
}

.chat-mockup-status {
  font-size: 12px;
  color: var(--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: rgba(4, 120, 87, 0.1);
  color: var(--text);
  align-self: flex-end;
}

.chat-demo-msg.msg-bot {
  background: #FFFFFF;
  color: var(--text);
  align-self: flex-start;
  border: 1px solid var(--border);
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: var(--primary);
  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; }
  .comparison-table { gap: 20px; }
  .problem-grid { gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .calc-results { gap: 16px; }
}

/* ── 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; }
  .hero-images { min-height: 300px; }
  .hero-img-main { max-width: 100%; height: 280px; }
  .hero-img-secondary {
    width: 180px;
    height: 130px;
    left: auto;
    right: 0;
    bottom: -10px;
  }

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

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

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .problem-image { height: 300px; }

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

  .calculator-card { padding: 32px 24px; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-value { font-size: 28px; }

  .comparison-table { grid-template-columns: 1fr; }

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

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

  .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;
  }
}
/* ══════════════════════════════════════════════════════════
   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);
}
