:root {
  --color-primary: #3D2C2C;
  --color-secondary: #5A4040;
  --color-accent: #FFAB91;
}

html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 5rem; 
}

body { 
  font-family: 'Outfit', system-ui, sans-serif; 
}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#consultation_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Header transparency effect */
.header-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #3D2C2C !important;
}

.header-scrolled a {
  color: #3D2C2C !important;
}

.header-scrolled .text-accent {
  color: #FFAB91 !important;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

/* Custom gradient backgrounds */
.gradient-bg {
  background: linear-gradient(135deg, #FFF5F2 0%, #FFE8E0 100%);
}

.gradient-accent {
  background: linear-gradient(135deg, #FFAB91 0%, #FF8A65 100%);
}

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(61, 44, 44, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-subtle {
  opacity: 0.05;
}

.decor-moderate {
  opacity: 0.1;
}

.decor-bold {
  opacity: 0.2;
}

/* Form styling */
.form-input {
  appearance: none;
  background-color: transparent;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  color: #374151;
  line-height: 1.25;
  outline: none;
  padding: 0.75rem 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  width: 100%;
}

.form-input:focus {
  border-color: #FFAB91;
  box-shadow: 0 0 0 3px rgba(255, 171, 145, 0.1);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-center {
    text-align: center;
  }
  
  .mobile-full {
    width: 100%;
  }
}

/* Loading state */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Card hover effects */
.hover-lift {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Consultation form styling */
#consultation_form {
  scroll-margin-top: 2rem;
}

/* FAQ accordion styling */
.faq-item {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1.5rem;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: #374151;
  transition: color 0.2s ease-in-out;
}

.faq-question:hover {
  color: #FFAB91;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding-top 0.3s ease-in-out;
  color: #6b7280;
  line-height: 1.6;
}

.faq-answer.open {
  max-height: 300px;
  padding-top: 1rem;
}

.faq-icon {
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
  color: #FFAB91;
}

.faq-icon.rotated {
  transform: rotate(180deg);
}