  
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ══ FONT ══ */
:root {
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

/* ══ LIGHT MODE (default) — grigio freddo professionale ══ */
:root,
html.light {
  /* Superfici */
  --bg-base:    #F4F5F6;
  --bg-card:    #ECEEF0;
  --bg-surface: #E4E6E9;
  --bg-border:  #D6D8DC;
  --bg-muted:   #C4C6CA;

  /* Testo */
  --text-primary:   #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-tertiary:  #6B6B6B;

  /* Proprietari — verde muschio */
  --owner-accent:   #4A5240;
  --owner-mid:      #637558;
  --owner-light:    #8A9E7A;
  --owner-bg:       #F0F2EE;
  --owner-border:   #C4CEBE;

  /* Affittuari — grafite */
  --tenant-accent:  #2C2C2E;
  --tenant-mid:     #4A4A4C;
  --tenant-light:   #7A7A7C;
  --tenant-bg:      #ECEEF0;
  --tenant-border:  #C8C9CC;

  /* UI */
  --nav-bg:      rgba(244,245,246,0.95);
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14);

  /* Toggle */
  --toggle-bg:   #C4C6CA;
  --toggle-knob: #F4F5F6;
}

/* ══ DARK MODE ══ */
html.dark {
  /* Superfici */
  --bg-base:    #141416;
  --bg-card:    #1A1A1E;
  --bg-surface: #222226;
  --bg-border:  #2A2A2E;
  --bg-muted:   #3A3A3E;

  /* Testo */
  --text-primary:   #F0F0F0;
  --text-secondary: #C0C0C0;
  --text-tertiary:  #909090;

  /* Proprietari — verde muschio desaturato */
  --owner-accent:   #A8B89E;
  --owner-mid:      #8A9E7A;
  --owner-light:    #637558;
  --owner-bg:       #1A1E18;
  --owner-border:   #3A4438;

  /* Affittuari — grigio chiaro */
  --tenant-accent:  #D0D0D0;
  --tenant-mid:     #A0A0A0;
  --tenant-light:   #909090;
  --tenant-bg:      #1E1E22;
  --tenant-border:  #3A3A3E;

  /* UI */
  --nav-bg:      rgba(20,20,22,0.95);
  --white:       #1A1A1E;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.30);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.40);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.50);

  /* Toggle */
  --toggle-bg:   #3A3A3E;
  --toggle-knob: #F0F0F0;
}

/* ══ ALIAS — mantengono compatibilità con classi esistenti ══ */
:root, html.light, html.dark {
  --dark:  var(--text-primary);
  --mid:   var(--text-tertiary);
  --light: var(--bg-base);

  --amber:     var(--owner-mid);
  --amber-bg:  var(--owner-bg);
  --amber-mid: var(--owner-border);

  --blue:     var(--tenant-accent);
  --blue-bg:  var(--tenant-bg);
  --blue-mid: var(--tenant-border);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--bg-base);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-border);
  transition: background 0.3s, border-color 0.3s;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-decoration: none;
}
.nav-privacy {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-privacy:hover { opacity: 1; }

/* ── THEME TOGGLE ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.theme-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.theme-track {
  position: absolute;
  inset: 0;
  background: var(--toggle-bg);
  border-radius: 999px;
  transition: background 0.3s;
}
.theme-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--toggle-knob);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), background 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
html.dark .theme-track { background: var(--tenant-mid); }
html.dark .theme-track::after { transform: translateX(20px); }

.theme-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  pointer-events: none;
  transition: opacity 0.2s;
}
.theme-icon-sun  { left: 5px;  opacity: 1; }
.theme-icon-moon { right: 5px; opacity: 0.5; }
html.dark .theme-icon-sun  { opacity: 0.5; }
html.dark .theme-icon-moon { opacity: 1; }

/* ── SPLIT HERO ── */
#split-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

.split-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.7s cubic-bezier(0.4,0,0.2,1);
}

.split-side::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.split-proprietario {
  background: var(--amber-bg);
  border-right: 1px solid var(--amber-mid);
}
.split-proprietario::before { background: linear-gradient(135deg, var(--amber-bg), var(--amber-mid)); }

