/* ============================================
   SERVIZI PAGE STYLES
   ============================================ */

/* Sezione Servizi Principali */
.servizi-section {
  padding: var(--spacing-4xl) 0 var(--spacing-3xl);
  background-color: #0b0b0b;
}

/* Stile per Desktop/Base (Fuori dalle @media queries) */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.servizio-card {
  background-color: #f7f1e5;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.servizio-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-5px);
}

.servizio-icon {
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.servizio-card:hover .servizio-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.servizio-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.servizio-description {
  color: #4a4a4a;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin: 0;
}

/* Sezione Testimonianze */
.testimonials-section {
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  background-color: #f7f1e5;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

/* Stile per Desktop/Base (Fuori dalle @media queries) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-md) auto 0;
  width: 95%;
  max-width: 1100px;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: var(--spacing-lg);
  padding-top: calc(var(--spacing-lg) + var(--spacing-md));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  min-height: 200px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: testimonialsFadeUp 0.8s ease forwards;
}

.testimonial-card::before {
  content: """;
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-md);
  font-size: 3rem;
  font-family: 'Times New Roman', Times, serif;
  color: rgba(212, 175, 55, 0.25);
  pointer-events: none;
}

.testimonial-quote {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: #2a2a2a;
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.author-role {
  font-size: var(--font-size-sm);
  color: #5a5a5a;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonials-section .container {
  padding: 0 var(--spacing-xl);
}

/* Sezione CTA Finale */
.servizi-cta-section {
  padding: var(--spacing-5xl) 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(11, 11, 11, 0.95) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

@media (min-width: 769px) {
  #servizi-cta-title {
    margin-top: var(--spacing-2xl);
  }
  
  .servizi-cta-btn {
    margin-bottom: var(--spacing-2xl);
  }
}

.servizi-cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-2xl);
}

.servizi-cta-btn {
  background-color: #1a1a1a;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: var(--spacing-md) var(--spacing-3xl);
  font-size: var(--font-size-lg);
  font-weight: 600;
  font-family: 'Times New Roman', Times, serif;
  text-transform: none;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.servizi-cta-btn:hover {
  background-color: var(--color-gold);
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

/* Titoli specifici */
#servizi-principali-title {
  margin-top: calc(var(--spacing-xl) * -1.5);
  margin-bottom: var(--spacing-2xl);
}

#servizi-why-title {
  margin-top: calc(var(--spacing-lg) * -1.2);
}

#testimonials-title {
  margin-top: calc(var(--spacing-xl) * -1.1);
  margin-bottom: var(--spacing-xl);
}

/* Responsive Servizi */
@media (max-width: 768px) {
  .servizi-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
  }
  
  .servizi-section {
    padding-bottom: var(--spacing-2xl);
  }
  
  .testimonials-section {
    padding: var(--spacing-3xl) 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
  }
  
  .testimonial-card {
    padding: var(--spacing-lg);
    min-height: 0;
    padding-top: calc(var(--spacing-lg) + var(--spacing-sm));
  }
  
  .testimonial-quote {
    font-size: var(--font-size-lg);
    line-height: 1.7;
  }
  
  .testimonial-card::before {
    font-size: 2.5rem;
    left: var(--spacing-sm);
  }
  
  .testimonials-section .container {
    padding: 0 var(--spacing-lg);
  }
  
  .servizio-card {
    padding: var(--spacing-lg);
  }
  
  .servizio-icon {
    width: 50px;
    height: 50px;
  }
  
  .servizio-title {
    font-size: var(--font-size-lg);
  }
  
  .servizi-why-icon {
    width: 56px;
    height: 56px;
  }
  
  .servizi-why-title {
    font-size: var(--font-size-xl);
  }
  
  .servizi-cta-section {
    padding: var(--spacing-3xl) var(--spacing-md);
  }
  
  .servizi-cta-btn {
    padding: var(--spacing-sm) var(--spacing-2xl);
    font-size: var(--font-size-base);
  }

  #servizi-principali-title {
    margin-top: calc(var(--spacing-2xl) * -1) !important;
    margin-bottom: var(--spacing-xl) !important;
  }

  #servizi-why-title {
    margin-top: calc(var(--spacing-xl) * -1) !important;
  }

  #testimonials-title {
    margin-top: calc(var(--spacing-xl) * -1.1) !important;
    margin-bottom: var(--spacing-xl) !important;
  }
}

@keyframes testimonialsFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

