/* 
   SF Property Manager - Landing Page Stylesheet (Seconde Case)
   Design System: Elegante, Accogliente, Rassicurante e ad Alta Conversione
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary: #0f1e36;         /* Blu Scuro (testi importanti, intestazioni) */
  --primary-light: #1b2e4c;   /* Blu Scuro sfumato */
  --primary-rgb: 15, 30, 54;
  
  --accent: #ce5a2e;          /* Arancione Mattone per CTA di conversione */
  --accent-hover: #b54820;
  --accent-light: #fbf2ed;
  --accent-rgb: 206, 90, 46;
  
  --success: #2c6e49;         /* Verde Foresta per elementi positivi e icone */
  --success-light: #eef5f0;
  --success-rgb: 44, 110, 73;
  
  --danger: #b33939;          /* Per elementi negativi/dolore */
  --danger-light: #fbebeb;
  
  --bg-main: #FAF8F5;         /* Sfondo principale (Alabastro/Warm White) */
  --bg-beige: #F5F2EB;        /* Sfondo sezione Beige/Tortora Chiaro */
  --bg-beige-dark: #e9e3d5;   /* Colore di bordo e ombreggiature calde */
  --bg-card: #ffffff;
  --border-color: #e9e3d5;
  
  /* Text Colors */
  --text-dark: #0f1e36;       /* Blu scuro per titoli */
  --text-main: #2b364a;       /* Blu-grigio scuro per testo leggibile */
  --text-muted: #606e86;      /* Grigio-blu per testi secondari */
  --text-white: #ffffff;
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacings & Layout */
  --container-max-width: 1200px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --shadow-sm: 0 4px 12px rgba(15, 30, 54, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 30, 54, 0.05);
  --shadow-lg: 0 20px 40px rgba(15, 30, 54, 0.08);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-beige {
  background-color: var(--bg-beige);
}

.section-white {
  background-color: var(--bg-card);
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 28px;
  }
  .section-header p {
    font-size: 16px;
  }
}

/* --- Custom Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 6px 18px rgba(206, 90, 46, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206, 90, 46, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 30, 54, 0.15);
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-smooth);
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 227, 213, 0.4);
}

.header.scrolled {
  padding: 12px 0;
  background-color: rgba(15, 30, 54, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.header.scrolled .logo-text {
  color: var(--text-white);
}

.header.scrolled .header-phone {
  background-color: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.header.scrolled .header-phone:hover {
  background-color: var(--accent-hover);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 18px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 10px rgba(206, 90, 46, 0.2);
  letter-spacing: -0.5px;
  transition: var(--transition-smooth);
}

.logo:hover .logo-monogram {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
  transition: var(--transition-smooth);
}

.logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 1px;
}

.header-phone {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-white);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header-phone:hover {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.header-phone svg {
  stroke: currentColor;
}

@media (max-width: 576px) {
  .header {
    padding: 12px 0;
  }
  .header .container {
    flex-direction: row;
    gap: 0;
  }
  .header-phone {
    font-size: 0; /* Nasconde testo per mobile */
    padding: 10px;
    border-radius: 50%;
  }
  .header-phone svg {
    margin: 0;
    width: 18px;
    height: 18px;
  }
}

/* ==========================================
   [BLOCCO 1: HERO SECTION]
   ========================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(206, 90, 46, 0.05) 0%, rgba(250, 248, 245, 0) 60%),
              linear-gradient(180deg, #F5F2EB 0%, #FAF8F5 100%);
  padding-top: 150px;
  padding-bottom: 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--success);
  background-color: var(--success-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(44, 110, 73, 0.15);
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: var(--text-dark);
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta-group {
  margin-bottom: 30px;
}

.hero-cta-group .btn {
  width: 100%;
  max-width: 380px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg {
  color: var(--success);
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 4px solid var(--bg-white);
}

@media (max-width: 992px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-cta-group .btn {
    max-width: 100%;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-image {
    max-width: 550px;
    margin: 0 auto;
  }
}

/* ==========================================
   [BLOCCO 2: IL DOLORE DEL PROPRIETARIO]
   ========================================== */
.pain-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.pain-content h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.pain-text {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 24px;
}

