/* ───────────────────────────────────────────
   NODE — Design System Condiviso
   ─────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Faculty+Glyphic&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

:root {
  --teal: #02777d;
  --teal-dark: #015d62;
  --teal-tint: rgba(2,119,125,0.06);
  --teal-tint2: rgba(2,119,125,0.12);
  --text: #0d0d0d;
  --muted: #636363;
  --muted2: #adadad;
  --bg: #ffffff;
  --bg2: #fcfcfc;
  --bg3: #f7fbfb;
  --border: rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --font-head: 'Faculty Glyphic', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(38px, 4.5vw, 60px); }
h2 { font-size: clamp(28px, 3.5vw, 50px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
p { font-size: 16px; line-height: 1.75; color: var(--muted); }

/* ── EYEBROW LABEL ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 20px;
}
.label-teal { color: var(--teal); background: var(--teal-tint); border-color: var(--teal-tint2); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary {
  padding: 4px 4px 4px 18px;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius-pill);
}
.btn-primary .btn-icon {
  width: 34px; height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-outline {
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 15px;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-white {
  padding: 4px 4px 4px 18px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-pill);
}
.btn-white .btn-icon {
  width: 34px; height: 34px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ── TEXT LINK ── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 500;
  transition: gap 0.2s;
}
.text-link:hover { gap: 10px; }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 28px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

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

/* ── HERO ── */
.page-hero {
  padding: 160px 60px 100px;
  max-width: 1240px;
  margin: 0 auto;
}
.page-hero.centered { text-align: center; align-items: center; }
.page-hero h1 { margin-bottom: 20px; max-width: 700px; }
.page-hero p { font-size: 18px; max-width: 520px; margin-bottom: 36px; line-height: 1.75; }

/* ── SECTIONS ── */
.section {
  padding: 100px 60px;
  max-width: 1240px;
  margin: 0 auto;
}
.section-full {
  padding: 100px 60px;
}
.section-full > .section-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.section-bg { background: var(--bg2); }
.section-teal { background: var(--teal); }

.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 18px; max-width: 540px; }
.section-header.centered p { margin: 0 auto; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

/* ── SPLIT SECTION ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reversed .split-media { order: -1; }

/* ── CARDS ── */
.card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card-white {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card-white:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

/* ── SERVICE CARDS (4 modes) ── */
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.service-card-num {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.service-card-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}
.service-card-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── PROPERTY CARDS ── */
.property-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.property-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.property-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.property-card:hover .property-img img { transform: scale(1.05); }

.property-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.property-badge.vendita { color: var(--teal); }
.property-badge.affitto { color: #f59e0b; }

.property-body { padding: 20px; }
.property-price {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.property-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.property-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}

/* ── FEATURE ICONS ROW ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  width: 42px; height: 42px;
  background: var(--teal-tint);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.checklist li::before {
  content: '✓';
  width: 26px; height: 26px;
  background: var(--teal-tint);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── STEPS ACCORDION ── */
.steps { border-top: 1px solid var(--border); }
.step {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: start;
  gap: 24px;
  cursor: pointer;
}
.step-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.05em;
}
.step-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0;
  transition: color 0.2s;
}
.step:hover .step-title { color: var(--teal); }
.step-desc {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.7;
  display: none;
}
.step.open .step-desc { display: block; }
.step-icon { font-size: 22px; color: var(--teal); opacity: 0.6; }

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--muted2); }

/* ── BLOG CARDS ── */
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.blog-cat {
  font-size: 12px;
  font-weight: 500;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius);
  color: var(--text);
}
.blog-date { font-size: 12px; color: var(--muted2); }
.blog-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-icon {
  width: 28px; height: 28px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 14px;
}

/* ── STATS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.stat-item {
  background: #fff;
  padding: 40px 36px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 52px;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { font-size: 15px; color: var(--muted); }

/* ── TEAM CARD ── */
.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--teal);
}
.team-body { padding: 20px; }
.team-name {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}
.team-role { font-size: 13px; color: var(--teal); font-weight: 500; }

/* ── CTA SECTION ── */
.cta-box {
  background: var(--bg2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cta-box-content { padding: 72px 60px; }
.cta-box-media { overflow: hidden; }
.cta-box-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { margin-bottom: 36px; }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--teal);
  padding: 18px 0;
}
.marquee-inner {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
}
.marquee-dot { color: rgba(255,255,255,0.5); font-size: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 14px; font-weight: 500; color: var(--text); }
.form-input {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--teal); }
.form-input::placeholder { color: var(--muted2); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--teal-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ── */
footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 72px 60px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
}
.footer-logo { height: 26px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--muted); margin-bottom: 24px; max-width: 260px; }
.footer-newsletter { display: flex; gap: 8px; }
.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input:focus { border-color: var(--teal); }
.footer-newsletter button {
  padding: 10px 18px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--teal-dark); }

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-item {
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: var(--muted2);
}
.footer-bottom-item strong { color: var(--muted); font-weight: 500; }

/* ── SOCIAL HERO PROOF ── */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.avatars {
  display: flex;
}
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin-right: -10px;
  overflow: hidden;
}
.social-proof-text { font-size: 14px; color: var(--muted); padding-left: 16px; }
.social-proof-text strong { color: var(--text); }

