/* =========================================
   Beinves — Premium Investment Platform CSS
   ========================================= */

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

/* ---- CSS Variables ---- */
:root {
  --bg: #080818;
  --bg2: #0d1230;
  --bg3: #111840;
  --gold: #c9a227;
  --gold-light: #e8d77f;
  --gold-dark: #9a7a1a;
  --text: #e0e0f0;
  --text-muted: #9090b0;
  --text-dim: #6060a0;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(201,162,39,0.2);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --glass-bg: rgba(13,18,48,0.7);
  --glass-border: rgba(201,162,39,0.3);
  --glass-blur: blur(16px);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text); margin-bottom: 1rem; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.text-muted { color: var(--text-muted); }

.section-tag {
  display: inline-block;
  background: rgba(201,162,39,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

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

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem auto 2rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(201,162,39,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,162,39,0.5);
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,162,39,0.1);
  transform: translateY(-2px);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* ---- Glass Card ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(201,162,39,0.6);
  box-shadow: var(--shadow-gold), var(--shadow);
  transform: translateY(-4px);
}

/* ========================================
   HEADER & NAV
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,24,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(8,8,24,0.97);
  border-bottom-color: rgba(201,162,39,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.nav-logo-text span {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,162,39,0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(8,8,24,0.98);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(201,162,39,0.1);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(201,162,39,0.08); }
.mobile-menu .btn { margin-top: 0.5rem; text-align: center; justify-content: center; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding-top: 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,162,39,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(13,18,48,0.9) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gold);
  margin-left: -8px;
  font-weight: 600;
}
.hero-trust-avatars .hero-trust-avatar:first-child { margin-left: 0; }
.hero-trust-text { font-size: 0.85rem; color: var(--text-muted); }
.hero-trust-text strong { color: var(--gold); }

.hero-visual {
  position: relative;
}

.hero-dashboard {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,39,0.1);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,162,39,0.15);
}

.dashboard-title { font-size: 0.9rem; color: var(--text-muted); }
.dashboard-title strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); margin-top: 0.25rem; }

.dashboard-badge {
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dash-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
}
.dash-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 700;
}
.dash-stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.dashboard-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 1rem;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,0.3));
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
}
.chart-bar:hover { filter: brightness(1.3); }

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-return {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.dashboard-return strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #10b981;
}

.hero-floating-cards {
  position: absolute;
  right: -30px;
  bottom: -30px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.floating-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  box-shadow: var(--shadow-gold);
  animation: floatCard 3s ease-in-out infinite;
}
.floating-card:nth-child(2) { animation-delay: 1.5s; }
.floating-card-icon { font-size: 1.2rem; }
.floating-card-label { color: var(--text-muted); }
.floating-card-value { color: var(--gold-light); font-weight: 700; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid rgba(201,162,39,0.15);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Services Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border: 2px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { color: var(--text-muted); font-size: 0.8rem; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, rgba(201,162,39,0.08) 0%, rgba(13,18,48,0.8) 50%, rgba(201,162,39,0.05) 100%);
  border-top: 1px solid rgba(201,162,39,0.2);
  border-bottom: 1px solid rgba(201,162,39,0.2);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ========================================
   PERCHÉ NOI
   ======================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.value-card {
  padding: 2rem;
  text-align: center;
}
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }

.team-section { text-align: center; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  padding: 1.5rem;
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border: 2px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.team-card h4 { margin-bottom: 0.25rem; }
.team-card .role { color: var(--gold); font-size: 0.85rem; }
.team-card p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }

.advisor-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.advisor-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-gold), var(--shadow); }
.advisor-image img { width: 100%; height: 400px; object-fit: cover; }

.certifications {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.cert-badge {
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

/* ========================================
   PRODOTTI / PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: rgba(201,162,39,0.06);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.pricing-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }

.pricing-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201,162,39,0.15);
}
.pricing-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}
.pricing-period { color: var(--text-muted); font-size: 0.85rem; }

.pricing-features { margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
}
.pricing-feature .check { color: #10b981; font-size: 0.9rem; }
.pricing-feature .cross { color: var(--text-dim); font-size: 0.9rem; }
.pricing-feature.disabled { color: var(--text-dim); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(201,162,39,0.1);
  font-size: 0.9rem;
}
.comparison-table th {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  background: rgba(201,162,39,0.05);
}
.comparison-table tr:hover td {
  background: rgba(201,162,39,0.03);
}
.comparison-table .check-cell { color: #10b981; text-align: center; }
.comparison-table .cross-cell { color: var(--text-dim); text-align: center; }

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* ========================================
   COME FUNZIONA
   ======================================== */
.steps-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,0.1));
}

.step-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bg);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(201,162,39,0.2), 0 0 0 8px rgba(201,162,39,0.08);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: 0.75rem;
}

.step-tag {
  display: inline-block;
  background: rgba(201,162,39,0.1);
  color: var(--gold);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; }

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guarantee-card {
  padding: 2rem;
  text-align: center;
}
.guarantee-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.guarantee-card h3 { margin-bottom: 0.75rem; }
.guarantee-card p { color: var(--text-muted); font-size: 0.9rem; }

.security-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.security-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-gold), var(--shadow); }
.security-image img { width: 100%; height: 380px; object-fit: cover; }

.security-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.security-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid rgba(201,162,39,0.1);
  border-radius: var(--radius-sm);
}
.security-feature-icon { font-size: 1.4rem; flex-shrink: 0; }
.security-feature h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.security-feature p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ========================================
   CONTATTI
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,162,39,0.05);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
}

.form-group select option { background: var(--bg2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.form-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold); }
.form-checkbox label { font-size: 0.82rem; color: var(--text-muted); }

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #ef4444; }
.form-group.error .form-error { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-info-text h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.contact-info-text p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.contact-info-text a { color: var(--gold); }

.map-placeholder {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.map-placeholder .map-icon { font-size: 2.5rem; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg2);
  border-top: 1px solid rgba(201,162,39,0.15);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: rgba(201,162,39,0.25);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(201,162,39,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.8rem; }
.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  padding: 120px 0 60px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,162,39,0.06) 0%, transparent 60%);
  text-align: center;
  border-bottom: 1px solid rgba(201,162,39,0.1);
}
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 1rem auto 0; }

/* ========================================
   BACK TO TOP & COOKIE
   ======================================== */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bg);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(201,162,39,0.5); }

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(8,8,24,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201,162,39,0.25);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 2000;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { color: var(--text-muted); font-size: 0.82rem; flex: 1; }
.cookie-banner p a { color: var(--gold); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ========================================
   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; }

/* ---- Glow line ---- */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 3rem 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .advisor-section { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .security-section { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .guarantees-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .steps-timeline::before { display: none; }
  .step-item { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
}
