/* ============================================
   PROPRIETARI PAGE STYLES
   ============================================ */

/* ============================================
   ROI Calculator Section
   ============================================ */

/* Card visive per form e risultati */
.roi-form-card,
.roi-results-card {
  background: #fffaf0 !important;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  padding: 24px !important;
}

.roi-form-card .card-title,
.roi-results-card .card-title {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
  color: var(--color-gold);
}

/* Etichette del form - stile uniforme */
.roi-form-label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #8a6b2b;
  margin-bottom: 6px;
  font-weight: 500;
}

/* Campi input */
.roi-form-input {
  width: 100%;
  border: 1px solid #e2d4b8;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  background-color: #ffffff;
  color: #2a2a2a;
  transition: all 0.3s ease;
}

.roi-form-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
  outline: none;
}

.roi-form-input:hover {
  border-color: #d4af37;
}

/* Bottone Calcola ROI */
.roi-calculate-btn {
  width: 100%;
  margin-top: var(--spacing-md);
}

/* Testo placeholder risultati */
.roi-results-content {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roi-placeholder-text {
  text-align: center;
  color: #6a6a6a;
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

/* Titoli specifici */
#form-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

@media (min-width: 769px) {
  #form-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
  }
}

/* Layout mobile */
@media (max-width: 768px) {
  .roi-calculator-grid {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }
  
  .roi-form-card,
  .roi-results-card {
    padding: 24px !important;
  }
  
  .roi-form-label {
    font-size: 13px;
  }
  
  .roi-form-input {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .roi-results-content {
    min-height: 150px;
  }
  
  .roi-placeholder-text {
    font-size: var(--font-size-sm);
  }
}

/* ============================================
   CTA Section - Proprietari
   ============================================ */

/* CTA finale proprietari - miglioramenti */
section[aria-labelledby="cta-title"].bg-dark {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: var(--spacing-4xl) !important;
  padding-bottom: var(--spacing-4xl) !important;
}

section[aria-labelledby="cta-title"] .container {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

section[aria-labelledby="cta-title"] #cta-title {
  margin-bottom: var(--spacing-2xl) !important;
}

section[aria-labelledby="cta-title"] p {
  margin-bottom: var(--spacing-2xl) !important;
  font-size: var(--font-size-lg) !important;
  line-height: 1.6;
}

section[aria-labelledby="cta-title"] .btn {
  margin-top: var(--spacing-md);
}

/* Mobile - leggibilità testo bianco */
@media (max-width: 768px) {
  section[aria-labelledby="cta-title"].bg-dark {
    padding-top: var(--spacing-3xl) !important;
    padding-bottom: var(--spacing-3xl) !important;
  }
  
  section[aria-labelledby="cta-title"] #cta-title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    margin-bottom: var(--spacing-xl) !important;
  }
  
  section[aria-labelledby="cta-title"] p {
    font-size: var(--font-size-base) !important;
    margin-bottom: var(--spacing-xl) !important;
    line-height: 1.7;
  }
  
  section[aria-labelledby="cta-title"] .btn {
    font-size: var(--font-size-base) !important;
    padding: var(--spacing-md) var(--spacing-xl) !important;
  }
}

