/* -webkit-fill-available was an iOS address-bar workaround. In Chrome it
   computes to `stretch`, which on a block resolves against the containing block
   and COLLAPSED these heroes to their content height -- the restaurant hero
   measured 477px on an 800px viewport, so its centred h1 sat at the very top,
   under the fixed nav. 100svh is the modern spelling, does the iOS job properly,
   and falls back to the 100vh above it on anything that does not support it. */
/* ══════════════════════════════════════════════════════════
   Bella Cucina Italian Kitchen — style.css
   Restaurant & Italian Kitchen Template | Preset: restaurant-v1
   ══════════════════════════════════════════════════════════ */


/* ── Utility ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}


/* ══════════════════════════════════════════════════════════
   Navigation
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: padding 0.4s var(--ease),
              background 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 248, 240, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(61, 43, 31, 0.08);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease);
}

.nav.scrolled .nav-logo {
  color: var(--dark);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav.scrolled .nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

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

.nav.scrolled .nav-hamburger span {
  background: var(--dark);
}

.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);
}
.nav.mobile-menu-open {
  background: var(--cream);
}
.nav.mobile-menu-open .nav-hamburger span {
  background: var(--dark);
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(61, 43, 31, 0.1);
  }
  .nav-links.mobile-open a {
    color: var(--text);
    font-size: 16px;
  }
}


/* ══════════════════════════════════════════════════════════
   Hero
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Clears the FIXED nav. Without this the hero centres its content in a box
     that starts at y=0, underneath a header that is painted on top of it, so a
     two-line h1 rode up under the menu links and the wordmark overlapped the
     title. It only showed on shorter viewports, which is why it survived.
     box-sizing is border-box globally, so this eats into the 100vh rather than
     adding to it and the hero still fills exactly one screen. */
  box-sizing: border-box;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(61, 43, 31, 0.55) 0%,
    rgba(61, 43, 31, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--page-pad);
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), transform 0.2s;
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


/* ══════════════════════════════════════════════════════════
   Stats / Problem
   ══════════════════════════════════════════════════════════ */
.stats {
  padding: var(--space-xl) 0;
  background: var(--dark);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.stats-tagline {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ══════════════════════════════════════════════════════════
   Cost Calculator
   ══════════════════════════════════════════════════════════ */
.calculator {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}

.calculator-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.calculator h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.calculator-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.calc-input-group {
  margin-bottom: var(--space-md);
}

.calc-input-group label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

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

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(139, 38, 53, 0.3);
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(139, 38, 53, 0.3);
}

.calc-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.calc-results {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(61, 43, 31, 0.08);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.calc-result-row + .calc-result-row {
  border-top: 1px solid var(--border);
}

.calc-result-label {
  font-size: 15px;
  color: var(--text-muted);
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.calc-result-value.big {
  font-size: 32px;
  color: var(--accent);
}

.calc-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}


/* ══════════════════════════════════════════════════════════
   Comparison
   ══════════════════════════════════════════════════════════ */
.comparison {
  padding: var(--space-2xl) 0;
  background: var(--bg-alt);
}

.comparison-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.comparison-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.comparison-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

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

.comparison-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.comparison-card.without {
  border: 2px solid var(--border);
}

.comparison-card.with {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(139, 38, 53, 0.1);
}

.comparison-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.comparison-card.with .comparison-card-label {
  color: var(--accent);
}

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

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

.comparison-item + .comparison-item {
  border-top: 1px solid var(--border);
}

.comparison-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.comparison-card.without .comparison-icon {
  background: #fde8e8;
  color: #c53030;
}

.comparison-card.with .comparison-icon {
  background: #e6f4ea;
  color: #2d8644;
}

@media (max-width: 700px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════
   Menu Highlights
   ══════════════════════════════════════════════════════════ */
.menu-highlights {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}

.menu-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.menu-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.menu-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

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

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61, 43, 31, 0.1);
}

.menu-card-img {
  height: 200px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

.menu-card-body {
  padding: var(--space-md);
}

.menu-card-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.menu-card-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.menu-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════
   AI Host Section
   ══════════════════════════════════════════════════════════ */
.ai-host {
  padding: var(--space-2xl) 0;
  background: var(--dark);
  color: var(--white);
}

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

.ai-host-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.ai-host-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}

.ai-host-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.ai-host-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.ai-host-feature svg {
  flex-shrink: 0;
  color: var(--terracotta);
}

.ai-host-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), transform 0.2s;
}

.ai-host-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Chat mockup */
.chat-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.chat-mockup-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}

.chat-mockup-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.chat-demo-msg {
  padding: 10px 16px;
  margin: 8px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
}

.demo-user {
  background: var(--accent);
  color: var(--white);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.demo-bot {
  background: #f0ebe5;
  color: var(--dark);
  border-bottom-left-radius: 4px;
}

.chat-mockup .chat-demo-msg:last-child {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .ai-host-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* ══════════════════════════════════════════════════════════
   Demo CTA
   ══════════════════════════════════════════════════════════ */
.demo-cta {
  padding: var(--space-2xl) 0;
  background: var(--bg-alt);
}

.demo-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.demo-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.demo-cta-inner p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.demo-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: background 0.3s var(--ease), transform 0.2s;
  margin-bottom: 16px;
}

.demo-phone:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.demo-phone svg {
  flex-shrink: 0;
}

.demo-prompt {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.demo-prompt strong {
  color: var(--dark);
  font-weight: 600;
  font-style: normal;
}


/* ══════════════════════════════════════════════════════════
   Final CTA
   ══════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(61, 43, 31, 0.7) 0%,
    rgba(61, 43, 31, 0.85) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), transform 0.2s;
  margin-bottom: 16px;
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.cta-phone {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.cta-phone a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s;
}

.cta-phone a:hover {
  color: var(--white);
}


/* ══════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: var(--space-lg);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════
   Powered-By Badge
   ══════════════════════════════════════════════════════════ */
.powered-by {
  text-align: center;
  padding: var(--space-md) 0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.powered-by span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.powered-by a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: color 0.3s;
}

.powered-by a:hover {
  color: var(--white);
}
/* ══════════════════════════════════════════════════════════
   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);
}
