/* ============================
   NEW COMPONENTS FOR STATIC SITE
   ============================ */

/* Floating CTA for mobile */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: var(--z-floating);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0b0b;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 
    0 8px 32px rgba(217, 143, 42, 0.3),
    0 4px 16px rgba(217, 143, 42, 0.2);
  display: none;
  animation: pulse 2s ease-in-out infinite;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--t-smooth);
}

.floating-cta:hover {
  transform: scale(1.05);
  box-shadow: 
    0 12px 40px rgba(217, 143, 42, 0.4),
    0 8px 24px rgba(217, 143, 42, 0.3);
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 
      0 8px 32px rgba(217, 143, 42, 0.3),
      0 4px 16px rgba(217, 143, 42, 0.2);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 
      0 12px 40px rgba(217, 143, 42, 0.4),
      0 8px 24px rgba(217, 143, 42, 0.3);
  }
}

/* Click-to-call button */
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 12px 24px;
  background: rgba(217, 143, 42, 0.1);
  border-radius: var(--r-md);
  border: 1px solid rgba(217, 143, 42, 0.2);
  color: var(--text);
  transition: all var(--t-smooth);
  text-decoration: none;
}

.cta-phone:hover {
  background: rgba(217, 143, 42, 0.15);
  transform: translateY(-2px);
  border-color: rgba(217, 143, 42, 0.3);
}

/* Contact methods grid */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s-lg);
  margin: var(--s-xl) 0;
}

.contact-method {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all var(--t-smooth);
}

.contact-method:hover {
  background: rgba(217, 143, 42, 0.05);
  border-color: rgba(217, 143, 42, 0.2);
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: var(--s-md);
  display: inline-block;
}

.contact-method h3 {
  margin-bottom: var(--s-sm);
  color: var(--text);
}

.contact-method p {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-bottom: var(--s-md);
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: var(--s-md);
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--s-xl) 0;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--s-md);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  transition: all var(--t-smooth);
}

.trust-badge:hover {
  background: rgba(217, 143, 42, 0.05);
  border-color: rgba(217, 143, 42, 0.2);
  transform: translateY(-2px);
}

.trust-badge-icon {
  color: var(--accent);
  font-size: 24px;
}

/* Social proof counter */
.social-proof {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding: var(--s-md);
  background: rgba(217, 143, 42, 0.05);
  border-radius: var(--r-md);
  border: 1px solid rgba(217, 143, 42, 0.1);
  margin: var(--s-lg) 0;
}

.counter {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent);
  font-family: "Merriweather", serif;
  line-height: 1;
}

/* Form success/error states */
.form-success {
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.3);
  padding: var(--s-md);
  border-radius: var(--r-md);
  color: #48bb78;
  margin-top: var(--s-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUpFade 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-error {
  background: rgba(245, 101, 101, 0.1);
  border: 1px solid rgba(245, 101, 101, 0.3);
  padding: var(--s-md);
  border-radius: var(--r-md);
  color: #f56565;
  margin-top: var(--s-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUpFade 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Privacy checkbox */
.privacy-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: var(--s-md) 0;
  padding: var(--s-sm);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--r-sm);
}

.privacy-check input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.privacy-check label {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.privacy-check a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Sticky contact bar for mobile */
.sticky-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 15, 17, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(217, 143, 42, 0.2);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: var(--z-header);
  display: none;
}

.sticky-contact-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.sticky-contact-email {
  color: var(--muted);
  font-size: var(--text-xs);
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: var(--z-max);
  transition: opacity 0.3s ease;
  gap: var(--s-lg);
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.loading-text {
  color: var(--muted);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wide);
}

/* WhatsApp chat button */
.whatsapp-chat {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: var(--z-floating);
  text-decoration: none;
  transition: all var(--t-smooth);
}

.whatsapp-chat:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Business hours indicator */
.business-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.2);
  border-radius: var(--r-md);
  color: #48bb78;
  font-weight: 600;
  font-size: var(--text-sm);
}

.business-hours.closed {
  background: rgba(245, 101, 101, 0.1);
  border-color: rgba(245, 101, 101, 0.2);
  color: #f56565;
}

.business-hours-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #48bb78;
  animation: blink 2s infinite;
}

.business-hours.closed .business-hours-dot {
  background: #f56565;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Testimonial slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin: var(--s-xl) 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--s-md);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--s-md);
  margin-top: var(--s-lg);
}

.slider-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-smooth);
}

.slider-btn:hover {
  background: rgba(217, 143, 42, 0.1);
  border-color: rgba(217, 143, 42, 0.3);
  color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--t-smooth);
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 70px;
    right: 15px;
    padding: 10px 20px;
    font-size: var(--text-sm);
  }
  
  .sticky-contact-bar {
    display: flex;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-badge {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }
  
  .whatsapp-chat {
    bottom: 140px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .floating-cta {
    bottom: 60px;
    right: 10px;
    padding: 8px 16px;
    font-size: var(--text-xs);
  }
  
  .whatsapp-chat {
    bottom: 130px;
    right: 10px;
    width: 45px;
    height: 45px;
  }
}

/* Add to components.css */
/* Critical CSS above the fold */
.critical-css {
  /* Hero section styles that load first */
}

/* Font loading optimization */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');
}