
:root {
  --blu: #24275b;
  --oro: #c0a878;
  --oro-light: #d4c4a0;
  --oro-dark: #a89060;
  --bianco: #ffffff;
  --grigio-chiaro: #f5f4f0;
  --grigio: #6b7280;
  --testo: #1a1a2e;
}

html, body, body.page, body.home { margin: 0 !important; padding: 0 !important; overflow-x: hidden; border: none !important; }
.wp-site-blocks, .entry-content, .post-content { margin: 0; padding: 0; max-width: none; }
.eman * { box-sizing: border-box; margin: 0; padding: 0; }
.eman { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--testo); line-height: 1.6; width: 100%; overflow-x: hidden; }
.eman img { max-width: 100%; height: auto; }

/* Max-width per il contenuto (non hero) */
.eman-section {
  max-width: 1600px;
  margin-inline: auto;
}
/* Sezioni con background full-width: wrapper esterno + padding */
.eman-section-alt-wrap,
.eman-section-dark-wrap {
  width: 100%;
}
.eman-section-alt-wrap { background: var(--grigio-chiaro); }
.eman-section-dark-wrap { background: var(--blu); color: var(--bianco); }
.eman-section-alt-wrap .eman-section,
.eman-section-dark-wrap .eman-section {
  max-width: 1600px;
  margin-inline: auto;
}

/* NAV */
.eman-nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(36, 39, 91, 0.95); backdrop-filter: blur(10px);
}
.eman-nav {
  max-width: 1600px; margin-inline: auto;
  padding: 16px 5vw;
  display: flex; align-items: center; justify-content: space-between;
}
.eman-nav img { height: 40px; width: auto; }
.eman-nav-links { display: flex; gap: 28px; list-style: none; }
.eman-nav-links a {
  color: var(--bianco); text-decoration: none;
  font-size: 14px; font-weight: 400; letter-spacing: 0.5px;
  transition: color 0.3s;
}
.eman-nav-links a:hover { color: var(--oro); }

/* HERO */
.eman-hero {
  background: linear-gradient(135deg, var(--blu) 0%, #1a1d4a 60%, #0f1235 100%);
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.eman-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(192,168,120,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.eman-hero-inner {
  max-width: 1600px; width: 100%;
  padding: 120px 5vw 80px;
  position: relative; z-index: 2;
}
.eman-hero-content { max-width: 750px; }
.eman-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 60px); font-weight: 500;
  color: var(--bianco); line-height: 1.15;
  margin-bottom: 24px;
}
.eman-hero h1 span { color: var(--oro); }
.eman-hero p {
  font-size: clamp(16px, 1.8vw, 20px); color: rgba(255,255,255,0.75);
  font-weight: 300; max-width: 580px; margin-bottom: 40px; line-height: 1.7;
}
.eman-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.eman-btn {
  display: inline-block; padding: 14px 32px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  text-decoration: none; border-radius: 50px; transition: all 0.3s;
  text-transform: uppercase;
}
.eman-btn-primary {
  background: var(--oro); color: var(--blu);
}
.eman-btn-primary:hover { background: var(--oro-light); }
.eman-btn-outline {
  background: transparent; color: var(--bianco);
  border: 1px solid rgba(255,255,255,0.3);
}
.eman-btn-outline:hover { border-color: var(--oro); color: var(--oro); }

/* SEZIONI */
.eman-section {
  padding: 100px 5vw;
}
.eman-label {
  font-size: 13px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--oro-dark);
  margin-bottom: 16px; display: block;
}
.eman-section-dark .eman-label { color: var(--oro); }
.eman-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 500;
  line-height: 1.2; margin-bottom: 24px;
}

/* CHI SIAMO */
.eman-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; margin-top: 40px;
}
.eman-about-text p {
  font-size: 17px; line-height: 1.8; color: var(--grigio);
  margin-bottom: 20px; font-weight: 300;
}
.eman-about-text strong { color: var(--testo); font-weight: 500; }
.eman-about-visual {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.eman-about-logo {
  width: 220px; height: auto;
  filter: drop-shadow(0 4px 20px rgba(36,39,91,0.1));
}
.eman-founders {
  display: flex; gap: 24px; justify-content: center;
}
.eman-founder {
  text-align: center; padding: 20px;
  background: var(--bianco);
  border-radius: 12px;
  border: 1px solid rgba(192,168,120,0.2);
}
.eman-founder-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px; font-weight: 500; color: var(--blu);
  margin-bottom: 4px;
}
.eman-founder-initial {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blu); color: var(--oro);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 600;
  margin: 0 auto 12px;
}

