@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800&display=swap');

/* Syla CTA Bar — syla-cta.css */

#syla-cta-bar {
  --cta-accent: #da622f;
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 760px;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              opacity  0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  font-family: 'DM Sans', sans-serif;
}

#syla-cta-bar.scbar--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#syla-cta-bar.scbar--hidden {
  transform: translateX(-50%) translateY(140px);
  opacity: 0;
  pointer-events: none;
}

#syla-cta-bar .scbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #141414;
  border-radius: 50px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45);
  padding: 20px 28px;
  position: relative;
  flex-wrap: wrap;
}

#syla-cta-bar .scbar-text {
  flex: 1;
  min-width: 160px;
}

#syla-cta-bar .scbar-headline {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  font-family: 'DM Sans', sans-serif;
}

#syla-cta-bar .scbar-subline {
  margin: 3px 0 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  font-family: 'DM Sans', sans-serif;
}

#syla-cta-bar .scbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: var(--cta-accent);
  color: #ffffff;
  border-radius: 40px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(218, 98, 47, 0.35);
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

#syla-cta-bar .scbar-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(218, 98, 47, 0.48);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 600px) {
  #syla-cta-bar {
    bottom: 16px;
    width: calc(100% - 24px);
  }
  #syla-cta-bar .scbar-inner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 20px;
    gap: 14px;
    text-align: center;
  }
  #syla-cta-bar .scbar-btn {
    width: 100%;
    padding: 14px 20px;
    justify-content: center;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  #syla-cta-bar .scbar-inner {
    gap: 14px;
    padding: 18px 24px;
  }
}
