/* Dental Practice Template | Elliott's AI | Preset: dental-v1 */

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

/* -- Nav --------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(26, 45, 61, 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;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo svg {
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* -- Hero -------------------------------------------------------- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--sky-light) 50%, var(--mint-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 155, 217, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 184, 154, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: sd-pulse 2s infinite;
}
@keyframes sd-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 155, 217, 0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--sky-light);
}
.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(26, 45, 61, 0.1);
  border: 1px solid var(--border);
}
.hero-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.hero-card-icon svg {
  color: var(--accent);
}
.hero-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(26, 45, 61, 0.12);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: sd-float 6s ease-in-out infinite;
}
.hero-float-1 {
  top: -10px;
  right: -20px;
}
.hero-float-2 {
  bottom: -10px;
  left: -20px;
  animation-delay: -3s;
}
@keyframes sd-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float .dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}
.hero-float .dot-blue {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* -- Stats ------------------------------------------------------- */
.stats {
  padding: var(--space-lg) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* -- Calculator -------------------------------------------------- */
.calculator {
  padding: var(--space-xl) 0;
  background: var(--bg-alt);
}
.calculator-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.calculator h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.calculator-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.calc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 8px 32px rgba(26, 45, 61, 0.06);
  border: 1px solid var(--border);
}
.calc-input-group {
  margin-bottom: 32px;
}
.calc-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.calc-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  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(74, 155, 217, 0.3);
  transition: transform 0.2s;
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.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(74, 155, 217, 0.3);
}
.calc-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  min-width: 40px;
  text-align: center;
}
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.calc-result-box {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.calc-result-box.loss {
  background: #FEF2F2;
}
.calc-result-box.gain {
  background: var(--mint-light);
}
.calc-result-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-result-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
}
.calc-result-box.loss .calc-result-number {
  color: #DC2626;
}
.calc-result-box.gain .calc-result-number {
  color: var(--mint);
}
.calc-footnote {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* -- Comparison -------------------------------------------------- */
.comparison {
  padding: var(--space-xl) 0;
  background: var(--white);
}
.comparison h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.comparison-card {
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
}
.comparison-card.before {
  background: #FFF8F5;
  border-color: #F5D0C0;
}
.comparison-card.after {
  background: var(--mint-light);
  border-color: #B8E6D8;
}
.comparison-card-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.comparison-card.before .comparison-card-label {
  color: #D97706;
}
.comparison-card.after .comparison-card-label {
  color: var(--mint);
}
.comparison-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.comparison-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.comparison-card.before .comparison-list li svg {
  color: #D97706;
}
.comparison-card.after .comparison-list li svg {
  color: var(--mint);
}

/* -- Services ---------------------------------------------------- */
.services {
  padding: var(--space-xl) 0;
  background: var(--bg-alt);
}
.services-header {
  text-align: center;
  margin-bottom: 48px;
}
.services-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.services-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 45, 61, 0.08);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon.blue { background: var(--sky-light); color: var(--accent); }
.service-icon.mint { background: var(--mint-light); color: var(--mint); }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* -- Trust ------------------------------------------------------- */
.trust {
  padding: var(--space-xl) 0;
  background: var(--white);
}
.trust h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}
.trust-insurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.trust-insurance-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.trust-insurance-logo:hover {
  opacity: 0.8;
}
.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.trust-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.trust-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
}
.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.trust-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -- Demo CTA ---------------------------------------------------- */
.demo-cta {
  padding: var(--space-xl) 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.demo-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 155, 217, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.demo-cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 184, 154, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.demo-cta .container {
  position: relative;
  z-index: 1;
}
.demo-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}
.demo-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 32px;
}
.demo-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 16px;
}
.demo-phone:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.demo-phone svg {
  flex-shrink: 0;
}
.demo-instruction {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* -- AI Section -------------------------------------------------- */
.ai-section {
  padding: var(--space-xl) 0;
  background: var(--bg-alt);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ai-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
}
.ai-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}
.ai-section .ai-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.ai-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.ai-feature svg {
  color: var(--mint);
  flex-shrink: 0;
}
.ai-cta-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.ai-cta-btn:hover {
  background: var(--accent-hover);
}
.chat-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(26, 45, 61, 0.1);
  border: 1px solid var(--border);
  overflow: hidden;
}
.chat-mockup-header {
  background: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}
.chat-mockup-name {
  font-weight: 600;
  font-size: 15px;
}
.chat-mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-demo-msg {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
}
.demo-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.demo-bot {
  align-self: flex-start;
  background: #F0F2F5;
  color: var(--dark);
  border-bottom-left-radius: 4px;
}

/* -- Footer ------------------------------------------------------ */
.footer {
  padding: var(--space-lg) 0 var(--space-md);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a {
  color: var(--accent);
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* -- Demo Banner ------------------------------------------------- */
.demo-banner {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 10px var(--page-pad);
  font-size: 13px;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}
.demo-banner a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
}
.demo-banner ~ .nav {
  top: 38px;
}
.demo-banner ~ .hero {
  padding-top: 200px;
}

/* -- Responsive -------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px var(--page-pad);
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .trust-cards {
    grid-template-columns: 1fr;
  }
  .trust-insurance {
    gap: 24px;
  }
  .calc-results {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .btn-primary, .btn-outline {
    justify-content: center;
  }
  .calc-card {
    padding: 24px;
  }
}
/* ══════════════════════════════════════════════════════════
   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);
}