/* ── HERO RATING ── */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}
.stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.hero-rating-text { font-size: 14px; color: var(--muted); }
.hero-rating-text strong { color: var(--text); }

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-top: 60px;
  cursor: pointer;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--teal), transparent);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  nav { padding: 0 32px; }
  .nav-links { gap: 24px; }
  .section, .page-hero { padding-left: 32px; padding-right: 32px; }
  .section-full { padding-left: 32px; padding-right: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reversed .split-media { order: 0; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-box-media { min-height: 300px; }
  .stats-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .page-hero { padding: 100px 20px 72px; }
  .section, .section-full { padding: 64px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  footer { padding: 48px 20px 24px; }
}

/* ── FADE IN ANIMATION ── */
.fi { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fi.v { opacity: 1; transform: none; }
.fi-d1 { transition-delay: 0.1s; }
.fi-d2 { transition-delay: 0.2s; }
.fi-d3 { transition-delay: 0.3s; }
.fi-d4 { transition-delay: 0.4s; }

/* ── MAIN HERO (home split) ── */
.hero-main {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-top: 68px;
  overflow: hidden;
}
.hero-main-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 60px;
  max-width: 620px;
}
.hero-main-text h1 { margin-bottom: 22px; }
.hero-main-text > p { font-size: 18px; max-width: 480px; margin-bottom: 36px; }
.hero-main-media {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.hero-main-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-page {
  padding: 160px 60px 100px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.hero-page h1 { margin-bottom: 20px; }
.hero-page p { font-size: 18px; max-width: 560px; margin: 0 auto 36px; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  z-index: 199;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 16px;
  font-size: 16px;
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--teal-tint); color: var(--teal); }
.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--teal);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-pill);
  padding: 13px 16px;
  font-weight: 500;
}
.mobile-menu .mobile-cta:hover { background: var(--teal-dark); }

/* ── PAGE INNER HERO ── */
.inner-hero {
  background: var(--bg3);
  padding: 140px 60px 80px;
  border-bottom: 1px solid var(--border);
}
.inner-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.inner-hero h1 { margin-bottom: 18px; max-width: 640px; }
.inner-hero p { font-size: 20px; max-width: 520px; }

/* ── PARTNER PAGE ── */
.partner-perks { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.perk-card {
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s;
}
.perk-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.perk-num {
  font-family: var(--font-head);
  font-size: 42px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.25;
}
.perk-title { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.perk-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── SERVIZI PAGE ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reversed .service-detail-media { order: -1; }
.service-detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-num-big {
  font-family: var(--font-head);
  font-size: 80px;
  color: var(--teal);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: -16px;
}

/* ── IMMOBILI PAGE ── */
.properties-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.prop-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-tint); }

/* ── CONTATTI PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--teal-tint);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); margin-bottom: 4px; }
.contact-info-value { font-size: 16px; color: var(--text); font-weight: 500; }

@media (max-width: 1100px) {
  .hero-main { grid-template-columns: 1fr; min-height: auto; }
  .hero-main-text { padding: 60px 32px; max-width: 100%; }
  .hero-main-media { min-height: 50vh; }
  .partner-perks { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail.reversed .service-detail-media { order: 0; }
  .properties-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .inner-hero { padding: 120px 32px 60px; }
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .hero-main-text { padding: 48px 20px 40px; }
  .hero-main-media { min-height: 40vh; }
  .partner-perks { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .inner-hero { padding: 100px 20px 48px; }
}

/* ── INFOGRAPHIC: NODE VS TRADITIONAL ── */
.infographic-grid {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  align-items: start;
}
.infographic-panel {
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
}
.panel-traditional { background: #fff; }
.panel-node {
  background: #fff;
  border-color: rgba(2,119,125,0.25);
  box-shadow: 0 8px 40px rgba(2,119,125,0.08);
}
.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 28px;
}
.panel-tag-bad  { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }
.panel-tag-good { background: rgba(2,119,125,0.08); color: var(--teal); border: 1px solid rgba(2,119,125,0.2); }
.diagram-wrap { margin-bottom: 28px; }

.comparison-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.comparison-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.55;
}
.comparison-bad li { color: var(--muted); }
.comparison-bad li::before {
  content: '✕'; flex-shrink: 0;
  width: 20px; height: 20px;
  background: #fef2f2; color: #ef4444;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; margin-top: 1px;
}
.comparison-good li { color: var(--text); }
.comparison-good li::before {
  content: '✓'; flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(2,119,125,0.1); color: var(--teal);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; margin-top: 1px;
}

.infographic-vs {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding-top: 180px; gap: 12px;
}
.vs-line { flex: 1; width: 1px; background: var(--border); max-height: 80px; }
.vs-badge {
  width: 36px; height: 36px; background: var(--text); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; flex-shrink: 0;
}

.infographic-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.istat { padding: 24px 20px; text-align: center; }
.istat-divider { width: 1px; background: var(--border); align-self: stretch; }
.istat-row {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; margin-bottom: 6px;
}
.istat-bad  { font-size: 13px; color: #ef4444; font-weight: 500; text-decoration: line-through; opacity: 0.7; }
.istat-arrow { color: var(--muted2); font-size: 14px; }
.istat-good { font-size: 13px; color: var(--teal); font-weight: 600; }
.istat-label { font-size: 12px; color: var(--muted2); }

@media (max-width: 1100px) {
  .infographic-grid { grid-template-columns: 1fr; gap: 24px; }
  .infographic-vs { flex-direction: row; padding-top: 0; gap: 16px; }
  .vs-line { flex: 1; width: auto; height: 1px; max-height: none; }
  .infographic-stats { grid-template-columns: 1fr 1px 1fr; }
}
@media (max-width: 768px) {
  .infographic-panel { padding: 24px 20px; }
  .infographic-stats { grid-template-columns: 1fr; }
  .infographic-stats .istat-divider { display: none; }
}