.split-affittuario {
  background: var(--blue-bg);
}
.split-affittuario::before { background: linear-gradient(135deg, var(--blue-bg), var(--blue-mid)); }

.split-side:hover::before { opacity: 1; }

.split-center {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 380px;
}

.split-image-wrap {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
}
.split-side:hover .split-image-wrap {
  transform: scale(1.05);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.split-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.split-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.split-proprietario .split-label { color: var(--amber); }
.split-affittuario .split-label { color: var(--blue); }

.split-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.split-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--mid);
  margin-bottom: 2rem;
}

.split-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.split-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.btn-proprietario {
  background: var(--amber);
  color: var(--white);
}
.btn-affittuario {
  background: var(--blue);
  color: var(--white);
}

/* Divider centrale */
.split-divider {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}
.split-divider-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg-border), transparent);
}
.split-divider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg-muted);
}

/* ── HEADER COMUNE (sopra la biforcazione) ── */
.split-header {
  position: absolute;
  top: 80px; left: 0; right: 0;
  text-align: center;
  padding: 2.5rem 2rem 0;
  pointer-events: none;
  z-index: 5;
}
.split-header-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}
.split-header-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  max-width: 600px;
  margin: 0 auto;
}

/* ── SEZIONI CONTENUTO ── */
.content-section {
  display: none;
  animation: fadeInUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
.content-section.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO SEZIONE ── */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 64px;
}

.hero-text {
  padding: 5rem 4rem 5rem 5vw;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.proprietario .hero-eyebrow { color: var(--amber); }
.affittuario  .hero-eyebrow { color: var(--blue); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-image {
  height: 90vh;
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── PAIN POINTS ── */
.pain-section {
  padding: 5rem 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.proprietario .pain-section { background: var(--amber-bg); }
.affittuario  .pain-section { background: var(--blue-bg); }

.pain-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.proprietario .pain-label { color: var(--amber); }
.affittuario  .pain-label { color: var(--blue); }

.pain-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.pain-item {
  padding: 1.8rem;
  border-radius: 6px;
  background: var(--white);
  border-left: 3px solid;
}
.proprietario .pain-item { border-color: var(--amber); }
.affittuario  .pain-item { border-color: var(--blue); }

.pain-item p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--dark);
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 6rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.cta-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}
.cta-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 420px;
}

.cta-box {
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
}
.proprietario .cta-box { background: var(--amber-bg); border: 1px solid var(--amber-mid); }
.affittuario  .cta-box { background: var(--blue-bg);  border: 1px solid var(--blue-mid); }

.cta-box h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.cta-box p {
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 1.2rem;
  width: 100%;
  justify-content: center;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.proprietario .cta-btn { background: var(--amber); color: var(--white); }
.affittuario  .cta-btn { background: var(--blue);  color: var(--white); }

.cta-meta {
  font-size: 0.78rem;
  color: var(--mid);
  opacity: 0.7;
  line-height: 1.8;
}
.cta-meta a { color: inherit; }

/* ── WAITLIST FORM ── */
.waitlist-section {
  padding: 6rem 5vw;
  border-top: 1px solid var(--bg-border);
}
.proprietario .waitlist-section { background: var(--bg-base); }
.affittuario  .waitlist-section { background: var(--bg-base); }

.waitlist-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.proprietario .waitlist-eyebrow { color: var(--amber); }
.affittuario  .waitlist-eyebrow { color: var(--blue); }

.waitlist-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.waitlist-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 2.5rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 4px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.97rem;
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.waitlist-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,74,107,0.1);
}
.proprietario .waitlist-form input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,97,26,0.1);
}

.waitlist-submit {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  margin-top: 0.4rem;
}
.waitlist-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.waitlist-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.proprietario .waitlist-submit { background: var(--amber); color: var(--white); }
.affittuario  .waitlist-submit { background: var(--blue);  color: var(--white); }