/* HIGHLIGHT - Finanza Agevolata */
.eman-highlight-wrap {
  background: linear-gradient(135deg, var(--blu) 0%, #1a1d4a 100%);
  position: relative; overflow: hidden;
  width: 100%;
}
.eman-highlight {
  padding: 80px 5vw;
  max-width: 1600px;
  margin-inline: auto;
}
.eman-highlight-wrap::after {
  content: ''; position: absolute; bottom: -100px; right: -50px;
  width: 400px; height: 400px;
  border: 1px solid rgba(192,168,120,0.1);
  border-radius: 50%;
}
.eman-highlight-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
  position: relative; z-index: 2;
}
.eman-highlight .eman-label { color: var(--oro); }
.eman-highlight .eman-title { color: var(--bianco); margin-bottom: 20px; }
.eman-highlight p {
  color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.8;
  font-weight: 300; margin-bottom: 16px;
}
.eman-highlight-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 40px 0;
}
.eman-highlight-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(192,168,120,0.15);
  border-radius: 12px; padding: 28px 20px;
  text-align: center;
}
.eman-highlight-feature-icon {
  font-size: 32px; margin-bottom: 12px;
}
.eman-highlight-feature h4 {
  color: var(--oro); font-size: 15px; font-weight: 500;
  margin-bottom: 8px;
}
.eman-highlight-feature p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}
.eman-highlight .eman-btn {
  margin-top: 32px;
  font-size: 15px; padding: 16px 40px;
}

/* SERVIZI */
.eman-services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 48px;
}
.eman-service {
  padding: 36px; border-radius: 12px;
  background: var(--bianco);
  border: 1px solid rgba(36,39,91,0.08);
  transition: all 0.3s;
  position: relative;
}
.eman-service:hover {
  border-color: rgba(192,168,120,0.3);
  box-shadow: 0 8px 30px rgba(36,39,91,0.08);
  transform: translateY(-2px);
}
.eman-service-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px; color: var(--oro-dark); font-weight: 600;
  margin-bottom: 12px;
}
.eman-service h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px; font-weight: 500; color: var(--blu);
  margin-bottom: 12px;
}
.eman-service p {
  font-size: 15px; color: var(--grigio); line-height: 1.7; font-weight: 300;
}

/* CONTATTI */
.eman-contatti-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-top: 48px;
}
.eman-contatti-info h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px; color: var(--bianco); margin-bottom: 24px;
}
.eman-contatti-item {
  display: flex; gap: 16px; margin-bottom: 24px;
  align-items: flex-start;
}
.eman-contatti-item-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(192,168,120,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--oro); font-size: 20px; flex-shrink: 0;
}
.eman-contatti-item-text p {
  color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.6;
}
.eman-contatti-item-text a {
  color: var(--oro); text-decoration: none;
}
.eman-contatti-item-text a:hover { text-decoration: underline; }
.eman-contatti-cta {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(192,168,120,0.15);
  border-radius: 16px; padding: 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.eman-contatti-cta h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px; color: var(--bianco); margin-bottom: 16px;
}
.eman-contatti-cta p {
  color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 28px;
  max-width: 360px;
}

/* FOOTER */
.eman-footer-wrap {
  background: #0f1235;
  border-top: 1px solid rgba(192,168,120,0.1);
  width: 100%;
}
.eman-footer {
  padding: 32px 5vw; text-align: center;
  max-width: 1600px; margin-inline: auto;
}
.eman-footer p {
  color: rgba(255,255,255,0.4); font-size: 13px;
}
.eman-footer a { color: var(--oro-dark); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 991px) {
  .eman-nav-links { display: none; }
  .eman-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .eman-about-visual { order: -1; }
  .eman-highlight-features { grid-template-columns: 1fr; }
  .eman-services-grid { grid-template-columns: 1fr; }
  .eman-contatti-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 478px) {
  .eman-section { padding: 60px 5vw; }
  .eman-highlight { padding: 60px 5vw; }
  .eman-hero { padding: 100px 5vw 60px; }
  .eman-founders { flex-direction: column; align-items: center; }
  .eman-hero-btns { flex-direction: column; }
  .eman-btn { text-align: center; }
}
