/* ===================================================
   CASE A TRAPANI - Landing Page Stylesheet
   Palette: Beige/Sabbia, Marrone Dorato, Bianco, Terracotta
   =================================================== */

/* ---- CSS Variables ---- */
:root {
  --gold:        #C8A96E;
  --gold-dark:   #A07840;
  --gold-light:  #E8D5A8;
  --brown:       #6B4226;
  --brown-dark:  #3D2010;
  --cream:       #FAF6EF;
  --sand:        #F0E8D5;
  --white:       #FFFFFF;
  --text-dark:   #2C1A0E;
  --text-mid:    #5C4030;
  --text-light:  #8B6B55;
  --border:      #E0D0B8;
  --shadow-sm:   0 2px 8px rgba(107,66,38,0.08);
  --shadow-md:   0 8px 32px rgba(107,66,38,0.12);
  --shadow-lg:   0 20px 60px rgba(107,66,38,0.18);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Lato', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-card {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
  font-size: 0.8rem;
  padding: 10px 20px;
}
.btn-card:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

.btn-icon { width: 16px; height: 16px; }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(250,246,239,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: filter var(--transition);
}

.navbar.scrolled .logo-img { filter: none; }

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

.navbar.scrolled .logo-text { color: var(--text-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.navbar.scrolled .nav-links a { color: var(--text-mid); }
.navbar.scrolled .nav-links a:hover { color: var(--gold-dark); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--gold-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--text-dark); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('cover_photo.jpeg');
  background-size: cover;
  background-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61,32,16,0.75) 0%,
    rgba(107,66,38,0.55) 50%,
    rgba(200,169,110,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,169,110,0.25);
  border: 1px solid rgba(200,169,110,0.5);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 40px;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 2s ease 1s both;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===================================================
   STORIA DEL BRAND
   =================================================== */
.storia {
  padding: 100px 0;
  background: var(--white);
}

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

.storia-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.storia-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.storia-image-wrapper:hover .storia-img { transform: scale(1.03); }

.storia-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-year {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.badge-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-top: 4px;
}

.storia-text {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1rem;
}

.storia-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text {
  display: flex;
  flex-direction: column;
}

.highlight-text strong {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.highlight-text span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===================================================
   SERVIZI
   =================================================== */
.servizi {
  padding: 100px 0;
  background: var(--cream);
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servizio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.servizio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.servizio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.servizio-card:hover::before { transform: scaleX(1); }

.servizio-card--featured {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  border-color: var(--gold);
  color: var(--white);
}

.servizio-card--featured .servizio-title { color: var(--white); }
.servizio-card--featured .servizio-desc { color: rgba(255,255,255,0.8); }
.servizio-card--featured .servizio-features li { color: rgba(255,255,255,0.75); }
.servizio-card--featured .servizio-features li::before { color: var(--gold-light); }
.servizio-card--featured::before { display: none; }

.servizio-featured-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.servizio-icon-wrapper {
  width: 56px; height: 56px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.servizio-card--featured .servizio-icon-wrapper {
  background: rgba(255,255,255,0.15);
}

.servizio-icon {
  width: 28px; height: 28px;
  color: var(--gold-dark);
}

.servizio-card--featured .servizio-icon { color: var(--gold-light); }

.servizio-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.servizio-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.servizio-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.servizio-features li {
  font-size: 0.82rem;
  color: var(--text-light);
  padding-left: 16px;
  position: relative;
}

.servizio-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ===================================================
   IMMOBILI IN EVIDENZA
   =================================================== */
.immobili {
  padding: 100px 0;
  background: var(--sand);
}

.immobili-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.immobile-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.immobile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.immobile-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200,169,110,0.3), var(--shadow-md);
}

.immobile-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.immobile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.immobile-card:hover .immobile-img { transform: scale(1.08); }

.immobile-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sand), var(--gold-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold-dark);
}

.immobile-img-placeholder svg {
  width: 48px; height: 48px;
  opacity: 0.5;
}

.immobile-img-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.immobile-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.immobile-badge--neutral { background: var(--text-mid); }

.immobile-price {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(61,32,16,0.9);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.immobile-body {
  padding: 24px;
}

.immobile-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.immobile-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.immobile-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.immobile-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  background: var(--sand);
  color: var(--text-mid);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ===================================================
   TESTIMONIANZE
   =================================================== */
.testimonianze {
  padding: 100px 0;
  background: var(--white);
}

.testimonianze-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.testimonianza-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
}

.testimonianza-card::before {
  content: '"';
  position: absolute;
  top: 20px; left: 28px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold-light);
  line-height: 1;
  opacity: 0.5;
}

.testimonianza-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonianza-card--featured {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  border-color: var(--gold);
  color: var(--white);
}

.testimonianza-card--featured::before { color: rgba(200,169,110,0.3); }
.testimonianza-card--featured .testimonianza-text { color: rgba(255,255,255,0.85); }
.testimonianza-card--featured .author-info strong { color: var(--white); }
.testimonianza-card--featured .author-info span { color: rgba(255,255,255,0.6); }

.testimonianza-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonianza-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonianza-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.social-proof-banner {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.social-proof-item strong { color: var(--text-dark); }

.fb-icon {
  width: 24px; height: 24px;
  color: #1877F2;
}

.social-proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ===================================================
   CONTATTI
   =================================================== */
.contatti {
  padding: 100px 0;
  background: var(--cream);
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contatti-desc {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contatti-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contatto-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contatto-icon {
  width: 44px; height: 44px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.contatto-icon svg {
  width: 20px; height: 20px;
  color: var(--gold-dark);
}

.contatto-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contatto-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.contatto-text span,
.contatto-text a {
  font-size: 0.95rem;
  color: var(--text-mid);
}

.contatto-text a:hover { color: var(--gold-dark); }

.contatti-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
  border: 2px solid;
}

.social-link svg { width: 20px; height: 20px; }

.social-link--fb {
  color: #1877F2;
  border-color: #1877F2;
  background: rgba(24,119,242,0.05);
}
.social-link--fb:hover {
  background: #1877F2;
  color: var(--white);
}

.social-link--web {
  color: var(--gold-dark);
  border-color: var(--gold);
  background: rgba(200,169,110,0.05);
}
.social-link--web:hover {
  background: var(--gold);
  color: var(--white);
}

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

.form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.2);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
}

.form-checkbox label {
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light);
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 64px; height: 64px;
  background: #22c55e;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--gold-light); }

/* ===================================================
   WHATSAPP BUTTON
   =================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}

.whatsapp-btn svg { width: 28px; height: 28px; }

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61,32,16,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--white) !important; }
  .nav-cta { background: var(--gold) !important; }

  .nav-toggle { display: flex; z-index: 1000; }

  .storia-grid,
  .contatti-grid { grid-template-columns: 1fr; gap: 40px; }

  .storia-img { height: 320px; }

  .servizi-grid { grid-template-columns: 1fr; }

  .immobili-grid { grid-template-columns: 1fr; }

  .testimonianze-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: 16px; padding: 16px 24px; }
  .stat-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .form-card { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .social-proof-banner { flex-direction: column; gap: 20px; }
  .social-proof-divider { width: 40px; height: 1px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-content { padding: 100px 16px 60px; }
}

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