.waitlist-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.4em;
  font-weight: 500;
}
.waitlist-feedback.ok    { color: #2a7a4f; }
.waitlist-feedback.error { color: #b03030; }

.waitlist-note {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--mid);
  opacity: 0.65;
  line-height: 1.7;
}
.waitlist-note a { color: inherit; }

/* ── BACK BUTTON ── */
.back-bar {
  padding: 1.2rem 5vw;
  margin-top: 64px;
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0;
  transition: color 0.2s;
  text-decoration: none;
}
.back-btn:hover { color: var(--dark); }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 5vw;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
  text-decoration: none;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--mid);
  opacity: 0.6;
}
.footer-links {
  display: flex; gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--mid);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #split-screen { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .split-divider { display: none; }
  .split-header { display: none; }
  .split-side { padding: 3rem 2rem; min-height: 50vh; }

  .hero { grid-template-columns: 1fr; }
  .hero-image { height: 300px; }
  .hero-text { padding: 3rem 1.5rem; }

  /* Hero tenant: colonna singola, immagine nascosta */
  .hero-tenant {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero-tenant .hero-image { display: none; }
  .hero-tenant .hero-text {
    padding: 3rem 1.5rem;
  }

  .cta-section { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .pain-section { padding: 3rem 1.5rem; }

  nav { padding: 1rem 1.5rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
  

/* ══════════════════════════════════════════════════════════════
   NUOVI COMPONENTI — Trust bar, FAQ, Scroll reveal, Hover cards
   ══════════════════════════════════════════════════════════════ */

/* ── TRUST BAR ── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.85rem 5vw;
  background: var(--white);
  border-bottom: 1px solid var(--bg-border);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}
.trust-item-icon {
  font-size: 0.85rem;
  opacity: 0.7;
}
.trust-bar-divider {
  width: 1px;
  height: 14px;
  background: var(--bg-border);
}

/* ── FAQ SECTION ── */
.faq-section {
  padding: 5rem 5vw;
  background: var(--bg-base);
  border-top: 1px solid var(--bg-border);
}
.faq-inner {
  max-width: 680px;
  margin: 0 auto;
}
.faq-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tenant-accent);
  margin-bottom: 1rem;
}
.faq-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--bg-border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--bg-border);
  background: var(--white);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  gap: 1rem;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-card); }
.faq-question-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.2s;
  line-height: 1;
}
.faq-item.open .faq-question-icon {
  transform: rotate(45deg);
  border-color: var(--tenant-accent);
  color: var(--tenant-accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.25s;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--mid);
  padding: 0 1.6rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.3rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
              transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── HOW STEP — hover lift ── */
.how-step {
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.22s cubic-bezier(0.4,0,0.2,1);
}
.how-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ── PAIN CARD — hover lift ── */
.pain-card {
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.22s cubic-bezier(0.4,0,0.2,1);
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ── HERO FORM — loading state ── */
.hero-cta-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}
.hero-cta-submit.success {
  background: #2a7a4f !important;
  color: white !important;
}

/* ── NAV HIDE ON SCROLL ── */
nav {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
              background 0.3s, border-color 0.3s;
}
nav.nav-hidden {
  transform: translateY(-100%);
}

/* ── MOBILE FOOTER NAV PROPRIETARIO ── */
.footer-owner-link {
  display: none;
  font-size: 0.8rem;
  color: var(--owner-accent);
  text-decoration: none;
  border: 1px solid var(--owner-border);
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  font-weight: 500;
  transition: opacity 0.2s;
  opacity: 0.85;
}
.footer-owner-link:hover { opacity: 1; }

@media (max-width: 768px) {
  .trust-bar { gap: 1rem; }
  .trust-bar-divider { display: none; }
  .faq-section { padding: 3.5rem 1.5rem; }
  .footer-owner-link { display: inline-flex; align-items: center; gap: 0.4rem; }

  /* Hero form: campo e bottone in colonna su mobile */
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  #hero-email {
    min-width: unset;
    width: 100%;
    flex: none;
  }
  .hero-cta-submit {
    width: 100% !important;
    padding: 0 1.2rem !important;
  }
  .hero-tenant .hero-text {
    padding: 3rem 1.5rem;
  }
}