.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-main);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--danger);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.pain-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.pain-card-icon {
  width: 40px;
  height: 40px;
  background-color: var(--danger-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  flex-shrink: 0;
}

.pain-card-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pain-card-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================
   [BLOCCO 3: LA SOLUZIONE / FORMULA 1/3]
   ========================================== */
.solution-section {
  background-color: var(--bg-beige);
  border-bottom: 1px solid var(--border-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.step-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(44, 110, 73, 0.3);
}

.step-num {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 800;
  color: var(--success);
  background-color: var(--success-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================
   [BLOCCO 4: TRASPARENZA E CONFRONTO]
   ========================================== */
.comparison-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.comparison-wrapper {
  margin-top: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}

.comp-table th {
  padding: 24px;
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
}

.comp-table th:first-child {
  background-color: var(--primary);
  width: 50%;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-table th:last-child {
  background-color: var(--success);
  width: 50%;
}

.comp-table td {
  padding: 24px;
  font-size: 15px;
  line-height: 1.6;
  vertical-align: top;
  border-bottom: 1px solid var(--border-color);
}

.comp-table td:first-child {
  background-color: #FAF8F5;
  border-right: 1px solid var(--border-color);
}

.comp-table td:last-child {
  background-color: #F3F8F5;
}

.comp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.comp-item-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.comp-item-text {
  font-size: 15px;
  font-weight: 500;
}

.comp-table td:first-child .comp-item-text {
  color: var(--text-main);
}

.comp-table td:last-child .comp-item-text {
  color: var(--success);
}

.comparison-note {
  margin-top: 30px;
  text-align: center;
  padding: 20px;
  background-color: var(--bg-beige);
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-color);
}

/* Card layout on mobile instead of table */
@media (max-width: 768px) {
  .table-responsive {
    border: none;
    box-shadow: none;
    overflow-x: visible;
  }
  .comp-table {
    display: block;
  }
  .comp-table thead {
    display: none; /* Hide header */
  }
  .comp-table tbody {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .comp-table tr {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
  }
  .comp-table td {
    display: block;
    width: 100% !important;
    padding: 24px;
    border: none !important;
  }
  
  .comp-table td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-headings);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
  }
  
  .comp-table td[data-label="Gestione Fai-da-Te"]::before {
    color: var(--text-dark);
    border-bottom-color: var(--border-color);
  }
  
  .comp-table td[data-label="Con SF Property Manager"]::before {
    color: var(--success);
    border-bottom-color: rgba(44, 110, 73, 0.2);
  }
}

/* ==========================================
   [BLOCCO 5: AUTORITÀ E TRASPARENZA (CHI SIAMO)]
   ========================================== */
.authority-section {
  background-color: var(--bg-beige);
  border-bottom: 1px solid var(--border-color);
}

.authority-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.authority-visual {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.authority-avatar-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.authority-img-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 24px;
  border: 4px solid var(--bg-beige);
  box-shadow: var(--shadow-md);
}

.authority-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.authority-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.authority-details {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.auth-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-detail-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.authority-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.authority-info p {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.7;
}

.authority-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-white);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.auth-badge svg {
  color: var(--success);
}

@media (max-width: 992px) {
  .authority-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .authority-visual {
    order: 2;
  }
}

/* ==========================================
   [BLOCCO 6: FORM DI CONTATTO / CONVERSIONE]
   ========================================== */
.contact-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.contact-intro h2 {
  font-size: 36px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.contact-intro p {
  font-size: 17px;
  color: var(--text-main);
  margin-bottom: 36px;
  line-height: 1.65;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-method-text p {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.contact-method-text p a {
  transition: var(--transition-smooth);
}

.contact-method-text p a:hover {
  color: var(--accent);
}

/* Contact Form Card */
.form-card {
  background-color: var(--bg-beige);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.form-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background-color: var(--bg-white);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(206, 90, 46, 0.15);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230f1e36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 40px;
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  margin-bottom: 24px;
}

.checkbox-group input {
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.checkbox-group label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-group label a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.form-microcopy {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  font-style: italic;
  font-weight: 500;
}

.form-card button {
  width: 100%;
}

.success-message {
  display: none;
  background-color: var(--success-light);
  border: 1px solid rgba(44, 110, 73, 0.2);
  color: var(--success);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  line-height: 1.5;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .form-card {
    padding: 24px 16px;
  }
}

/* ==========================================
   [BLOCCO 7: FOOTER]
   ========================================== */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.footer .logo-text {
  color: var(--text-white);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  transition: var(--transition-smooth);
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom p {
  max-width: 600px;
}

.footer-bottom a {
  color: var(--text-white);
  text-decoration: underline;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================
   FLOATING CONTACT WIDGET & OTHER ELEMENTS
   ========================================== */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.float-whatsapp {
  background-color: #25d366;
}

.float-whatsapp:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}

/* Spacers on hover to show label */
.float-btn span {
  position: absolute;
  right: 60px;
  background-color: var(--primary);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  font-family: var(--font-headings);
}

.float-btn:hover span {
  opacity: 1;
  visibility: visible;
  right: 55px;
}

@media (max-width: 576px) {
  .floating-contact {
    bottom: 16px;
    right: 16px;
  }
}

/* --- Reveal Animations --- */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}
