/* ═══════════════════════════════════════════════════════════════════
   PROFILO
═══════════════════════════════════════════════════════════════════ */
/* REGOLA 0 — Profilo hero: sfondo piatto */
.profile-hero {
  background: var(--bg-section);
  padding: calc(var(--nav-height) + 40px) 80px 40px;
  display: flex; align-items: center; gap: 28px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.profile-hero::after { display: none; }
.profile-avatar-large {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: #fff;
  flex-shrink: 0; box-shadow: 0 4px 16px rgba(160,26,54,.4);
}
.profile-hero h2 { color: #fff; font-size: 24px; }
.profile-hero > div:not(:first-child) > p {
  color: rgba(255,255,255,.55); font-size: 14px; margin-top: 4px;
}
.profile-plan-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--gold-light);
  border: 1px solid rgba(212,160,23,.3);
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--gold);
}

.profile-tabs {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  display: flex; gap: 0;
  position: sticky; top: var(--nav-height); z-index: 100;
  overflow-x: auto; scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar { display: none; }
.profile-tab {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted); padding: 14px 20px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast);
  background: none; border-top: none; border-left: none; border-right: none;
  white-space: nowrap;
}
.profile-tab:hover { color: var(--text-primary); }
.profile-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.profile-section { padding: 40px 80px 80px; max-width: var(--container); margin: 0 auto; }
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 28px 32px;
  margin-bottom: 24px; box-shadow: var(--shadow-xs);
}
.profile-card-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px; gap: 16px;
}
.profile-card-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
}
.profile-grid-3 {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.profile-field-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.profile-field-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
}

/* Attestati */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 20px;
}
.cert-card {
  background: var(--bg-card-2);
  border-radius: var(--r-md); padding: 28px 24px;
  border: 1px solid var(--gold-border);
  position: relative; overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2), 0 0 0 1px rgba(212,160,23,.35);
}
.cert-card::before {
  content: ''; position: absolute; inset: 7px;
  border: 1px solid rgba(212,160,23,.12);
  border-radius: calc(var(--r-xl) - 4px);
  pointer-events: none;
}
.cert-card::after {
  content: 'GLV'; position: absolute; top: 20px; right: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 800; letter-spacing: 2px;
  color: rgba(212,160,23,.35);
  border: 1px solid rgba(212,160,23,.18);
  padding: 3px 8px; border-radius: var(--r-xs);
}
.cert-lang {
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); opacity: .75; margin-bottom: 10px;
}
.cert-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  color: #fff; line-height: 1.35; margin-bottom: 16px;
}
.cert-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,.4), transparent);
  margin-bottom: 14px;
}
.cert-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: rgba(255,255,255,.4);
}
.cert-meta strong { color: rgba(212,160,23,.75); font-weight: 600; }

